diff --git a/WPI Calendar Event Creator/Base.lproj/Main.storyboard b/WPI Calendar Event Creator/Base.lproj/Main.storyboard index 296aff601eb316f275f70960d7fd6818479a38d8..04265ae8533e66fe6b66f5c54221e0ebd6c889d9 100644 --- a/WPI Calendar Event Creator/Base.lproj/Main.storyboard +++ b/WPI Calendar Event Creator/Base.lproj/Main.storyboard @@ -980,7 +980,7 @@ <color key="backgroundColor" red="0.0" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/> <color key="textColor" red="1" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/> <fontDescription key="fontDescription" type="system" pointSize="14"/> - <textInputTraits key="textInputTraits" enablesReturnKeyAutomatically="YES"/> + <textInputTraits key="textInputTraits" autocapitalizationType="words" enablesReturnKeyAutomatically="YES"/> <connections> <outlet property="delegate" destination="EuZ-uN-7jh" id="oII-DW-iXL"/> </connections> diff --git a/WPI Calendar Event Creator/WPIModel.m b/WPI Calendar Event Creator/WPIModel.m index a89359aeef69c5706256cdbdfaa3a70b1bae1dc2..b9981fbe26566a2114042bbe7c8138719cfe603b 100644 --- a/WPI Calendar Event Creator/WPIModel.m +++ b/WPI Calendar Event Creator/WPIModel.m @@ -308,7 +308,7 @@ static WPIModel *sharedDataModel = nil; NSError* error; - //[self.eventStore saveEvent:event span:EKSpanThisEvent error:&error]; + [self.eventStore saveEvent:event span:EKSpanThisEvent error:&error]; @@ -330,7 +330,8 @@ static WPIModel *sharedDataModel = nil; } -(NSString*)getICSFile { - NSString *title = [self getTitleForPurpose:1]; + + NSString *title = ![(NSNumber*)[self.data valueForKey:@"Use Custom Professor"] boolValue] ? @"Appointment" : [self getTitleForPurpose:1]; NSDate *sDate = [self getDateForPurpose:2]; NSDate *eDate = [self getDateForPurpose:3]; NSString *location = [self getLocation];