Commit 01b50872 authored by Eyad Hasan's avatar Eyad Hasan
Browse files

Updated readme, and did some minor bug fixes

parent 58507cd2
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
What's Open for iOS What's Open for iOS
=== ===
Simple iOS app to ingest the What's Open API, cache its contents in a local datastore and display it in a user friendly way. Plans to take advantage of iPhone specific technologies not available to the web. Simple iOS app to ingest the What's Open API, cache its contents in a local datastore and display it in a user friendly way. Plans to take advantage of iPhone specific technologies not available to the web.
...@@ -16,7 +16,7 @@ Simple iOS app to ingest the What's Open API, cache its contents in a local data ...@@ -16,7 +16,7 @@ Simple iOS app to ingest the What's Open API, cache its contents in a local data
On Contributing On Contributing
--- ---
WhatsOpeniOS welcomes all the help it can get. Even if you don't feel like you can be helpful the more technical aspects, we definitely need designers, technical writers, and testers. WhatsOpeniOS welcomes all the help it can get. Even if you don't feel like you can be helpful the more technical aspects, we definitely need designers, technical writers, and testers.
There are many things that can be done with this project (see the "To Do" section), but sometimes it's the small things that count, so don't be afraid of contributing just a small spelling mistake. There are many things that can be done with this project (see the "To Do" section), but sometimes it's the small things that count, so don't be afraid of contributing just a small spelling mistake.
...@@ -36,16 +36,17 @@ To get started, you'll need the following installed: ...@@ -36,16 +36,17 @@ To get started, you'll need the following installed:
* The latest **public** release of Swift. *Currently Swift 3.0* (bundled with Xcode) * The latest **public** release of Swift. *Currently Swift 3.0* (bundled with Xcode)
* This project also contains many dependancies. Due to the shifting nature of dependency management in Cocoa development, this project will (for the foreseeable future) use Cocoapods. It's not the best, but it's the pseudo standard for now * This project also contains many dependancies. Due to the shifting nature of dependency management in Cocoa development, this project will (for the foreseeable future) use Cocoapods. It's not the best, but it's the pseudo standard for now
* Other language or framework-specific items * Other language or framework-specific items
Open a terminal window and type in the following commands. (If you're on Windows, use [Cygwin](http://www.cygwin.com/). This will create a local, workable copy of the project. Open a terminal window and type in the following commands. (If you're on Windows, use [Cygwin](http://www.cygwin.com/). This will create a local, workable copy of the project.
``bash`` ``bash``
``git clone git@git.gmu.edu:pmurray8/WhatsOpeniOS.git`` ``git clone git@git.gmu.edu:pmurray8/WhatsOpeniOS.git``
* Open ``WhatsOpen.xcworkspace`` *NOT* ``WhatsOpen.xcodeproj`` or else the compiler will throw errors.
To-do To-do
--- ---
Note-- this should also be on the wiki Note-- this should also be on the wiki
About GMU SRCT About GMU SRCT
--- ---
**S**tudent - **R**un **C**omputing and **T**echnology (*SRCT*, pronounced "circuit") is a student organization at George Mason University which enhances student computing at Mason. SRCT establishes and maintains systems which provide specific services for Mason's community. **S**tudent - **R**un **C**omputing and **T**echnology (*SRCT*, pronounced "circuit") is a student organization at George Mason University which enhances student computing at Mason. SRCT establishes and maintains systems which provide specific services for Mason's community.
\ No newline at end of file
...@@ -157,7 +157,7 @@ ...@@ -157,7 +157,7 @@
TargetAttributes = { TargetAttributes = {
CD81F5181DC0334600009FBD = { CD81F5181DC0334600009FBD = {
CreatedOnToolsVersion = 8.0; CreatedOnToolsVersion = 8.0;
DevelopmentTeam = CC3KAA4FP8; DevelopmentTeam = HQSN7HX89U;
ProvisioningStyle = Automatic; ProvisioningStyle = Automatic;
}; };
}; };
...@@ -373,7 +373,8 @@ ...@@ -373,7 +373,8 @@
baseConfigurationReference = 489DBCC0C818AD2377EAAC64 /* Pods-WhatsOpen.debug.xcconfig */; baseConfigurationReference = 489DBCC0C818AD2377EAAC64 /* Pods-WhatsOpen.debug.xcconfig */;
buildSettings = { buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
DEVELOPMENT_TEAM = CC3KAA4FP8; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
DEVELOPMENT_TEAM = HQSN7HX89U;
FRAMEWORK_SEARCH_PATHS = ( FRAMEWORK_SEARCH_PATHS = (
"$(inherited)", "$(inherited)",
"$(PROJECT_DIR)", "$(PROJECT_DIR)",
...@@ -391,7 +392,8 @@ ...@@ -391,7 +392,8 @@
baseConfigurationReference = 58C880B5AD2FFF2665B14E21 /* Pods-WhatsOpen.release.xcconfig */; baseConfigurationReference = 58C880B5AD2FFF2665B14E21 /* Pods-WhatsOpen.release.xcconfig */;
buildSettings = { buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
DEVELOPMENT_TEAM = CC3KAA4FP8; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
DEVELOPMENT_TEAM = HQSN7HX89U;
FRAMEWORK_SEARCH_PATHS = ( FRAMEWORK_SEARCH_PATHS = (
"$(inherited)", "$(inherited)",
"$(PROJECT_DIR)", "$(PROJECT_DIR)",
......
...@@ -26,7 +26,7 @@ class Utilities: NSObject { ...@@ -26,7 +26,7 @@ class Utilities: NSObject {
static func getDayOfWeek()->Int? { static func getDayOfWeek()->Int? {
let todayDate = NSDate() let todayDate = NSDate()
let myCalendar = NSCalendar(calendarIdentifier: NSCalendar.Identifier.gregorian) let myCalendar = NSCalendar(calendarIdentifier: NSCalendar.Identifier.gregorian)
let myComponents = myCalendar?.components(.WeekdayCalendarUnit, fromDate: todayDate) let myComponents = myCalendar?.components(.weekday, from: todayDate as Date)
let weekDay = myComponents?.weekday let weekDay = myComponents?.weekday
return weekDay return weekDay
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment