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

Updated readme, and did some minor bug fixes

parent 58507cd2
......@@ -42,6 +42,7 @@ To get started, you'll need the following installed:
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``
``git clone git@git.gmu.edu:pmurray8/WhatsOpeniOS.git``
* Open ``WhatsOpen.xcworkspace`` *NOT* ``WhatsOpen.xcodeproj`` or else the compiler will throw errors.
To-do
---
......
......@@ -157,7 +157,7 @@
TargetAttributes = {
CD81F5181DC0334600009FBD = {
CreatedOnToolsVersion = 8.0;
DevelopmentTeam = CC3KAA4FP8;
DevelopmentTeam = HQSN7HX89U;
ProvisioningStyle = Automatic;
};
};
......@@ -373,7 +373,8 @@
baseConfigurationReference = 489DBCC0C818AD2377EAAC64 /* Pods-WhatsOpen.debug.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
DEVELOPMENT_TEAM = CC3KAA4FP8;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
DEVELOPMENT_TEAM = HQSN7HX89U;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)",
......@@ -391,7 +392,8 @@
baseConfigurationReference = 58C880B5AD2FFF2665B14E21 /* Pods-WhatsOpen.release.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
DEVELOPMENT_TEAM = CC3KAA4FP8;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
DEVELOPMENT_TEAM = HQSN7HX89U;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)",
......
......@@ -26,7 +26,7 @@ class Utilities: NSObject {
static func getDayOfWeek()->Int? {
let todayDate = NSDate()
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
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