├── MyAssistant ├── .DS_Store ├── MyAssistant.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ ├── xcshareddata │ │ │ ├── MyAssistant.xccheckout │ │ │ └── MyAssistant.xcscmblueprint │ │ └── xcuserdata │ │ │ ├── Jiaxiang.xcuserdatad │ │ │ └── UserInterfaceState.xcuserstate │ │ │ ├── JiaxiangLi.xcuserdatad │ │ │ └── UserInterfaceState.xcuserstate │ │ │ └── Jiaxiang_Li.xcuserdatad │ │ │ ├── UserInterfaceState.xcuserstate │ │ │ └── WorkspaceSettings.xcsettings │ └── xcuserdata │ │ ├── Jiaxiang.xcuserdatad │ │ └── xcschemes │ │ │ ├── MyAssistant.xcscheme │ │ │ └── xcschememanagement.plist │ │ ├── JiaxiangLi.xcuserdatad │ │ └── xcschemes │ │ │ ├── MyAssistant.xcscheme │ │ │ └── xcschememanagement.plist │ │ └── Jiaxiang_Li.xcuserdatad │ │ ├── xcdebugger │ │ └── Breakpoints_v2.xcbkptlist │ │ └── xcschemes │ │ ├── MyAssistant.xcscheme │ │ └── xcschememanagement.plist ├── MyAssistant.xcworkspace │ ├── contents.xcworkspacedata │ ├── xcshareddata │ │ ├── MyAssistant.xccheckout │ │ └── MyAssistant.xcscmblueprint │ └── xcuserdata │ │ ├── Jiaxiang.xcuserdatad │ │ ├── UserInterfaceState.xcuserstate │ │ └── xcdebugger │ │ │ └── Breakpoints_v2.xcbkptlist │ │ └── JiaxiangLi.xcuserdatad │ │ ├── UserInterfaceState.xcuserstate │ │ └── xcdebugger │ │ └── Breakpoints_v2.xcbkptlist ├── MyAssistant │ ├── .DS_Store │ ├── AddLocationViewController.h │ ├── AddLocationViewController.m │ ├── AppDelegate.h │ ├── AppDelegate.m │ ├── Base.lproj │ │ ├── LaunchScreen.xib │ │ └── Main.storyboard │ ├── CoreData.xcdatamodeld │ │ ├── .xccurrentversion │ │ ├── CoreData 2.xcdatamodel │ │ │ └── contents │ │ └── CoreData.xcdatamodel │ │ │ └── contents │ ├── CoreDataStack.h │ ├── CoreDataStack.m │ ├── EditNotesViewController.h │ ├── EditNotesViewController.m │ ├── Images.xcassets │ │ ├── AppIcon.appiconset │ │ │ └── Contents.json │ │ ├── Contents.json │ │ ├── Map-2.imageset │ │ │ ├── Contents.json │ │ │ └── earth-globe.png │ │ ├── Map.imageset │ │ │ ├── 1447589957_Map.png │ │ │ └── Contents.json │ │ ├── News.imageset │ │ │ ├── 1447589995_icon-70.png │ │ │ └── Contents.json │ │ ├── Notes.imageset │ │ │ ├── 1447592467_notes.png │ │ │ └── Contents.json │ │ ├── Weather.imageset │ │ │ ├── 1447589913_Weather.png │ │ │ └── Contents.json │ │ ├── add.imageset │ │ │ ├── 1447635655_sign-add.png │ │ │ └── Contents.json │ │ ├── addLocation_bg.imageset │ │ │ ├── Contents.json │ │ │ └── addLocation_bg.jpg │ │ ├── menu-1.imageset │ │ │ ├── Contents.json │ │ │ ├── menu@2x副本.png │ │ │ ├── menu@3x副本.png │ │ │ └── menu副本.png │ │ ├── menu.imageset │ │ │ ├── 1447590764_menu.png │ │ │ ├── 1447590876_menu.png │ │ │ ├── 1447590944_menu.png │ │ │ └── Contents.json │ │ ├── navigation-1.imageset │ │ │ ├── 1447585432_1.png │ │ │ └── Contents.json │ │ ├── running.imageset │ │ │ ├── 1447589855_sports_mode.png │ │ │ └── Contents.json │ │ ├── weather-broken-1.imageset │ │ │ ├── Contents.json │ │ │ └── weather-broken@2x.png │ │ ├── weather-broken.imageset │ │ │ ├── Contents.json │ │ │ └── weather-broken.png │ │ ├── weather-clear-1.imageset │ │ │ ├── Contents.json │ │ │ └── weather-clear@2x.png │ │ ├── weather-clear.imageset │ │ │ ├── Contents.json │ │ │ └── weather-clear.png │ │ ├── weather-few-1.imageset │ │ │ ├── Contents.json │ │ │ └── weather-few@2x.png │ │ ├── weather-few-night-1.imageset │ │ │ ├── Contents.json │ │ │ └── weather-few-night@2x.png │ │ ├── weather-few-night.imageset │ │ │ ├── Contents.json │ │ │ └── weather-few-night.png │ │ ├── weather-few.imageset │ │ │ ├── Contents.json │ │ │ └── weather-few.png │ │ ├── weather-mist-1.imageset │ │ │ ├── Contents.json │ │ │ └── weather-mist@2x.png │ │ ├── weather-mist.imageset │ │ │ ├── Contents.json │ │ │ └── weather-mist.png │ │ ├── weather-moon-1.imageset │ │ │ ├── Contents.json │ │ │ └── weather-moon@2x.png │ │ ├── weather-moon.imageset │ │ │ ├── Contents.json │ │ │ └── weather-moon.png │ │ ├── weather-rain-1.imageset │ │ │ ├── Contents.json │ │ │ └── weather-rain@2x.png │ │ ├── weather-rain-night-1.imageset │ │ │ ├── Contents.json │ │ │ └── weather-rain-night@2x.png │ │ ├── weather-rain-night.imageset │ │ │ ├── Contents.json │ │ │ └── weather-rain-night.png │ │ ├── weather-rain.imageset │ │ │ ├── Contents.json │ │ │ └── weather-rain.png │ │ ├── weather-scattered-1.imageset │ │ │ ├── Contents.json │ │ │ └── weather-scattered@2x.png │ │ ├── weather-scattered.imageset │ │ │ ├── Contents.json │ │ │ └── weather-scattered.png │ │ ├── weather-shower-1.imageset │ │ │ ├── Contents.json │ │ │ └── weather-shower@2x.png │ │ ├── weather-shower.imageset │ │ │ ├── Contents.json │ │ │ └── weather-shower.png │ │ ├── weather-snow-1.imageset │ │ │ ├── Contents.json │ │ │ └── weather-snow@2x.png │ │ ├── weather-snow.imageset │ │ │ ├── Contents.json │ │ │ └── weather-snow.png │ │ ├── weather-tstorm-1.imageset │ │ │ ├── Contents.json │ │ │ └── weather-tstorm@2x.png │ │ ├── weather-tstorm.imageset │ │ │ ├── Contents.json │ │ │ └── weather-tstorm.png │ │ └── weather_bg.imageset │ │ │ ├── Contents.json │ │ │ └── weatehr_bg.jpg │ ├── Info.plist │ ├── LocationDetailViewController.h │ ├── LocationDetailViewController.m │ ├── LocationEntity.h │ ├── LocationEntity.m │ ├── MainViewCell.h │ ├── MainViewCell.m │ ├── MainViewCellWithoutImage.h │ ├── MainViewCellWithoutImage.m │ ├── MainViewController.h │ ├── MainViewController.m │ ├── MapViewController.h │ ├── MapViewController.m │ ├── MyAssistant-Prefix.pch │ ├── NewNotesEntity.h │ ├── NewNotesEntity.m │ ├── NewsConnection.h │ ├── NewsConnection.m │ ├── NewsConnectionDelegate.h │ ├── NewsDetailViewController.h │ ├── NewsDetailViewController.m │ ├── NewsEntry.h │ ├── NewsEntry.m │ ├── NewsEntryBuilder.h │ ├── NewsEntryBuilder.m │ ├── NewsManage.h │ ├── NewsManage.m │ ├── NewsManageDelegate.h │ ├── NotesViewController.h │ ├── NotesViewController.m │ ├── OriginWeatherViewController.h │ ├── OriginWeatherViewController.m │ ├── RouteViewController.h │ ├── RouteViewController.m │ ├── SWRevealViewController.h │ ├── SWRevealViewController.m │ ├── SlideMenuCell.h │ ├── SlideMenuCell.m │ ├── SlideMenuItems.h │ ├── SlideMenuItems.m │ ├── SlideMenuViewController.h │ ├── SlideMenuViewController.m │ ├── WeatherClient.h │ ├── WeatherClient.m │ ├── WeatherClientDelegate.h │ ├── WeatherCondition.h │ ├── WeatherCondition.m │ ├── WeatherDailyForcast.h │ ├── WeatherDailyForcast.m │ ├── WeatherManager.h │ ├── WeatherManager.m │ ├── WeatherManagerDelegate.h │ ├── WeatherPageViewController.h │ ├── WeatherPageViewController.m │ ├── WeatherViewController.h │ ├── WeatherViewController.m │ ├── city_list.txt │ └── main.m ├── MyAssistantTests │ ├── Info.plist │ └── MyAssistantTests.m ├── Podfile ├── Podfile.lock └── Pods │ ├── .DS_Store │ ├── AFNetworking │ ├── AFNetworking │ │ ├── AFHTTPClient.h │ │ ├── AFHTTPClient.m │ │ ├── AFHTTPRequestOperation.h │ │ ├── AFHTTPRequestOperation.m │ │ ├── AFImageRequestOperation.h │ │ ├── AFImageRequestOperation.m │ │ ├── AFJSONRequestOperation.h │ │ ├── AFJSONRequestOperation.m │ │ ├── AFNetworkActivityIndicatorManager.h │ │ ├── AFNetworkActivityIndicatorManager.m │ │ ├── AFNetworking.h │ │ ├── AFPropertyListRequestOperation.h │ │ ├── AFPropertyListRequestOperation.m │ │ ├── AFURLConnectionOperation.h │ │ ├── AFURLConnectionOperation.m │ │ ├── AFXMLRequestOperation.h │ │ ├── AFXMLRequestOperation.m │ │ ├── UIImageView+AFNetworking.h │ │ └── UIImageView+AFNetworking.m │ ├── LICENSE │ └── README.md │ ├── Headers │ ├── Private │ │ ├── AFNetworking │ │ │ ├── AFHTTPClient.h │ │ │ ├── AFHTTPRequestOperation.h │ │ │ ├── AFImageRequestOperation.h │ │ │ ├── AFJSONRequestOperation.h │ │ │ ├── AFNetworkActivityIndicatorManager.h │ │ │ ├── AFNetworking.h │ │ │ ├── AFPropertyListRequestOperation.h │ │ │ ├── AFURLConnectionOperation.h │ │ │ ├── AFXMLRequestOperation.h │ │ │ └── UIImageView+AFNetworking.h │ │ ├── HexColors │ │ │ └── HexColor.h │ │ ├── LBBlurredImage │ │ │ ├── UIImage+ImageEffects.h │ │ │ └── UIImageView+LBBlurredImage.h │ │ ├── Mantle │ │ │ ├── EXTKeyPathCoding.h │ │ │ ├── EXTRuntimeExtensions.h │ │ │ ├── EXTScope.h │ │ │ ├── MTLJSONAdapter.h │ │ │ ├── MTLModel+NSCoding.h │ │ │ ├── MTLModel.h │ │ │ ├── MTLReflection.h │ │ │ ├── MTLTransformerErrorHandling.h │ │ │ ├── MTLValueTransformer.h │ │ │ ├── Mantle.h │ │ │ ├── NSArray+MTLManipulationAdditions.h │ │ │ ├── NSDictionary+MTLJSONKeyPath.h │ │ │ ├── NSDictionary+MTLManipulationAdditions.h │ │ │ ├── NSDictionary+MTLMappingAdditions.h │ │ │ ├── NSError+MTLModelException.h │ │ │ ├── NSObject+MTLComparisonAdditions.h │ │ │ ├── NSValueTransformer+MTLInversionAdditions.h │ │ │ ├── NSValueTransformer+MTLPredefinedTransformerAdditions.h │ │ │ └── metamacros.h │ │ ├── OpenWeatherMapAPI │ │ │ └── OWMWeatherAPI.h │ │ └── TSMessages │ │ │ ├── TSBlurView.h │ │ │ ├── TSMessage.h │ │ │ └── TSMessageView.h │ └── Public │ │ ├── AFNetworking │ │ ├── AFHTTPClient.h │ │ ├── AFHTTPRequestOperation.h │ │ ├── AFImageRequestOperation.h │ │ ├── AFJSONRequestOperation.h │ │ ├── AFNetworkActivityIndicatorManager.h │ │ ├── AFNetworking.h │ │ ├── AFPropertyListRequestOperation.h │ │ ├── AFURLConnectionOperation.h │ │ ├── AFXMLRequestOperation.h │ │ └── UIImageView+AFNetworking.h │ │ ├── HexColors │ │ └── HexColor.h │ │ ├── LBBlurredImage │ │ ├── UIImageView+LBBlurredImage.h │ │ └── UIImageView+LBBlurredImage.m │ │ ├── Mantle │ │ ├── MTLJSONAdapter.h │ │ ├── MTLModel+NSCoding.h │ │ ├── MTLModel.h │ │ ├── MTLReflection.h │ │ ├── MTLTransformerErrorHandling.h │ │ ├── MTLValueTransformer.h │ │ ├── Mantle.h │ │ ├── NSArray+MTLManipulationAdditions.h │ │ ├── NSDictionary+MTLJSONKeyPath.h │ │ ├── NSDictionary+MTLManipulationAdditions.h │ │ ├── NSDictionary+MTLMappingAdditions.h │ │ ├── NSError+MTLModelException.h │ │ ├── NSObject+MTLComparisonAdditions.h │ │ ├── NSValueTransformer+MTLInversionAdditions.h │ │ └── NSValueTransformer+MTLPredefinedTransformerAdditions.h │ │ ├── OpenWeatherMapAPI │ │ └── OWMWeatherAPI.h │ │ └── TSMessages │ │ ├── TSBlurView.h │ │ ├── TSMessage.h │ │ └── TSMessageView.h │ ├── HexColors │ ├── Classes │ │ ├── HexColor.h │ │ └── HexColor.m │ ├── LICENCE │ └── README.md │ ├── LBBlurredImage │ ├── LBBlurredImage │ │ ├── UIImage+ImageEffects.h │ │ ├── UIImage+ImageEffects.m │ │ ├── UIImageView+LBBlurredImage.h │ │ └── UIImageView+LBBlurredImage.m │ ├── LICENSE │ └── README.md │ ├── Manifest.lock │ ├── Mantle │ ├── LICENSE.md │ ├── Mantle │ │ ├── MTLJSONAdapter.h │ │ ├── MTLJSONAdapter.m │ │ ├── MTLModel+NSCoding.h │ │ ├── MTLModel+NSCoding.m │ │ ├── MTLModel.h │ │ ├── MTLModel.m │ │ ├── MTLReflection.h │ │ ├── MTLReflection.m │ │ ├── MTLTransformerErrorHandling.h │ │ ├── MTLTransformerErrorHandling.m │ │ ├── MTLValueTransformer.h │ │ ├── MTLValueTransformer.m │ │ ├── Mantle.h │ │ ├── NSArray+MTLManipulationAdditions.h │ │ ├── NSArray+MTLManipulationAdditions.m │ │ ├── NSDictionary+MTLJSONKeyPath.h │ │ ├── NSDictionary+MTLJSONKeyPath.m │ │ ├── NSDictionary+MTLManipulationAdditions.h │ │ ├── NSDictionary+MTLManipulationAdditions.m │ │ ├── NSDictionary+MTLMappingAdditions.h │ │ ├── NSDictionary+MTLMappingAdditions.m │ │ ├── NSError+MTLModelException.h │ │ ├── NSError+MTLModelException.m │ │ ├── NSObject+MTLComparisonAdditions.h │ │ ├── NSObject+MTLComparisonAdditions.m │ │ ├── NSValueTransformer+MTLInversionAdditions.h │ │ ├── NSValueTransformer+MTLInversionAdditions.m │ │ ├── NSValueTransformer+MTLPredefinedTransformerAdditions.h │ │ ├── NSValueTransformer+MTLPredefinedTransformerAdditions.m │ │ └── extobjc │ │ │ ├── EXTKeyPathCoding.h │ │ │ ├── EXTRuntimeExtensions.h │ │ │ ├── EXTRuntimeExtensions.m │ │ │ ├── EXTScope.h │ │ │ ├── EXTScope.m │ │ │ └── metamacros.h │ └── README.md │ ├── OpenWeatherMapAPI │ ├── LICENSE │ ├── OpenWeatherMapAPI │ │ └── OpenWeatherMapAPI │ │ │ ├── OWMWeatherAPI.h │ │ │ └── OWMWeatherAPI.m │ └── README.md │ ├── Pods.xcodeproj │ ├── project.pbxproj │ └── xcuserdata │ │ ├── Jiaxiang.xcuserdatad │ │ └── xcschemes │ │ │ ├── AFNetworking.xcscheme │ │ │ ├── HexColors.xcscheme │ │ │ ├── LBBlurredImage.xcscheme │ │ │ ├── Mantle.xcscheme │ │ │ ├── OpenWeatherMapAPI.xcscheme │ │ │ ├── Pods.xcscheme │ │ │ ├── TSMessages.xcscheme │ │ │ └── xcschememanagement.plist │ │ └── JiaxiangLi.xcuserdatad │ │ └── xcschemes │ │ ├── AFNetworking.xcscheme │ │ ├── DownPicker-DownPicker.xcscheme │ │ ├── DownPicker.xcscheme │ │ ├── MBProgressHUD.xcscheme │ │ ├── MJRefresh.xcscheme │ │ ├── Pods.xcscheme │ │ └── xcschememanagement.plist │ ├── TSMessages │ ├── LICENSE │ ├── Pod │ │ ├── Assets │ │ │ ├── NotificationBackgroundError.png │ │ │ ├── NotificationBackgroundError@2x.png │ │ │ ├── NotificationBackgroundErrorIcon.png │ │ │ ├── NotificationBackgroundErrorIcon@2x.png │ │ │ ├── NotificationBackgroundMessage.png │ │ │ ├── NotificationBackgroundMessage@2x.png │ │ │ ├── NotificationBackgroundSuccess.png │ │ │ ├── NotificationBackgroundSuccess@2x.png │ │ │ ├── NotificationBackgroundSuccessIcon.png │ │ │ ├── NotificationBackgroundSuccessIcon@2x.png │ │ │ ├── NotificationBackgroundWarning.png │ │ │ ├── NotificationBackgroundWarning@2x.png │ │ │ ├── NotificationBackgroundWarningIcon.png │ │ │ ├── NotificationBackgroundWarningIcon@2x.png │ │ │ ├── NotificationButtonBackground.png │ │ │ ├── NotificationButtonBackground@2x.png │ │ │ └── TSMessagesDefaultDesign.json │ │ └── Classes │ │ │ ├── TSBlurView.h │ │ │ ├── TSBlurView.m │ │ │ ├── TSMessage.h │ │ │ ├── TSMessage.m │ │ │ ├── TSMessageView.h │ │ │ └── TSMessageView.m │ └── README.md │ └── Target Support Files │ ├── AFNetworking │ ├── AFNetworking-dummy.m │ ├── AFNetworking-prefix.pch │ └── AFNetworking.xcconfig │ ├── HexColors │ ├── HexColors-dummy.m │ ├── HexColors-prefix.pch │ └── HexColors.xcconfig │ ├── LBBlurredImage │ ├── LBBlurredImage-dummy.m │ ├── LBBlurredImage-prefix.pch │ └── LBBlurredImage.xcconfig │ ├── Mantle │ ├── Mantle-dummy.m │ ├── Mantle-prefix.pch │ └── Mantle.xcconfig │ ├── OpenWeatherMapAPI │ ├── OpenWeatherMapAPI-dummy.m │ ├── OpenWeatherMapAPI-prefix.pch │ └── OpenWeatherMapAPI.xcconfig │ ├── Pods │ ├── Pods-acknowledgements.markdown │ ├── Pods-acknowledgements.plist │ ├── Pods-dummy.m │ ├── Pods-frameworks.sh │ ├── Pods-resources.sh │ ├── Pods.debug.xcconfig │ └── Pods.release.xcconfig │ └── TSMessages │ ├── TSMessages-dummy.m │ ├── TSMessages-prefix.pch │ └── TSMessages.xcconfig └── README.md /MyAssistant/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangfly11/MyAssistant/e83e97abcfd5e1f187afecda909750a701b1319a/MyAssistant/.DS_Store -------------------------------------------------------------------------------- /MyAssistant/MyAssistant.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /MyAssistant/MyAssistant.xcodeproj/project.xcworkspace/xcshareddata/MyAssistant.xccheckout: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDESourceControlProjectFavoriteDictionaryKey 6 | 7 | IDESourceControlProjectIdentifier 8 | 98299232-F766-4944-9125-2D93FE5C2855 9 | IDESourceControlProjectName 10 | MyAssistant 11 | IDESourceControlProjectOriginsDictionary 12 | 13 | 2DA32D2C8C907EFC39D28BF8598B304C14F0E985 14 | https://github.com/xiangfly11/IosProjects.git 15 | 6D9D4039718DB11FAC9A7E7E7F35481AC16C8C61 16 | https://github.com/xiangfly11/MyIosProject.git 17 | 18 | IDESourceControlProjectPath 19 | MyAssistant/MyAssistant.xcodeproj 20 | IDESourceControlProjectRelativeInstallPathDictionary 21 | 22 | 2DA32D2C8C907EFC39D28BF8598B304C14F0E985 23 | ../../.. 24 | 6D9D4039718DB11FAC9A7E7E7F35481AC16C8C61 25 | ../../../../MyGithubIos 26 | 27 | IDESourceControlProjectURL 28 | https://github.com/xiangfly11/IosProjects.git 29 | IDESourceControlProjectVersion 30 | 111 31 | IDESourceControlProjectWCCIdentifier 32 | 2DA32D2C8C907EFC39D28BF8598B304C14F0E985 33 | IDESourceControlProjectWCConfigurations 34 | 35 | 36 | IDESourceControlRepositoryExtensionIdentifierKey 37 | public.vcs.git 38 | IDESourceControlWCCIdentifierKey 39 | 2DA32D2C8C907EFC39D28BF8598B304C14F0E985 40 | IDESourceControlWCCName 41 | IosProject 42 | 43 | 44 | IDESourceControlRepositoryExtensionIdentifierKey 45 | public.vcs.git 46 | IDESourceControlWCCIdentifierKey 47 | 6D9D4039718DB11FAC9A7E7E7F35481AC16C8C61 48 | IDESourceControlWCCName 49 | MyGithubIos 50 | 51 | 52 | 53 | 54 | -------------------------------------------------------------------------------- /MyAssistant/MyAssistant.xcodeproj/project.xcworkspace/xcshareddata/MyAssistant.xcscmblueprint: -------------------------------------------------------------------------------- 1 | { 2 | "DVTSourceControlWorkspaceBlueprintPrimaryRemoteRepositoryKey" : "2DA32D2C8C907EFC39D28BF8598B304C14F0E985", 3 | "DVTSourceControlWorkspaceBlueprintWorkingCopyRepositoryLocationsKey" : { 4 | 5 | }, 6 | "DVTSourceControlWorkspaceBlueprintWorkingCopyStatesKey" : { 7 | "2DA32D2C8C907EFC39D28BF8598B304C14F0E985" : 0, 8 | "6D9D4039718DB11FAC9A7E7E7F35481AC16C8C61" : 0 9 | }, 10 | "DVTSourceControlWorkspaceBlueprintIdentifierKey" : "98299232-F766-4944-9125-2D93FE5C2855", 11 | "DVTSourceControlWorkspaceBlueprintWorkingCopyPathsKey" : { 12 | "2DA32D2C8C907EFC39D28BF8598B304C14F0E985" : "IosProject\/", 13 | "6D9D4039718DB11FAC9A7E7E7F35481AC16C8C61" : "MyGithubIos" 14 | }, 15 | "DVTSourceControlWorkspaceBlueprintNameKey" : "MyAssistant", 16 | "DVTSourceControlWorkspaceBlueprintVersion" : 204, 17 | "DVTSourceControlWorkspaceBlueprintRelativePathToProjectKey" : "MyAssistant\/MyAssistant.xcodeproj", 18 | "DVTSourceControlWorkspaceBlueprintRemoteRepositoriesKey" : [ 19 | { 20 | "DVTSourceControlWorkspaceBlueprintRemoteRepositoryURLKey" : "https:\/\/github.com\/xiangfly11\/IosProjects.git", 21 | "DVTSourceControlWorkspaceBlueprintRemoteRepositorySystemKey" : "com.apple.dt.Xcode.sourcecontrol.Git", 22 | "DVTSourceControlWorkspaceBlueprintRemoteRepositoryIdentifierKey" : "2DA32D2C8C907EFC39D28BF8598B304C14F0E985" 23 | }, 24 | { 25 | "DVTSourceControlWorkspaceBlueprintRemoteRepositoryURLKey" : "https:\/\/github.com\/xiangfly11\/MyIosProject.git", 26 | "DVTSourceControlWorkspaceBlueprintRemoteRepositorySystemKey" : "com.apple.dt.Xcode.sourcecontrol.Git", 27 | "DVTSourceControlWorkspaceBlueprintRemoteRepositoryIdentifierKey" : "6D9D4039718DB11FAC9A7E7E7F35481AC16C8C61" 28 | } 29 | ] 30 | } -------------------------------------------------------------------------------- /MyAssistant/MyAssistant.xcodeproj/project.xcworkspace/xcuserdata/Jiaxiang.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangfly11/MyAssistant/e83e97abcfd5e1f187afecda909750a701b1319a/MyAssistant/MyAssistant.xcodeproj/project.xcworkspace/xcuserdata/Jiaxiang.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /MyAssistant/MyAssistant.xcodeproj/project.xcworkspace/xcuserdata/JiaxiangLi.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangfly11/MyAssistant/e83e97abcfd5e1f187afecda909750a701b1319a/MyAssistant/MyAssistant.xcodeproj/project.xcworkspace/xcuserdata/JiaxiangLi.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /MyAssistant/MyAssistant.xcodeproj/project.xcworkspace/xcuserdata/Jiaxiang_Li.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangfly11/MyAssistant/e83e97abcfd5e1f187afecda909750a701b1319a/MyAssistant/MyAssistant.xcodeproj/project.xcworkspace/xcuserdata/Jiaxiang_Li.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /MyAssistant/MyAssistant.xcodeproj/project.xcworkspace/xcuserdata/Jiaxiang_Li.xcuserdatad/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | HasAskedToTakeAutomaticSnapshotBeforeSignificantChanges 6 | 7 | SnapshotAutomaticallyBeforeSignificantChanges 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /MyAssistant/MyAssistant.xcodeproj/xcuserdata/Jiaxiang.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | MyAssistant.xcscheme 8 | 9 | orderHint 10 | 0 11 | 12 | 13 | SuppressBuildableAutocreation 14 | 15 | 2E4CD4BE1B88161A00578925 16 | 17 | primary 18 | 19 | 20 | 2E4CD4D71B88161A00578925 21 | 22 | primary 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /MyAssistant/MyAssistant.xcodeproj/xcuserdata/JiaxiangLi.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | MyAssistant.xcscheme 8 | 9 | orderHint 10 | 0 11 | 12 | 13 | SuppressBuildableAutocreation 14 | 15 | 2E4CD4BE1B88161A00578925 16 | 17 | primary 18 | 19 | 20 | 2E4CD4D71B88161A00578925 21 | 22 | primary 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /MyAssistant/MyAssistant.xcodeproj/xcuserdata/Jiaxiang_Li.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | -------------------------------------------------------------------------------- /MyAssistant/MyAssistant.xcodeproj/xcuserdata/Jiaxiang_Li.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | MyAssistant.xcscheme 8 | 9 | orderHint 10 | 0 11 | 12 | 13 | SuppressBuildableAutocreation 14 | 15 | 2E4CD4BE1B88161A00578925 16 | 17 | primary 18 | 19 | 20 | 2E4CD4D71B88161A00578925 21 | 22 | primary 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /MyAssistant/MyAssistant.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /MyAssistant/MyAssistant.xcworkspace/xcshareddata/MyAssistant.xccheckout: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDESourceControlProjectFavoriteDictionaryKey 6 | 7 | IDESourceControlProjectIdentifier 8 | EB15CED2-73CC-4DB9-919D-BCD2B61F466A 9 | IDESourceControlProjectName 10 | MyAssistant 11 | IDESourceControlProjectOriginsDictionary 12 | 13 | 2DA32D2C8C907EFC39D28BF8598B304C14F0E985 14 | https://github.com/xiangfly11/IosProjects.git 15 | 16 | IDESourceControlProjectPath 17 | MyAssistant/MyAssistant.xcworkspace 18 | IDESourceControlProjectRelativeInstallPathDictionary 19 | 20 | 2DA32D2C8C907EFC39D28BF8598B304C14F0E985 21 | ../.. 22 | 23 | IDESourceControlProjectURL 24 | https://github.com/xiangfly11/IosProjects.git 25 | IDESourceControlProjectVersion 26 | 111 27 | IDESourceControlProjectWCCIdentifier 28 | 2DA32D2C8C907EFC39D28BF8598B304C14F0E985 29 | IDESourceControlProjectWCConfigurations 30 | 31 | 32 | IDESourceControlRepositoryExtensionIdentifierKey 33 | public.vcs.git 34 | IDESourceControlWCCIdentifierKey 35 | 2DA32D2C8C907EFC39D28BF8598B304C14F0E985 36 | IDESourceControlWCCName 37 | IosProject 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /MyAssistant/MyAssistant.xcworkspace/xcshareddata/MyAssistant.xcscmblueprint: -------------------------------------------------------------------------------- 1 | { 2 | "DVTSourceControlWorkspaceBlueprintPrimaryRemoteRepositoryKey" : "3608E9DBE844FC815D2CC9C5782961EC1DE4881B", 3 | "DVTSourceControlWorkspaceBlueprintWorkingCopyRepositoryLocationsKey" : { 4 | 5 | }, 6 | "DVTSourceControlWorkspaceBlueprintWorkingCopyStatesKey" : { 7 | "E1690D5EAFBE69EBF39005B3F83A23CE8DC49095" : 0, 8 | "3608E9DBE844FC815D2CC9C5782961EC1DE4881B" : 0, 9 | "2DA32D2C8C907EFC39D28BF8598B304C14F0E985" : 0 10 | }, 11 | "DVTSourceControlWorkspaceBlueprintIdentifierKey" : "EB15CED2-73CC-4DB9-919D-BCD2B61F466A", 12 | "DVTSourceControlWorkspaceBlueprintWorkingCopyPathsKey" : { 13 | "E1690D5EAFBE69EBF39005B3F83A23CE8DC49095" : "MyAssitantInGitHub\/", 14 | "3608E9DBE844FC815D2CC9C5782961EC1DE4881B" : "MyAssistantInGitHub\/", 15 | "2DA32D2C8C907EFC39D28BF8598B304C14F0E985" : "IosProject" 16 | }, 17 | "DVTSourceControlWorkspaceBlueprintNameKey" : "MyAssistant", 18 | "DVTSourceControlWorkspaceBlueprintVersion" : 204, 19 | "DVTSourceControlWorkspaceBlueprintRelativePathToProjectKey" : "MyAssistant\/MyAssistant.xcworkspace", 20 | "DVTSourceControlWorkspaceBlueprintRemoteRepositoriesKey" : [ 21 | { 22 | "DVTSourceControlWorkspaceBlueprintRemoteRepositoryURLKey" : "https:\/\/github.com\/xiangfly11\/IosProjects.git", 23 | "DVTSourceControlWorkspaceBlueprintRemoteRepositorySystemKey" : "com.apple.dt.Xcode.sourcecontrol.Git", 24 | "DVTSourceControlWorkspaceBlueprintRemoteRepositoryIdentifierKey" : "2DA32D2C8C907EFC39D28BF8598B304C14F0E985" 25 | }, 26 | { 27 | "DVTSourceControlWorkspaceBlueprintRemoteRepositoryURLKey" : "https:\/\/github.com\/xiangfly11\/MyAssistant.git", 28 | "DVTSourceControlWorkspaceBlueprintRemoteRepositorySystemKey" : "com.apple.dt.Xcode.sourcecontrol.Git", 29 | "DVTSourceControlWorkspaceBlueprintRemoteRepositoryIdentifierKey" : "3608E9DBE844FC815D2CC9C5782961EC1DE4881B" 30 | }, 31 | { 32 | "DVTSourceControlWorkspaceBlueprintRemoteRepositoryURLKey" : "https:\/\/github.com\/AlexLi11\/MyAssistant.git", 33 | "DVTSourceControlWorkspaceBlueprintRemoteRepositorySystemKey" : "com.apple.dt.Xcode.sourcecontrol.Git", 34 | "DVTSourceControlWorkspaceBlueprintRemoteRepositoryIdentifierKey" : "E1690D5EAFBE69EBF39005B3F83A23CE8DC49095" 35 | } 36 | ] 37 | } -------------------------------------------------------------------------------- /MyAssistant/MyAssistant.xcworkspace/xcuserdata/Jiaxiang.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangfly11/MyAssistant/e83e97abcfd5e1f187afecda909750a701b1319a/MyAssistant/MyAssistant.xcworkspace/xcuserdata/Jiaxiang.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /MyAssistant/MyAssistant.xcworkspace/xcuserdata/JiaxiangLi.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangfly11/MyAssistant/e83e97abcfd5e1f187afecda909750a701b1319a/MyAssistant/MyAssistant.xcworkspace/xcuserdata/JiaxiangLi.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /MyAssistant/MyAssistant.xcworkspace/xcuserdata/JiaxiangLi.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangfly11/MyAssistant/e83e97abcfd5e1f187afecda909750a701b1319a/MyAssistant/MyAssistant/.DS_Store -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/AddLocationViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // AddLocationViewController.h 3 | // MyAssistant 4 | // 5 | // Created by Jiaxiang Li on 11/16/15. 6 | // Copyright © 2015 Jiaxiang Li. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface AddLocationViewController : UIViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // MyAssistant 4 | // 5 | // Created by Jiaxiang Li on 15/8/21. 6 | // Copyright (c) 2015年 Jiaxiang Li. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface AppDelegate : UIResponder 12 | 13 | @property (strong, nonatomic) UIWindow *window; 14 | 15 | 16 | @end 17 | 18 | -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/CoreData.xcdatamodeld/.xccurrentversion: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | _XCCurrentVersionName 6 | CoreData 2.xcdatamodel 7 | 8 | 9 | -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/CoreData.xcdatamodeld/CoreData 2.xcdatamodel/contents: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/CoreData.xcdatamodeld/CoreData.xcdatamodel/contents: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/CoreDataStack.h: -------------------------------------------------------------------------------- 1 | // 2 | // NewsCoreDataStack.h 3 | // MyAssistant 4 | // 5 | // Created by Jiaxiang Li on 15/8/28. 6 | // Copyright (c) 2015年 Jiaxiang Li. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | 12 | @interface CoreDataStack : NSObject 13 | 14 | 15 | @property (readonly,strong,nonatomic) NSManagedObjectContext *managedObjectContext; 16 | 17 | @property (readonly,strong,nonatomic) NSManagedObjectModel *managedObjectModel; 18 | 19 | @property (readonly,strong,nonatomic) NSPersistentStoreCoordinator *persistentStoreCoordinator; 20 | 21 | +(instancetype) defaultStack; 22 | 23 | -(void) saveContext; 24 | -(NSURL *) applicationDocumentsDirectory ; 25 | 26 | @end 27 | -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/EditNotesViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // EditNotesViewController.h 3 | // MyAssistant 4 | // 5 | // Created by Jiaxiang Li on 9/7/15. 6 | // Copyright (c) 2015 Jiaxiang Li. All rights reserved. 7 | // 8 | 9 | #import 10 | //#import "NotesEntry.h" 11 | #import "NewNotesEntity.h" 12 | @interface EditNotesViewController : UIViewController 13 | 14 | @property (weak, nonatomic) IBOutlet UITextView *textView; 15 | @property (strong,nonatomic) NewNotesEntity *entry; 16 | 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "29x29", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "29x29", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "40x40", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "40x40", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "60x60", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "60x60", 31 | "scale" : "3x" 32 | } 33 | ], 34 | "info" : { 35 | "version" : 1, 36 | "author" : "xcode" 37 | } 38 | } -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/Map-2.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x", 6 | "filename" : "earth-globe.png" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/Map-2.imageset/earth-globe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangfly11/MyAssistant/e83e97abcfd5e1f187afecda909750a701b1319a/MyAssistant/MyAssistant/Images.xcassets/Map-2.imageset/earth-globe.png -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/Map.imageset/1447589957_Map.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangfly11/MyAssistant/e83e97abcfd5e1f187afecda909750a701b1319a/MyAssistant/MyAssistant/Images.xcassets/Map.imageset/1447589957_Map.png -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/Map.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "1447589957_Map.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/News.imageset/1447589995_icon-70.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangfly11/MyAssistant/e83e97abcfd5e1f187afecda909750a701b1319a/MyAssistant/MyAssistant/Images.xcassets/News.imageset/1447589995_icon-70.png -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/News.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "1447589995_icon-70.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/Notes.imageset/1447592467_notes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangfly11/MyAssistant/e83e97abcfd5e1f187afecda909750a701b1319a/MyAssistant/MyAssistant/Images.xcassets/Notes.imageset/1447592467_notes.png -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/Notes.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "1447592467_notes.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/Weather.imageset/1447589913_Weather.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangfly11/MyAssistant/e83e97abcfd5e1f187afecda909750a701b1319a/MyAssistant/MyAssistant/Images.xcassets/Weather.imageset/1447589913_Weather.png -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/Weather.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "1447589913_Weather.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/add.imageset/1447635655_sign-add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangfly11/MyAssistant/e83e97abcfd5e1f187afecda909750a701b1319a/MyAssistant/MyAssistant/Images.xcassets/add.imageset/1447635655_sign-add.png -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/add.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "1447635655_sign-add.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/addLocation_bg.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "addLocation_bg.jpg", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/addLocation_bg.imageset/addLocation_bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangfly11/MyAssistant/e83e97abcfd5e1f187afecda909750a701b1319a/MyAssistant/MyAssistant/Images.xcassets/addLocation_bg.imageset/addLocation_bg.jpg -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/menu-1.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x", 6 | "filename" : "menu副本.png" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x", 11 | "filename" : "menu@2x副本.png" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x", 16 | "filename" : "menu@3x副本.png" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/menu-1.imageset/menu@2x副本.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangfly11/MyAssistant/e83e97abcfd5e1f187afecda909750a701b1319a/MyAssistant/MyAssistant/Images.xcassets/menu-1.imageset/menu@2x副本.png -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/menu-1.imageset/menu@3x副本.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangfly11/MyAssistant/e83e97abcfd5e1f187afecda909750a701b1319a/MyAssistant/MyAssistant/Images.xcassets/menu-1.imageset/menu@3x副本.png -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/menu-1.imageset/menu副本.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangfly11/MyAssistant/e83e97abcfd5e1f187afecda909750a701b1319a/MyAssistant/MyAssistant/Images.xcassets/menu-1.imageset/menu副本.png -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/menu.imageset/1447590764_menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangfly11/MyAssistant/e83e97abcfd5e1f187afecda909750a701b1319a/MyAssistant/MyAssistant/Images.xcassets/menu.imageset/1447590764_menu.png -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/menu.imageset/1447590876_menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangfly11/MyAssistant/e83e97abcfd5e1f187afecda909750a701b1319a/MyAssistant/MyAssistant/Images.xcassets/menu.imageset/1447590876_menu.png -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/menu.imageset/1447590944_menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangfly11/MyAssistant/e83e97abcfd5e1f187afecda909750a701b1319a/MyAssistant/MyAssistant/Images.xcassets/menu.imageset/1447590944_menu.png -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/menu.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "1447590876_menu.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "1447590764_menu.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "1447590944_menu.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/navigation-1.imageset/1447585432_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangfly11/MyAssistant/e83e97abcfd5e1f187afecda909750a701b1319a/MyAssistant/MyAssistant/Images.xcassets/navigation-1.imageset/1447585432_1.png -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/navigation-1.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "1447585432_1.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/running.imageset/1447589855_sports_mode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangfly11/MyAssistant/e83e97abcfd5e1f187afecda909750a701b1319a/MyAssistant/MyAssistant/Images.xcassets/running.imageset/1447589855_sports_mode.png -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/running.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "1447589855_sports_mode.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/weather-broken-1.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "weather-broken@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/weather-broken-1.imageset/weather-broken@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangfly11/MyAssistant/e83e97abcfd5e1f187afecda909750a701b1319a/MyAssistant/MyAssistant/Images.xcassets/weather-broken-1.imageset/weather-broken@2x.png -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/weather-broken.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "weather-broken.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/weather-broken.imageset/weather-broken.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangfly11/MyAssistant/e83e97abcfd5e1f187afecda909750a701b1319a/MyAssistant/MyAssistant/Images.xcassets/weather-broken.imageset/weather-broken.png -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/weather-clear-1.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "weather-clear@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/weather-clear-1.imageset/weather-clear@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangfly11/MyAssistant/e83e97abcfd5e1f187afecda909750a701b1319a/MyAssistant/MyAssistant/Images.xcassets/weather-clear-1.imageset/weather-clear@2x.png -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/weather-clear.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "weather-clear.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/weather-clear.imageset/weather-clear.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangfly11/MyAssistant/e83e97abcfd5e1f187afecda909750a701b1319a/MyAssistant/MyAssistant/Images.xcassets/weather-clear.imageset/weather-clear.png -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/weather-few-1.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "weather-few@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/weather-few-1.imageset/weather-few@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangfly11/MyAssistant/e83e97abcfd5e1f187afecda909750a701b1319a/MyAssistant/MyAssistant/Images.xcassets/weather-few-1.imageset/weather-few@2x.png -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/weather-few-night-1.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "weather-few-night@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/weather-few-night-1.imageset/weather-few-night@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangfly11/MyAssistant/e83e97abcfd5e1f187afecda909750a701b1319a/MyAssistant/MyAssistant/Images.xcassets/weather-few-night-1.imageset/weather-few-night@2x.png -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/weather-few-night.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "weather-few-night.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/weather-few-night.imageset/weather-few-night.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangfly11/MyAssistant/e83e97abcfd5e1f187afecda909750a701b1319a/MyAssistant/MyAssistant/Images.xcassets/weather-few-night.imageset/weather-few-night.png -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/weather-few.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "weather-few.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/weather-few.imageset/weather-few.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangfly11/MyAssistant/e83e97abcfd5e1f187afecda909750a701b1319a/MyAssistant/MyAssistant/Images.xcassets/weather-few.imageset/weather-few.png -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/weather-mist-1.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "weather-mist@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/weather-mist-1.imageset/weather-mist@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangfly11/MyAssistant/e83e97abcfd5e1f187afecda909750a701b1319a/MyAssistant/MyAssistant/Images.xcassets/weather-mist-1.imageset/weather-mist@2x.png -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/weather-mist.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "weather-mist.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/weather-mist.imageset/weather-mist.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangfly11/MyAssistant/e83e97abcfd5e1f187afecda909750a701b1319a/MyAssistant/MyAssistant/Images.xcassets/weather-mist.imageset/weather-mist.png -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/weather-moon-1.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "weather-moon@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/weather-moon-1.imageset/weather-moon@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangfly11/MyAssistant/e83e97abcfd5e1f187afecda909750a701b1319a/MyAssistant/MyAssistant/Images.xcassets/weather-moon-1.imageset/weather-moon@2x.png -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/weather-moon.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "weather-moon.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/weather-moon.imageset/weather-moon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangfly11/MyAssistant/e83e97abcfd5e1f187afecda909750a701b1319a/MyAssistant/MyAssistant/Images.xcassets/weather-moon.imageset/weather-moon.png -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/weather-rain-1.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "weather-rain@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/weather-rain-1.imageset/weather-rain@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangfly11/MyAssistant/e83e97abcfd5e1f187afecda909750a701b1319a/MyAssistant/MyAssistant/Images.xcassets/weather-rain-1.imageset/weather-rain@2x.png -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/weather-rain-night-1.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "weather-rain-night@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/weather-rain-night-1.imageset/weather-rain-night@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangfly11/MyAssistant/e83e97abcfd5e1f187afecda909750a701b1319a/MyAssistant/MyAssistant/Images.xcassets/weather-rain-night-1.imageset/weather-rain-night@2x.png -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/weather-rain-night.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "weather-rain-night.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/weather-rain-night.imageset/weather-rain-night.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangfly11/MyAssistant/e83e97abcfd5e1f187afecda909750a701b1319a/MyAssistant/MyAssistant/Images.xcassets/weather-rain-night.imageset/weather-rain-night.png -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/weather-rain.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "weather-rain.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/weather-rain.imageset/weather-rain.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangfly11/MyAssistant/e83e97abcfd5e1f187afecda909750a701b1319a/MyAssistant/MyAssistant/Images.xcassets/weather-rain.imageset/weather-rain.png -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/weather-scattered-1.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "weather-scattered@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/weather-scattered-1.imageset/weather-scattered@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangfly11/MyAssistant/e83e97abcfd5e1f187afecda909750a701b1319a/MyAssistant/MyAssistant/Images.xcassets/weather-scattered-1.imageset/weather-scattered@2x.png -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/weather-scattered.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "weather-scattered.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/weather-scattered.imageset/weather-scattered.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangfly11/MyAssistant/e83e97abcfd5e1f187afecda909750a701b1319a/MyAssistant/MyAssistant/Images.xcassets/weather-scattered.imageset/weather-scattered.png -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/weather-shower-1.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "weather-shower@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/weather-shower-1.imageset/weather-shower@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangfly11/MyAssistant/e83e97abcfd5e1f187afecda909750a701b1319a/MyAssistant/MyAssistant/Images.xcassets/weather-shower-1.imageset/weather-shower@2x.png -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/weather-shower.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "weather-shower.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/weather-shower.imageset/weather-shower.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangfly11/MyAssistant/e83e97abcfd5e1f187afecda909750a701b1319a/MyAssistant/MyAssistant/Images.xcassets/weather-shower.imageset/weather-shower.png -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/weather-snow-1.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "weather-snow@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/weather-snow-1.imageset/weather-snow@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangfly11/MyAssistant/e83e97abcfd5e1f187afecda909750a701b1319a/MyAssistant/MyAssistant/Images.xcassets/weather-snow-1.imageset/weather-snow@2x.png -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/weather-snow.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "weather-snow.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/weather-snow.imageset/weather-snow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangfly11/MyAssistant/e83e97abcfd5e1f187afecda909750a701b1319a/MyAssistant/MyAssistant/Images.xcassets/weather-snow.imageset/weather-snow.png -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/weather-tstorm-1.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "weather-tstorm@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/weather-tstorm-1.imageset/weather-tstorm@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangfly11/MyAssistant/e83e97abcfd5e1f187afecda909750a701b1319a/MyAssistant/MyAssistant/Images.xcassets/weather-tstorm-1.imageset/weather-tstorm@2x.png -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/weather-tstorm.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "weather-tstorm.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/weather-tstorm.imageset/weather-tstorm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangfly11/MyAssistant/e83e97abcfd5e1f187afecda909750a701b1319a/MyAssistant/MyAssistant/Images.xcassets/weather-tstorm.imageset/weather-tstorm.png -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/weather_bg.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "weatehr_bg.jpg", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Images.xcassets/weather_bg.imageset/weatehr_bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangfly11/MyAssistant/e83e97abcfd5e1f187afecda909750a701b1319a/MyAssistant/MyAssistant/Images.xcassets/weather_bg.imageset/weatehr_bg.jpg -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDocumentTypes 8 | 9 | 10 | CFBundleTypeName 11 | MKDirectionsRequest 12 | LSItemContentTypes 13 | 14 | com.apple.maps.directionsrequest 15 | 16 | 17 | 18 | CFBundleExecutable 19 | $(EXECUTABLE_NAME) 20 | CFBundleIdentifier 21 | $(PRODUCT_BUNDLE_IDENTIFIER) 22 | CFBundleInfoDictionaryVersion 23 | 6.0 24 | CFBundleName 25 | $(PRODUCT_NAME) 26 | CFBundlePackageType 27 | APPL 28 | CFBundleShortVersionString 29 | 1.0 30 | CFBundleSignature 31 | ???? 32 | CFBundleVersion 33 | 1 34 | LSRequiresIPhoneOS 35 | 36 | MKDirectionsApplicationSupportedModes 37 | 38 | MKDirectionsModeBike 39 | MKDirectionsModeCar 40 | MKDirectionsModeStreetCar 41 | MKDirectionsModeSubway 42 | MKDirectionsModeTaxi 43 | 44 | NSAppTransportSecurity 45 | 46 | NSAllowsArbitraryLoads 47 | 48 | 49 | NSLocationWhenInUseUsageDescription 50 | Hello 51 | UILaunchStoryboardName 52 | LaunchScreen 53 | UIMainStoryboardFile 54 | Main 55 | UIRequiredDeviceCapabilities 56 | 57 | armv7 58 | 59 | UIStatusBarHidden 60 | 61 | UISupportedInterfaceOrientations 62 | 63 | UIInterfaceOrientationPortrait 64 | 65 | LSApplicationQueriesSchemes 66 | 67 | comgooglemaps 68 | comgooglemaps-x-callback 69 | MyAssistant 70 | 71 | 72 | 73 | -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/LocationDetailViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // LocationDetailViewController.h 3 | // MyAssistant 4 | // 5 | // Created by Jiaxiang Li on 10/28/15. 6 | // Copyright © 2015 Jiaxiang Li. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | 12 | @interface LocationDetailViewController : UIViewController 13 | 14 | @property (strong,nonatomic) MKMapItem *mapItem; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/LocationEntity.h: -------------------------------------------------------------------------------- 1 | // 2 | // LocationEntity.h 3 | // MyAssistant 4 | // 5 | // Created by Jiaxiang Li on 10/24/15. 6 | // Copyright © 2015 Jiaxiang Li. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface LocationEntity : NSManagedObject 12 | @property (nonatomic,retain) NSString *cityName; 13 | @property (nonatomic,retain) NSString *countryCode; 14 | 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/LocationEntity.m: -------------------------------------------------------------------------------- 1 | // 2 | // LocationEntity.m 3 | // MyAssistant 4 | // 5 | // Created by Jiaxiang Li on 10/24/15. 6 | // Copyright © 2015 Jiaxiang Li. All rights reserved. 7 | // 8 | 9 | #import "LocationEntity.h" 10 | 11 | @implementation LocationEntity 12 | 13 | @dynamic cityName; 14 | @dynamic countryCode; 15 | 16 | -(NSString *)cityName { 17 | return self.cityName; 18 | } 19 | @end 20 | -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/MainViewCell.h: -------------------------------------------------------------------------------- 1 | // 2 | // MainViewCell.h 3 | // MyAssistant 4 | // 5 | // Created by Jiaxiang Li on 9/2/15. 6 | // Copyright (c) 2015 Jiaxiang Li. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface MainViewCell : UITableViewCell 12 | @property (weak, nonatomic) IBOutlet UIImageView *newsImage; 13 | 14 | @property (weak, nonatomic) IBOutlet UILabel *titleLabel; 15 | 16 | @property (weak, nonatomic) IBOutlet UILabel *abstractLabel; 17 | @end 18 | -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/MainViewCell.m: -------------------------------------------------------------------------------- 1 | // 2 | // MainViewCell.m 3 | // MyAssistant 4 | // 5 | // Created by Jiaxiang Li on 9/2/15. 6 | // Copyright (c) 2015 Jiaxiang Li. All rights reserved. 7 | // 8 | 9 | #import "MainViewCell.h" 10 | 11 | @implementation MainViewCell 12 | 13 | - (void)awakeFromNib { 14 | // Initialization code 15 | } 16 | 17 | - (void)setSelected:(BOOL)selected animated:(BOOL)animated { 18 | [super setSelected:selected animated:animated]; 19 | 20 | // Configure the view for the selected state 21 | } 22 | 23 | @end 24 | -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/MainViewCellWithoutImage.h: -------------------------------------------------------------------------------- 1 | // 2 | // MainViewCellWithoutImage.h 3 | // MyAssistant 4 | // 5 | // Created by Jiaxiang Li on 9/8/15. 6 | // Copyright (c) 2015 Jiaxiang Li. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface MainViewCellWithoutImage : UITableViewCell 12 | @property (strong, nonatomic) IBOutlet UILabel *titleLabel; 13 | @property (strong, nonatomic) IBOutlet UILabel *abstractLabel; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/MainViewCellWithoutImage.m: -------------------------------------------------------------------------------- 1 | // 2 | // MainViewCellWithoutImage.m 3 | // MyAssistant 4 | // 5 | // Created by Jiaxiang Li on 9/8/15. 6 | // Copyright (c) 2015 Jiaxiang Li. All rights reserved. 7 | // 8 | 9 | #import "MainViewCellWithoutImage.h" 10 | 11 | @implementation MainViewCellWithoutImage 12 | 13 | - (void)awakeFromNib { 14 | // Initialization code 15 | } 16 | 17 | - (void)setSelected:(BOOL)selected animated:(BOOL)animated { 18 | [super setSelected:selected animated:animated]; 19 | 20 | // Configure the view for the selected state 21 | } 22 | 23 | @end 24 | -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/MainViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // MainViewController.h 3 | // MyAssistant 4 | // 5 | // Created by Jiaxiang Li on 15/8/21. 6 | // Copyright (c) 2015年 Jiaxiang Li. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "NewsManageDelegate.h" 11 | #import "NewsManage.h" 12 | @interface MainViewController : UIViewController 13 | 14 | @property (weak, nonatomic) IBOutlet UIBarButtonItem *slideMenuButton; 15 | @property (weak, nonatomic) IBOutlet UITableView *tableView; 16 | 17 | @property (nonatomic) NewsManage *newsManage; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/MapViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // MapViewController.h 3 | // MyAssistant 4 | // 5 | // Created by Jiaxiang Li on 10/20/15. 6 | // Copyright © 2015 Jiaxiang Li. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface MapViewController : UIViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/MyAssistant-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // MyAssistant-Prefix.pch 3 | // MyAssistant 4 | // 5 | // Created by Jiaxiang Li on 9/6/15. 6 | // Copyright (c) 2015 Jiaxiang Li. All rights reserved. 7 | // 8 | 9 | #import#ifndef __IPHONE_5_0 10 | #warning "This project uses features only available in iOS SDK 5.0 and later." 11 | #endif 12 | 13 | #ifdef __OBJC__ 14 | #import 15 | #import 16 | #import 17 | #endif -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/NewNotesEntity.h: -------------------------------------------------------------------------------- 1 | // 2 | // NewNotesEntity.h 3 | // MyAssistant 4 | // 5 | // Created by Jiaxiang Li on 9/9/15. 6 | // Copyright (c) 2015 Jiaxiang Li. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | 12 | 13 | 14 | @interface NewNotesEntity : NSManagedObject 15 | 16 | @property (nonatomic, retain) NSString * body; 17 | @property (nonatomic, retain) NSString * title; 18 | @property (nonatomic, retain) NSString * location; 19 | @property (nonatomic) NSTimeInterval date; 20 | 21 | @property (nonatomic,readonly) NSString *sectionName; 22 | @end 23 | -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/NewNotesEntity.m: -------------------------------------------------------------------------------- 1 | // 2 | // NewNotesEntity.m 3 | // MyAssistant 4 | // 5 | // Created by Jiaxiang Li on 9/9/15. 6 | // Copyright (c) 2015 Jiaxiang Li. All rights reserved. 7 | // 8 | 9 | #import "NewNotesEntity.h" 10 | 11 | 12 | @implementation NewNotesEntity 13 | 14 | @dynamic body; 15 | @dynamic title; 16 | @dynamic location; 17 | @dynamic date; 18 | 19 | 20 | -(NSString *) sectionName { 21 | NSDate *date = [NSDate dateWithTimeIntervalSince1970:self.date]; 22 | 23 | 24 | NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init]; 25 | 26 | 27 | [dateFormatter setDateFormat:@"MM dd yyyy"]; 28 | 29 | 30 | return [dateFormatter stringFromDate:date]; 31 | 32 | } 33 | 34 | 35 | @end 36 | -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/NewsConnection.h: -------------------------------------------------------------------------------- 1 | // 2 | // NewsConnection.h 3 | // MyAssistant 4 | // 5 | // Created by Jiaxiang Li on 15/9/1. 6 | // Copyright © 2015年 Jiaxiang Li. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "NewsConnectionDelegate.h" 11 | 12 | @interface NewsConnection : NSObject 13 | 14 | 15 | -(void) connectData; 16 | 17 | @property (weak,nonatomic) id delegate; 18 | 19 | 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/NewsConnection.m: -------------------------------------------------------------------------------- 1 | // 2 | // NewsConnection.m 3 | // MyAssistant 4 | // 5 | // Created by Jiaxiang Li on 15/9/1. 6 | // Copyright © 2015年 Jiaxiang Li. All rights reserved. 7 | // 8 | 9 | #import "NewsConnection.h" 10 | 11 | @implementation NewsConnection 12 | 13 | -(void) connectData { 14 | 15 | NSString *urlStr = @"http://api.nytimes.com/svc/news/v3/content/nyt/world/24.json?limit=20&api-key=89cd7e0271d037f93a79dae804d76dda%3A10%3A72850940"; 16 | 17 | NSURL *url = [NSURL URLWithString:urlStr]; 18 | 19 | NSLog(@"%@",url); 20 | 21 | [NSURLConnection sendAsynchronousRequest:[[NSURLRequest alloc]initWithURL:url] queue:[[NSOperationQueue alloc]init] completionHandler:^(NSURLResponse *response, NSData *data, NSError *connectionError) { 22 | if (connectionError) { 23 | //NSLog(@"%@",connectionError); 24 | [self.delegate connectionFailedWithError:connectionError]; 25 | }else{ 26 | //NSLog(@"%@",data); 27 | [self.delegate receiveNewsJSON:data]; 28 | } 29 | }]; 30 | 31 | // 32 | // NSError *error = [[NSError alloc] initWithDomain:NSOSStatusErrorDomain code:1 userInfo:nil]; 33 | // 34 | // if (error) { 35 | // [self.delegate connectionFailedWithError:error]; 36 | // } 37 | } 38 | 39 | 40 | 41 | @end 42 | -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/NewsConnectionDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // NewsConnectionDelegate.h 3 | // MyAssistant 4 | // 5 | // Created by Jiaxiang Li on 15/9/1. 6 | // Copyright © 2015年 Jiaxiang Li. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @protocol NewsConnectionDelegate 12 | 13 | -(void) receiveNewsJSON: (NSData *) newsData; 14 | -(void) connectionFailedWithError:(NSError *) error; 15 | 16 | @end -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/NewsDetailViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // NewsDetailViewController.h 3 | // MyAssistant 4 | // 5 | // Created by Jiaxiang Li on 9/6/15. 6 | // Copyright (c) 2015 Jiaxiang Li. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface NewsDetailViewController : UIViewController 12 | 13 | @property (nonatomic,strong) NSString *urlString; 14 | 15 | @property (nonatomic,strong) IBOutlet UIWebView *webView; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/NewsDetailViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // NewsDetailViewController.m 3 | // MyAssistant 4 | // 5 | // Created by Jiaxiang Li on 9/6/15. 6 | // Copyright (c) 2015 Jiaxiang Li. All rights reserved. 7 | // 8 | 9 | #import "NewsDetailViewController.h" 10 | 11 | @interface NewsDetailViewController () 12 | 13 | @end 14 | 15 | @implementation NewsDetailViewController 16 | 17 | @synthesize webView; 18 | 19 | - (void)viewDidLoad { 20 | [super viewDidLoad]; 21 | // Do any additional setup after loading the view. 22 | 23 | NSURL *url = [NSURL URLWithString:self.urlString]; 24 | 25 | NSURLRequest *urlRequest = [NSURLRequest requestWithURL:url]; 26 | 27 | [webView loadRequest:urlRequest]; 28 | } 29 | 30 | - (void)didReceiveMemoryWarning { 31 | [super didReceiveMemoryWarning]; 32 | // Dispose of any resources that can be recreated. 33 | } 34 | 35 | /* 36 | #pragma mark - Navigation 37 | 38 | // In a storyboard-based application, you will often want to do a little preparation before navigation 39 | - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender { 40 | // Get the new view controller using [segue destinationViewController]. 41 | // Pass the selected object to the new view controller. 42 | } 43 | */ 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | @end 54 | -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/NewsEntry.h: -------------------------------------------------------------------------------- 1 | // 2 | // Entry.h 3 | // MyAssistant 4 | // 5 | // Created by Jiaxiang Li on 15/8/28. 6 | // Copyright (c) 2015年 Jiaxiang Li. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | 12 | @interface NewsEntry : NSObject 13 | 14 | @property (nonatomic,strong) NSString *newsTitle; 15 | @property (nonatomic,strong) UIImage *newsSmallImage; 16 | @property (nonatomic,strong) UIImage *newsLargeImage; 17 | @property (nonatomic,strong) NSString *newsDate; 18 | @property (nonatomic,strong) NSString *newsSection; 19 | @property (nonatomic,strong) NSString *newsLocation; 20 | @property (nonatomic,strong) NSString *newsAbstraction; 21 | @property (nonatomic,strong) NSString *newsURL; 22 | 23 | 24 | 25 | @end 26 | -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/NewsEntry.m: -------------------------------------------------------------------------------- 1 | // 2 | // Entry.m 3 | // MyAssistant 4 | // 5 | // Created by Jiaxiang Li on 15/8/28. 6 | // Copyright (c) 2015年 Jiaxiang Li. All rights reserved. 7 | // 8 | 9 | #import "NewsEntry.h" 10 | 11 | @implementation NewsEntry 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/NewsEntryBuilder.h: -------------------------------------------------------------------------------- 1 | // 2 | // EntryBuilder.h 3 | // MyAssistant 4 | // 5 | // Created by Jiaxiang Li on 15/8/28. 6 | // Copyright (c) 2015年 Jiaxiang Li. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface NewsEntryBuilder : NSObject 12 | 13 | +(NSArray *) newsFromJson:(NSData *) objectData error:(NSError **) error; 14 | @end 15 | -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/NewsEntryBuilder.m: -------------------------------------------------------------------------------- 1 | // 2 | // EntryBuilder.m 3 | // MyAssistant 4 | // 5 | // Created by Jiaxiang Li on 15/8/28. 6 | // Copyright (c) 2015年 Jiaxiang Li. All rights reserved. 7 | // 8 | 9 | #import "NewsEntryBuilder.h" 10 | #import "NewsEntry.h" 11 | 12 | @implementation NewsEntryBuilder 13 | 14 | +(NSArray *) newsFromJson:(NSData *)objectData error:(NSError **)error { 15 | 16 | NSMutableArray *finalNewsArray = [[NSMutableArray alloc] init]; 17 | 18 | NSError *localError = nil; 19 | 20 | NSDictionary *newsDictionary = [NSJSONSerialization JSONObjectWithData:objectData options:0 error:&localError]; 21 | 22 | //NSLog(@"%@",newsDictionary); 23 | 24 | if (localError != nil) { 25 | *error = localError; 26 | return nil; 27 | } 28 | 29 | 30 | NSArray *results = [newsDictionary objectForKey:@"results"]; 31 | 32 | for (NSDictionary *dict in results) { 33 | NewsEntry *news = [[NewsEntry alloc] init]; 34 | 35 | news.newsSection = [dict objectForKey:@"section"]; 36 | 37 | news.newsTitle = [dict objectForKey:@"title"]; 38 | 39 | news.newsAbstraction = [dict objectForKey:@"abstract"]; 40 | 41 | NSString *imageStr = [dict objectForKey:@"thumbnail_standard"]; 42 | 43 | NSURL *imageURL = [NSURL URLWithString:imageStr]; 44 | 45 | NSData *imageData = [NSData dataWithContentsOfURL:imageURL]; 46 | 47 | UIImage *imageIcon = [UIImage imageWithData:imageData]; 48 | 49 | news.newsSmallImage = imageIcon; 50 | 51 | news.newsURL = [dict objectForKey:@"url"]; 52 | // 53 | // news.newsDate = [dict objectForKey:@"updated_date"]; 54 | // 55 | // NSArray *mutimedia = [dict objectForKey:@"multimedia"]; 56 | // 57 | // 58 | // NSDictionary *tempDict = mutimedia[1]; 59 | // 60 | // NSString *imageStr2 = [tempDict objectForKey:@"url"]; 61 | // 62 | // NSURL *urlImage2 = [NSURL URLWithString:imageStr2]; 63 | // 64 | // NSData *dataImage2 = [NSData dataWithContentsOfURL:urlImage2]; 65 | // 66 | // UIImage *largeImage = [UIImage imageWithData:dataImage2]; 67 | // 68 | // news.newsLargeImage = largeImage; 69 | 70 | 71 | [finalNewsArray addObject:news]; 72 | //NSLog(@"fff================:%@",finalNewsArray); 73 | } 74 | 75 | //NSLog(@"finalArray:%@",finalNewsArray); 76 | 77 | return finalNewsArray; 78 | 79 | 80 | } 81 | 82 | 83 | 84 | 85 | @end 86 | -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/NewsManage.h: -------------------------------------------------------------------------------- 1 | // 2 | // NewsManage.h 3 | // MyAssistant 4 | // 5 | // Created by Jiaxiang Li on 15/9/1. 6 | // Copyright © 2015年 Jiaxiang Li. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "NewsConnectionDelegate.h" 11 | #import "NewsManageDelegate.h" 12 | #import "NewsConnection.h" 13 | 14 | @interface NewsManage : NSObject 15 | 16 | -(void) connectEntries; 17 | 18 | @property (nonatomic,weak) id delegate; 19 | @property (nonatomic,strong) NewsConnection *newsConnection; 20 | 21 | 22 | @end 23 | -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/NewsManage.m: -------------------------------------------------------------------------------- 1 | // 2 | // NewsManage.m 3 | // MyAssistant 4 | // 5 | // Created by Jiaxiang Li on 15/9/1. 6 | // Copyright © 2015年 Jiaxiang Li. All rights reserved. 7 | // 8 | 9 | #import "NewsManage.h" 10 | #import "NewsEntryBuilder.h" 11 | 12 | @implementation NewsManage 13 | 14 | -(void) connectEntries { 15 | [self.newsConnection connectData]; 16 | 17 | } 18 | 19 | 20 | 21 | -(void) receiveNewsJSON:(NSData *)newsData { 22 | 23 | NSError *error = nil; 24 | 25 | NSArray *newsEnties = [NewsEntryBuilder newsFromJson:newsData error:&error]; 26 | 27 | if (error) { 28 | [self.delegate connectionFailedWithError:error]; 29 | }else{ 30 | 31 | //NSLog(@"%@",newsEnties); 32 | 33 | [self.delegate didReceiveNewsEntries:newsEnties]; 34 | } 35 | 36 | } 37 | 38 | 39 | -(void) connectionFailedWithError:(NSError *)error { 40 | [self.delegate connectionFailedWithError:error]; 41 | 42 | } 43 | 44 | 45 | 46 | 47 | 48 | @end 49 | -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/NewsManageDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // NewsManageDelegate.h 3 | // MyAssistant 4 | // 5 | // Created by Jiaxiang Li on 15/9/1. 6 | // Copyright © 2015年 Jiaxiang Li. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @protocol NewsManageDelegate 12 | 13 | -(void) didReceiveNewsEntries:(NSArray *) newsEntries; 14 | -(void) connectionFailedWithError:(NSError *) error; 15 | 16 | @end -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/NotesViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // NotesViewController.h 3 | // MyAssistant 4 | // 5 | // Created by Jiaxiang Li on 15/8/23. 6 | // Copyright (c) 2015年 Jiaxiang Li. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface NotesViewController : UIViewController 12 | @property (weak, nonatomic) IBOutlet UITableView *tableView; 13 | @property (weak, nonatomic) IBOutlet UIBarButtonItem *slideMenuButton; 14 | @end 15 | -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/OriginWeatherViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // OriginWeatherViewController.h 3 | // MyAssistant 4 | // 5 | // Created by Jiaxiang Li on 11/12/15. 6 | // Copyright © 2015 Jiaxiang Li. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface OriginWeatherViewController : UIViewController 12 | 13 | 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/RouteViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // RouteViewController.h 3 | // MyAssistant 4 | // 5 | // Created by Jiaxiang Li on 10/20/15. 6 | // Copyright © 2015 Jiaxiang Li. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | #import 12 | 13 | @interface RouteViewController : UIViewController 14 | 15 | @property (strong,nonatomic) MKMapItem *startMapItem; 16 | @property (strong,nonatomic) MKMapItem *endMapItem; 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/SlideMenuCell.h: -------------------------------------------------------------------------------- 1 | // 2 | // SlideMenuCell.h 3 | // MyAssistant 4 | // 5 | // Created by Jiaxiang Li on 15/8/28. 6 | // Copyright (c) 2015年 Jiaxiang Li. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface SlideMenuCell : UITableViewCell 12 | @property (weak, nonatomic) IBOutlet UIImageView *imageIcon; 13 | @property (weak, nonatomic) IBOutlet UILabel *titleLabel; 14 | 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/SlideMenuCell.m: -------------------------------------------------------------------------------- 1 | // 2 | // SlideMenuCell.m 3 | // MyAssistant 4 | // 5 | // Created by Jiaxiang Li on 15/8/28. 6 | // Copyright (c) 2015年 Jiaxiang Li. All rights reserved. 7 | // 8 | 9 | #import "SlideMenuCell.h" 10 | 11 | @implementation SlideMenuCell 12 | 13 | - (void)awakeFromNib { 14 | // Initialization code 15 | } 16 | 17 | - (void)setSelected:(BOOL)selected animated:(BOOL)animated { 18 | [super setSelected:selected animated:animated]; 19 | 20 | // Configure the view for the selected state 21 | } 22 | 23 | @end 24 | -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/SlideMenuItems.h: -------------------------------------------------------------------------------- 1 | // 2 | // SlideMenuItems.h 3 | // MyAssistant 4 | // 5 | // Created by Jiaxiang Li on 15/8/23. 6 | // Copyright (c) 2015年 Jiaxiang Li. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface SlideMenuItems : NSObject 12 | @property (nonatomic) NSArray *items; 13 | 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/SlideMenuItems.m: -------------------------------------------------------------------------------- 1 | // 2 | // SlideMenuItems.m 3 | // MyAssistant 4 | // 5 | // Created by Jiaxiang Li on 15/8/23. 6 | // Copyright (c) 2015年 Jiaxiang Li. All rights reserved. 7 | // 8 | 9 | #import "SlideMenuItems.h" 10 | 11 | @implementation SlideMenuItems 12 | 13 | -(instancetype) init{ 14 | self = [super init]; 15 | if (self) { 16 | _items = [NSArray arrayWithObjects:@"News",@"Weather",@"Map",@"Notes", nil]; 17 | } 18 | 19 | 20 | return self; 21 | } 22 | 23 | 24 | 25 | @end 26 | -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/SlideMenuViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // SlideMenuViewController.h 3 | // MyAssistant 4 | // 5 | // Created by Jiaxiang Li on 15/8/31. 6 | // Copyright © 2015年 Jiaxiang Li. All rights reserved. 7 | // 8 | 9 | #import 10 | @class SlideMenuItems; 11 | @interface SlideMenuViewController : UIViewController 12 | 13 | 14 | @property (nonatomic) SlideMenuItems* menuItems; 15 | @property (weak, nonatomic) IBOutlet UITableView *tableView; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/WeatherClient.h: -------------------------------------------------------------------------------- 1 | // 2 | // WeatherClient.h 3 | // MyAssistant 4 | // 5 | // Created by Jiaxiang Li on 11/5/15. 6 | // Copyright © 2015 Jiaxiang Li. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "WeatherManagerDelegate.h" 11 | #import "WeatherClientDelegate.h" 12 | @import Foundation; 13 | @import CoreLocation; 14 | @interface WeatherClient : NSObject 15 | 16 | @property (nonatomic,weak) id delegate; 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/WeatherClientDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // WeatherClientDelegate.h 3 | // MyAssistant 4 | // 5 | // Created by Jiaxiang Li on 11/5/15. 6 | // Copyright © 2015 Jiaxiang Li. All rights reserved. 7 | // 8 | 9 | #import 10 | @class WeatherCondition; 11 | @protocol WeatherClientDelegate 12 | 13 | -(void) passWeatherConditonToViewController:(WeatherCondition *) condition; 14 | //-(void) passForcastWithOneDay:(NSMutableArray *) arrayCondition andDailyForcast:(NSMutableArray *) arrayDaily; 15 | -(void) passDailyForcastToViewController:(NSMutableArray *) arrayDaily; 16 | 17 | -(void) passHourlyForcastToViewController:(NSMutableArray *) arrayHourly; 18 | @end -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/WeatherCondition.h: -------------------------------------------------------------------------------- 1 | // 2 | // WeatherCondition.h 3 | // MyAssistant 4 | // 5 | // Created by Jiaxiang Li on 11/5/15. 6 | // Copyright © 2015 Jiaxiang Li. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface WeatherCondition : NSObject 12 | 13 | @property (nonatomic,strong) NSDate *date; 14 | @property (nonatomic,strong) NSNumber *humidity; 15 | @property (nonatomic,strong) NSNumber *temperature; 16 | @property (nonatomic,strong) NSNumber *tempHigh; 17 | @property (nonatomic,strong) NSNumber *tempLow; 18 | @property (nonatomic,strong) NSString *locationName; 19 | @property (nonatomic,strong) NSDate *sunrise; 20 | @property (nonatomic,strong) NSDate *sunset; 21 | @property (nonatomic,strong) NSString *conditionDescription; 22 | @property (nonatomic,strong) NSString *condition; 23 | @property (nonatomic,strong) NSNumber *windBearing; 24 | @property (nonatomic,strong) NSNumber *windSpeed; 25 | @property (nonatomic,strong) NSString *icon; 26 | 27 | -(NSString *) imageName:(NSString *) key; 28 | 29 | 30 | 31 | @end 32 | -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/WeatherCondition.m: -------------------------------------------------------------------------------- 1 | // 2 | // WeatherCondition.m 3 | // MyAssistant 4 | // 5 | // Created by Jiaxiang Li on 11/5/15. 6 | // Copyright © 2015 Jiaxiang Li. All rights reserved. 7 | // 8 | 9 | #import "WeatherCondition.h" 10 | 11 | @implementation WeatherCondition 12 | 13 | + (NSDictionary *)imageMap { 14 | 15 | static NSDictionary *_imageMap = nil; 16 | if (! _imageMap) { 17 | 18 | _imageMap = @{ 19 | @"01d" : @"weather-clear", 20 | @"02d" : @"weather-few", 21 | @"03d" : @"weather-few", 22 | @"04d" : @"weather-broken", 23 | @"09d" : @"weather-shower", 24 | @"10d" : @"weather-rain", 25 | @"11d" : @"weather-tstorm", 26 | @"13d" : @"weather-snow", 27 | @"50d" : @"weather-mist", 28 | @"01n" : @"weather-moon", 29 | @"02n" : @"weather-few-night", 30 | @"03n" : @"weather-few-night", 31 | @"04n" : @"weather-broken", 32 | @"09n" : @"weather-shower", 33 | @"10n" : @"weather-rain-night", 34 | @"11n" : @"weather-tstorm", 35 | @"13n" : @"weather-snow", 36 | @"50n" : @"weather-mist", 37 | }; 38 | } 39 | return _imageMap; 40 | } 41 | 42 | 43 | -(NSString *)imageName:(NSString *) key { 44 | return [WeatherCondition imageMap][key]; 45 | } 46 | 47 | @end 48 | -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/WeatherDailyForcast.h: -------------------------------------------------------------------------------- 1 | // 2 | // WeatherDailyForcast.h 3 | // MyAssistant 4 | // 5 | // Created by Jiaxiang Li on 11/5/15. 6 | // Copyright © 2015 Jiaxiang Li. All rights reserved. 7 | // 8 | 9 | #import "WeatherCondition.h" 10 | 11 | @interface WeatherDailyForcast : WeatherCondition 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/WeatherDailyForcast.m: -------------------------------------------------------------------------------- 1 | // 2 | // WeatherDailyForcast.m 3 | // MyAssistant 4 | // 5 | // Created by Jiaxiang Li on 11/5/15. 6 | // Copyright © 2015 Jiaxiang Li. All rights reserved. 7 | // 8 | 9 | #import "WeatherDailyForcast.h" 10 | 11 | @implementation WeatherDailyForcast 12 | 13 | 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/WeatherManager.h: -------------------------------------------------------------------------------- 1 | // 2 | // WeatherManager.h 3 | // MyAssistant 4 | // 5 | // Created by Jiaxiang Li on 11/5/15. 6 | // Copyright © 2015 Jiaxiang Li. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #import "WeatherCondition.h" 12 | #import "WeatherManagerDelegate.h" 13 | @import Foundation; 14 | @import CoreLocation; 15 | 16 | @interface WeatherManager : NSObject 17 | 18 | + (instancetype)sharedManager; 19 | 20 | 21 | @property (nonatomic, strong, readonly) CLLocation *currentLocation; 22 | @property (nonatomic, strong, readonly) WeatherCondition *currentCondition; 23 | @property (nonatomic, strong, readonly) NSArray *hourlyForecast; 24 | @property (nonatomic, strong, readonly) NSArray *dailyForecast; 25 | @property (nonatomic,weak) id delegate; 26 | 27 | - (void)findCurrentLocation; 28 | -(void) findWeatherWithCity: (NSString *) cityName; 29 | @end 30 | -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/WeatherManager.m: -------------------------------------------------------------------------------- 1 | // 2 | // WeatherManager.m 3 | // MyAssistant 4 | // 5 | // Created by Jiaxiang Li on 11/5/15. 6 | // Copyright © 2015 Jiaxiang Li. All rights reserved. 7 | // 8 | 9 | #import "WeatherManager.h" 10 | #import "WeatherClient.h" 11 | #import 12 | 13 | @interface WeatherManager () 14 | 15 | @property (nonatomic, strong, readwrite) WeatherCondition *currentCondition; 16 | @property (nonatomic, strong, readwrite) CLLocation *currentLocation; 17 | @property (nonatomic, strong, readwrite) NSArray *hourlyForecast; 18 | @property (nonatomic, strong, readwrite) NSArray *dailyForecast; 19 | 20 | 21 | @property (nonatomic, strong) CLLocationManager *locationManager; 22 | @property (nonatomic, assign) BOOL isFirstUpdate; 23 | @property (nonatomic, strong) WeatherClient *client; 24 | 25 | @end 26 | 27 | @implementation WeatherManager 28 | 29 | + (instancetype)sharedManager { 30 | static id _sharedManager = nil; 31 | static dispatch_once_t onceToken; 32 | dispatch_once(&onceToken, ^{ 33 | _sharedManager = [[self alloc] init]; 34 | }); 35 | 36 | return _sharedManager; 37 | } 38 | 39 | 40 | - (void)findCurrentLocation { 41 | self.isFirstUpdate = YES; 42 | self.locationManager = [[CLLocationManager alloc] init]; 43 | self.locationManager.desiredAccuracy = kCLLocationAccuracyBest; 44 | self.locationManager.delegate = self; 45 | 46 | [self.locationManager requestWhenInUseAuthorization]; 47 | 48 | [self.locationManager startUpdatingLocation]; 49 | } 50 | 51 | - (void)locationManager:(CLLocationManager *)manager didUpdateLocations:(NSArray *)locations { 52 | // 1 53 | // if (self.isFirstUpdate) { 54 | // self.isFirstUpdate = NO; 55 | // return; 56 | // } 57 | // 58 | // CLLocation *location = [locations lastObject]; 59 | // 60 | // // 2 61 | // if (location.horizontalAccuracy > 0) { 62 | // // 3 63 | // self.currentLocation = location; 64 | // [self.locationManager stopUpdatingLocation]; 65 | // } 66 | 67 | 68 | self.currentLocation = [locations lastObject]; 69 | //CLLocation *sb = [[CLLocation alloc]initWithLatitude:40.0f longitude:40.0f]; 70 | // CLLocationCoordinate2D sb = CLLocationCoordinate2DMake(40.0f, 40.0f); 71 | 72 | [self.delegate passLocationToClient:self.currentLocation]; 73 | [self.locationManager stopUpdatingLocation]; 74 | } 75 | 76 | -(void)findWeatherWithCity:(NSString *)cityName { 77 | [self.delegate passCityNameToClient:cityName]; 78 | } 79 | 80 | 81 | @end 82 | -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/WeatherManagerDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // WeatherManagerDelegate.h 3 | // MyAssistant 4 | // 5 | // Created by Jiaxiang Li on 11/5/15. 6 | // Copyright © 2015 Jiaxiang Li. All rights reserved. 7 | // 8 | 9 | #import 10 | @class CLLocation; 11 | 12 | @protocol WeatherManagerDelegate 13 | 14 | -(void) passLocationToClient:(CLLocation *) location; 15 | -(void) passCityNameToClient:(NSString *) cityName; 16 | @end -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/WeatherPageViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // WeatherPageViewController.h 3 | // MyAssistant 4 | // 5 | // Created by Jiaxiang Li on 11/12/15. 6 | // Copyright © 2015 Jiaxiang Li. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface WeatherPageViewController : UIPageViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/WeatherPageViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // WeatherPageViewController.m 3 | // MyAssistant 4 | // 5 | // Created by Jiaxiang Li on 11/12/15. 6 | // Copyright © 2015 Jiaxiang Li. All rights reserved. 7 | // 8 | 9 | #import "WeatherPageViewController.h" 10 | 11 | @interface WeatherPageViewController () 12 | 13 | @end 14 | 15 | @implementation WeatherPageViewController 16 | 17 | - (void)viewDidLoad { 18 | [super viewDidLoad]; 19 | // Do any additional setup after loading the view. 20 | } 21 | 22 | - (void)didReceiveMemoryWarning { 23 | [super didReceiveMemoryWarning]; 24 | // Dispose of any resources that can be recreated. 25 | } 26 | 27 | /* 28 | #pragma mark - Navigation 29 | 30 | // In a storyboard-based application, you will often want to do a little preparation before navigation 31 | - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender { 32 | // Get the new view controller using [segue destinationViewController]. 33 | // Pass the selected object to the new view controller. 34 | } 35 | */ 36 | 37 | @end 38 | -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/WeatherViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // WeatherViewController.h 3 | // MyAssistant 4 | // 5 | // Created by Jiaxiang Li on 11/4/15. 6 | // Copyright © 2015 Jiaxiang Li. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | @interface WeatherViewController : UIViewController 12 | @property (strong, nonatomic) IBOutlet UIImageView *backgroundImageView; 13 | 14 | @property (strong, nonatomic) IBOutlet UIImageView *blurredImageView; 15 | 16 | @property (strong,nonatomic) UITableView *tableView; 17 | 18 | @property (nonatomic) NSUInteger pageIndex; 19 | @property (strong,nonatomic) NSString *cityName; 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/city_list.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangfly11/MyAssistant/e83e97abcfd5e1f187afecda909750a701b1319a/MyAssistant/MyAssistant/city_list.txt -------------------------------------------------------------------------------- /MyAssistant/MyAssistant/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // MyAssistant 4 | // 5 | // Created by Jiaxiang Li on 15/8/21. 6 | // Copyright (c) 2015年 Jiaxiang Li. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "AppDelegate.h" 11 | 12 | int main(int argc, char * argv[]) { 13 | @autoreleasepool { 14 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /MyAssistant/MyAssistantTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /MyAssistant/MyAssistantTests/MyAssistantTests.m: -------------------------------------------------------------------------------- 1 | // 2 | // MyAssistantTests.m 3 | // MyAssistantTests 4 | // 5 | // Created by Jiaxiang Li on 15/8/21. 6 | // Copyright (c) 2015年 Jiaxiang Li. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | 12 | @interface MyAssistantTests : XCTestCase 13 | 14 | @end 15 | 16 | @implementation MyAssistantTests 17 | 18 | - (void)setUp { 19 | [super setUp]; 20 | // Put setup code here. This method is called before the invocation of each test method in the class. 21 | } 22 | 23 | - (void)tearDown { 24 | // Put teardown code here. This method is called after the invocation of each test method in the class. 25 | [super tearDown]; 26 | } 27 | 28 | - (void)testExample { 29 | // This is an example of a functional test case. 30 | XCTAssert(YES, @"Pass"); 31 | } 32 | 33 | - (void)testPerformanceExample { 34 | // This is an example of a performance test case. 35 | [self measureBlock:^{ 36 | // Put the code you want to measure the time of here. 37 | }]; 38 | } 39 | 40 | @end 41 | -------------------------------------------------------------------------------- /MyAssistant/Podfile: -------------------------------------------------------------------------------- 1 | platform :ios, '7.0' 2 | pod "AFNetworking", "~> 1.3.1" 3 | pod 'Mantle' 4 | pod 'LBBlurredImage' 5 | pod 'TSMessages' 6 | pod 'OpenWeatherMapAPI', '~> 0.0.5' 7 | 8 | -------------------------------------------------------------------------------- /MyAssistant/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - AFNetworking (1.3.4) 3 | - HexColors (2.2.1) 4 | - LBBlurredImage (0.2.2) 5 | - Mantle (2.0.5): 6 | - Mantle/extobjc (= 2.0.5) 7 | - Mantle/extobjc (2.0.5) 8 | - OpenWeatherMapAPI (0.0.5): 9 | - AFNetworking (~> 1.3.1) 10 | - TSMessages (0.9.12): 11 | - HexColors (~> 2.2.0) 12 | 13 | DEPENDENCIES: 14 | - AFNetworking (~> 1.3.1) 15 | - LBBlurredImage 16 | - Mantle 17 | - OpenWeatherMapAPI (~> 0.0.5) 18 | - TSMessages 19 | 20 | SPEC CHECKSUMS: 21 | AFNetworking: cf8e418e16f0c9c7e5c3150d019a3c679d015018 22 | HexColors: abfd172e329dab59888614ccba6f216cec59289d 23 | LBBlurredImage: 700634c17922bc2d22343118e7deb6a3ca12db43 24 | Mantle: 1912395033f601de5adc8ee91e48f46e4c7051ad 25 | OpenWeatherMapAPI: 53613bba3dffc948f852a66a25f512f7a16643e7 26 | TSMessages: c8cc7b80f2a833af533872cd02010cac061532cc 27 | 28 | COCOAPODS: 0.39.0 29 | -------------------------------------------------------------------------------- /MyAssistant/Pods/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangfly11/MyAssistant/e83e97abcfd5e1f187afecda909750a701b1319a/MyAssistant/Pods/.DS_Store -------------------------------------------------------------------------------- /MyAssistant/Pods/AFNetworking/AFNetworking/AFNetworking.h: -------------------------------------------------------------------------------- 1 | // AFNetworking.h 2 | // 3 | // Copyright (c) 2011 Gowalla (http://gowalla.com/) 4 | // 5 | // Permission is hereby granted, free of charge, to any person obtaining a copy 6 | // of this software and associated documentation files (the "Software"), to deal 7 | // in the Software without restriction, including without limitation the rights 8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | // copies of the Software, and to permit persons to whom the Software is 10 | // furnished to do so, subject to the following conditions: 11 | // 12 | // The above copyright notice and this permission notice shall be included in 13 | // all copies or substantial portions of the Software. 14 | // 15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | // THE SOFTWARE. 22 | 23 | #import 24 | #import 25 | 26 | #ifndef _AFNETWORKING_ 27 | #define _AFNETWORKING_ 28 | 29 | #import "AFURLConnectionOperation.h" 30 | 31 | #import "AFHTTPRequestOperation.h" 32 | #import "AFJSONRequestOperation.h" 33 | #import "AFXMLRequestOperation.h" 34 | #import "AFPropertyListRequestOperation.h" 35 | #import "AFHTTPClient.h" 36 | 37 | #import "AFImageRequestOperation.h" 38 | 39 | #if defined(__IPHONE_OS_VERSION_MIN_REQUIRED) 40 | #import "AFNetworkActivityIndicatorManager.h" 41 | #import "UIImageView+AFNetworking.h" 42 | #endif 43 | #endif /* _AFNETWORKING_ */ 44 | -------------------------------------------------------------------------------- /MyAssistant/Pods/AFNetworking/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2013-2014 AFNetworking (http://afnetworking.com/) 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /MyAssistant/Pods/Headers/Private/AFNetworking/AFHTTPClient.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/AFNetworking/AFHTTPClient.h -------------------------------------------------------------------------------- /MyAssistant/Pods/Headers/Private/AFNetworking/AFHTTPRequestOperation.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/AFNetworking/AFHTTPRequestOperation.h -------------------------------------------------------------------------------- /MyAssistant/Pods/Headers/Private/AFNetworking/AFImageRequestOperation.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/AFNetworking/AFImageRequestOperation.h -------------------------------------------------------------------------------- /MyAssistant/Pods/Headers/Private/AFNetworking/AFJSONRequestOperation.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/AFNetworking/AFJSONRequestOperation.h -------------------------------------------------------------------------------- /MyAssistant/Pods/Headers/Private/AFNetworking/AFNetworkActivityIndicatorManager.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/AFNetworking/AFNetworkActivityIndicatorManager.h -------------------------------------------------------------------------------- /MyAssistant/Pods/Headers/Private/AFNetworking/AFNetworking.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/AFNetworking/AFNetworking.h -------------------------------------------------------------------------------- /MyAssistant/Pods/Headers/Private/AFNetworking/AFPropertyListRequestOperation.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/AFNetworking/AFPropertyListRequestOperation.h -------------------------------------------------------------------------------- /MyAssistant/Pods/Headers/Private/AFNetworking/AFURLConnectionOperation.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/AFNetworking/AFURLConnectionOperation.h -------------------------------------------------------------------------------- /MyAssistant/Pods/Headers/Private/AFNetworking/AFXMLRequestOperation.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/AFNetworking/AFXMLRequestOperation.h -------------------------------------------------------------------------------- /MyAssistant/Pods/Headers/Private/AFNetworking/UIImageView+AFNetworking.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/AFNetworking/UIImageView+AFNetworking.h -------------------------------------------------------------------------------- /MyAssistant/Pods/Headers/Private/HexColors/HexColor.h: -------------------------------------------------------------------------------- 1 | ../../../HexColors/Classes/HexColor.h -------------------------------------------------------------------------------- /MyAssistant/Pods/Headers/Private/LBBlurredImage/UIImage+ImageEffects.h: -------------------------------------------------------------------------------- 1 | ../../../LBBlurredImage/LBBlurredImage/UIImage+ImageEffects.h -------------------------------------------------------------------------------- /MyAssistant/Pods/Headers/Private/LBBlurredImage/UIImageView+LBBlurredImage.h: -------------------------------------------------------------------------------- 1 | ../../../LBBlurredImage/LBBlurredImage/UIImageView+LBBlurredImage.h -------------------------------------------------------------------------------- /MyAssistant/Pods/Headers/Private/Mantle/EXTKeyPathCoding.h: -------------------------------------------------------------------------------- 1 | ../../../Mantle/Mantle/extobjc/EXTKeyPathCoding.h -------------------------------------------------------------------------------- /MyAssistant/Pods/Headers/Private/Mantle/EXTRuntimeExtensions.h: -------------------------------------------------------------------------------- 1 | ../../../Mantle/Mantle/extobjc/EXTRuntimeExtensions.h -------------------------------------------------------------------------------- /MyAssistant/Pods/Headers/Private/Mantle/EXTScope.h: -------------------------------------------------------------------------------- 1 | ../../../Mantle/Mantle/extobjc/EXTScope.h -------------------------------------------------------------------------------- /MyAssistant/Pods/Headers/Private/Mantle/MTLJSONAdapter.h: -------------------------------------------------------------------------------- 1 | ../../../Mantle/Mantle/MTLJSONAdapter.h -------------------------------------------------------------------------------- /MyAssistant/Pods/Headers/Private/Mantle/MTLModel+NSCoding.h: -------------------------------------------------------------------------------- 1 | ../../../Mantle/Mantle/MTLModel+NSCoding.h -------------------------------------------------------------------------------- /MyAssistant/Pods/Headers/Private/Mantle/MTLModel.h: -------------------------------------------------------------------------------- 1 | ../../../Mantle/Mantle/MTLModel.h -------------------------------------------------------------------------------- /MyAssistant/Pods/Headers/Private/Mantle/MTLReflection.h: -------------------------------------------------------------------------------- 1 | ../../../Mantle/Mantle/MTLReflection.h -------------------------------------------------------------------------------- /MyAssistant/Pods/Headers/Private/Mantle/MTLTransformerErrorHandling.h: -------------------------------------------------------------------------------- 1 | ../../../Mantle/Mantle/MTLTransformerErrorHandling.h -------------------------------------------------------------------------------- /MyAssistant/Pods/Headers/Private/Mantle/MTLValueTransformer.h: -------------------------------------------------------------------------------- 1 | ../../../Mantle/Mantle/MTLValueTransformer.h -------------------------------------------------------------------------------- /MyAssistant/Pods/Headers/Private/Mantle/Mantle.h: -------------------------------------------------------------------------------- 1 | ../../../Mantle/Mantle/Mantle.h -------------------------------------------------------------------------------- /MyAssistant/Pods/Headers/Private/Mantle/NSArray+MTLManipulationAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../Mantle/Mantle/NSArray+MTLManipulationAdditions.h -------------------------------------------------------------------------------- /MyAssistant/Pods/Headers/Private/Mantle/NSDictionary+MTLJSONKeyPath.h: -------------------------------------------------------------------------------- 1 | ../../../Mantle/Mantle/NSDictionary+MTLJSONKeyPath.h -------------------------------------------------------------------------------- /MyAssistant/Pods/Headers/Private/Mantle/NSDictionary+MTLManipulationAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../Mantle/Mantle/NSDictionary+MTLManipulationAdditions.h -------------------------------------------------------------------------------- /MyAssistant/Pods/Headers/Private/Mantle/NSDictionary+MTLMappingAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../Mantle/Mantle/NSDictionary+MTLMappingAdditions.h -------------------------------------------------------------------------------- /MyAssistant/Pods/Headers/Private/Mantle/NSError+MTLModelException.h: -------------------------------------------------------------------------------- 1 | ../../../Mantle/Mantle/NSError+MTLModelException.h -------------------------------------------------------------------------------- /MyAssistant/Pods/Headers/Private/Mantle/NSObject+MTLComparisonAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../Mantle/Mantle/NSObject+MTLComparisonAdditions.h -------------------------------------------------------------------------------- /MyAssistant/Pods/Headers/Private/Mantle/NSValueTransformer+MTLInversionAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../Mantle/Mantle/NSValueTransformer+MTLInversionAdditions.h -------------------------------------------------------------------------------- /MyAssistant/Pods/Headers/Private/Mantle/NSValueTransformer+MTLPredefinedTransformerAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../Mantle/Mantle/NSValueTransformer+MTLPredefinedTransformerAdditions.h -------------------------------------------------------------------------------- /MyAssistant/Pods/Headers/Private/Mantle/metamacros.h: -------------------------------------------------------------------------------- 1 | ../../../Mantle/Mantle/extobjc/metamacros.h -------------------------------------------------------------------------------- /MyAssistant/Pods/Headers/Private/OpenWeatherMapAPI/OWMWeatherAPI.h: -------------------------------------------------------------------------------- 1 | ../../../OpenWeatherMapAPI/OpenWeatherMapAPI/OpenWeatherMapAPI/OWMWeatherAPI.h -------------------------------------------------------------------------------- /MyAssistant/Pods/Headers/Private/TSMessages/TSBlurView.h: -------------------------------------------------------------------------------- 1 | ../../../TSMessages/Pod/Classes/TSBlurView.h -------------------------------------------------------------------------------- /MyAssistant/Pods/Headers/Private/TSMessages/TSMessage.h: -------------------------------------------------------------------------------- 1 | ../../../TSMessages/Pod/Classes/TSMessage.h -------------------------------------------------------------------------------- /MyAssistant/Pods/Headers/Private/TSMessages/TSMessageView.h: -------------------------------------------------------------------------------- 1 | ../../../TSMessages/Pod/Classes/TSMessageView.h -------------------------------------------------------------------------------- /MyAssistant/Pods/Headers/Public/AFNetworking/AFHTTPClient.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/AFNetworking/AFHTTPClient.h -------------------------------------------------------------------------------- /MyAssistant/Pods/Headers/Public/AFNetworking/AFHTTPRequestOperation.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/AFNetworking/AFHTTPRequestOperation.h -------------------------------------------------------------------------------- /MyAssistant/Pods/Headers/Public/AFNetworking/AFImageRequestOperation.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/AFNetworking/AFImageRequestOperation.h -------------------------------------------------------------------------------- /MyAssistant/Pods/Headers/Public/AFNetworking/AFJSONRequestOperation.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/AFNetworking/AFJSONRequestOperation.h -------------------------------------------------------------------------------- /MyAssistant/Pods/Headers/Public/AFNetworking/AFNetworkActivityIndicatorManager.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/AFNetworking/AFNetworkActivityIndicatorManager.h -------------------------------------------------------------------------------- /MyAssistant/Pods/Headers/Public/AFNetworking/AFNetworking.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/AFNetworking/AFNetworking.h -------------------------------------------------------------------------------- /MyAssistant/Pods/Headers/Public/AFNetworking/AFPropertyListRequestOperation.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/AFNetworking/AFPropertyListRequestOperation.h -------------------------------------------------------------------------------- /MyAssistant/Pods/Headers/Public/AFNetworking/AFURLConnectionOperation.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/AFNetworking/AFURLConnectionOperation.h -------------------------------------------------------------------------------- /MyAssistant/Pods/Headers/Public/AFNetworking/AFXMLRequestOperation.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/AFNetworking/AFXMLRequestOperation.h -------------------------------------------------------------------------------- /MyAssistant/Pods/Headers/Public/AFNetworking/UIImageView+AFNetworking.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/AFNetworking/UIImageView+AFNetworking.h -------------------------------------------------------------------------------- /MyAssistant/Pods/Headers/Public/HexColors/HexColor.h: -------------------------------------------------------------------------------- 1 | ../../../HexColors/Classes/HexColor.h -------------------------------------------------------------------------------- /MyAssistant/Pods/Headers/Public/LBBlurredImage/UIImageView+LBBlurredImage.h: -------------------------------------------------------------------------------- 1 | ../../../LBBlurredImage/LBBlurredImage/UIImageView+LBBlurredImage.h -------------------------------------------------------------------------------- /MyAssistant/Pods/Headers/Public/LBBlurredImage/UIImageView+LBBlurredImage.m: -------------------------------------------------------------------------------- 1 | ../../../LBBlurredImage/LBBlurredImage/UIImageView+LBBlurredImage.m -------------------------------------------------------------------------------- /MyAssistant/Pods/Headers/Public/Mantle/MTLJSONAdapter.h: -------------------------------------------------------------------------------- 1 | ../../../Mantle/Mantle/MTLJSONAdapter.h -------------------------------------------------------------------------------- /MyAssistant/Pods/Headers/Public/Mantle/MTLModel+NSCoding.h: -------------------------------------------------------------------------------- 1 | ../../../Mantle/Mantle/MTLModel+NSCoding.h -------------------------------------------------------------------------------- /MyAssistant/Pods/Headers/Public/Mantle/MTLModel.h: -------------------------------------------------------------------------------- 1 | ../../../Mantle/Mantle/MTLModel.h -------------------------------------------------------------------------------- /MyAssistant/Pods/Headers/Public/Mantle/MTLReflection.h: -------------------------------------------------------------------------------- 1 | ../../../Mantle/Mantle/MTLReflection.h -------------------------------------------------------------------------------- /MyAssistant/Pods/Headers/Public/Mantle/MTLTransformerErrorHandling.h: -------------------------------------------------------------------------------- 1 | ../../../Mantle/Mantle/MTLTransformerErrorHandling.h -------------------------------------------------------------------------------- /MyAssistant/Pods/Headers/Public/Mantle/MTLValueTransformer.h: -------------------------------------------------------------------------------- 1 | ../../../Mantle/Mantle/MTLValueTransformer.h -------------------------------------------------------------------------------- /MyAssistant/Pods/Headers/Public/Mantle/Mantle.h: -------------------------------------------------------------------------------- 1 | ../../../Mantle/Mantle/Mantle.h -------------------------------------------------------------------------------- /MyAssistant/Pods/Headers/Public/Mantle/NSArray+MTLManipulationAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../Mantle/Mantle/NSArray+MTLManipulationAdditions.h -------------------------------------------------------------------------------- /MyAssistant/Pods/Headers/Public/Mantle/NSDictionary+MTLJSONKeyPath.h: -------------------------------------------------------------------------------- 1 | ../../../Mantle/Mantle/NSDictionary+MTLJSONKeyPath.h -------------------------------------------------------------------------------- /MyAssistant/Pods/Headers/Public/Mantle/NSDictionary+MTLManipulationAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../Mantle/Mantle/NSDictionary+MTLManipulationAdditions.h -------------------------------------------------------------------------------- /MyAssistant/Pods/Headers/Public/Mantle/NSDictionary+MTLMappingAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../Mantle/Mantle/NSDictionary+MTLMappingAdditions.h -------------------------------------------------------------------------------- /MyAssistant/Pods/Headers/Public/Mantle/NSError+MTLModelException.h: -------------------------------------------------------------------------------- 1 | ../../../Mantle/Mantle/NSError+MTLModelException.h -------------------------------------------------------------------------------- /MyAssistant/Pods/Headers/Public/Mantle/NSObject+MTLComparisonAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../Mantle/Mantle/NSObject+MTLComparisonAdditions.h -------------------------------------------------------------------------------- /MyAssistant/Pods/Headers/Public/Mantle/NSValueTransformer+MTLInversionAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../Mantle/Mantle/NSValueTransformer+MTLInversionAdditions.h -------------------------------------------------------------------------------- /MyAssistant/Pods/Headers/Public/Mantle/NSValueTransformer+MTLPredefinedTransformerAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../Mantle/Mantle/NSValueTransformer+MTLPredefinedTransformerAdditions.h -------------------------------------------------------------------------------- /MyAssistant/Pods/Headers/Public/OpenWeatherMapAPI/OWMWeatherAPI.h: -------------------------------------------------------------------------------- 1 | ../../../OpenWeatherMapAPI/OpenWeatherMapAPI/OpenWeatherMapAPI/OWMWeatherAPI.h -------------------------------------------------------------------------------- /MyAssistant/Pods/Headers/Public/TSMessages/TSBlurView.h: -------------------------------------------------------------------------------- 1 | ../../../TSMessages/Pod/Classes/TSBlurView.h -------------------------------------------------------------------------------- /MyAssistant/Pods/Headers/Public/TSMessages/TSMessage.h: -------------------------------------------------------------------------------- 1 | ../../../TSMessages/Pod/Classes/TSMessage.h -------------------------------------------------------------------------------- /MyAssistant/Pods/Headers/Public/TSMessages/TSMessageView.h: -------------------------------------------------------------------------------- 1 | ../../../TSMessages/Pod/Classes/TSMessageView.h -------------------------------------------------------------------------------- /MyAssistant/Pods/HexColors/Classes/HexColor.h: -------------------------------------------------------------------------------- 1 | // 2 | // HexColor.h 3 | // 4 | // Created by Marius Landwehr on 02.12.12. 5 | // The MIT License (MIT) 6 | // Copyright (c) 2013 Marius Landwehr marius.landwehr@gmail.com 7 | // 8 | // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 9 | // 10 | // The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 11 | // 12 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 13 | // 14 | 15 | #if (TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE) 16 | #import 17 | #define HXColor UIColor 18 | #else 19 | #import 20 | #define HXColor NSColor 21 | #endif 22 | 23 | @interface HXColor (HexColorAddition) 24 | 25 | + (HXColor *)colorWithHexString:(NSString *)hexString; 26 | + (HXColor *)colorWithHexString:(NSString *)hexString alpha:(CGFloat)alpha; 27 | 28 | + (HXColor *)colorWith8BitRed:(NSInteger)red green:(NSInteger)green blue:(NSInteger)blue; 29 | + (HXColor *)colorWith8BitRed:(NSInteger)red green:(NSInteger)green blue:(NSInteger)blue alpha:(CGFloat)alpha; 30 | 31 | @end 32 | -------------------------------------------------------------------------------- /MyAssistant/Pods/HexColors/LICENCE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | Copyright (c) 2012 Marius Landwehr marius.landwehr@gmail.com 3 | 4 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 5 | 6 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 7 | 8 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 9 | -------------------------------------------------------------------------------- /MyAssistant/Pods/HexColors/README.md: -------------------------------------------------------------------------------- 1 | HexColors 2 | ========================= 3 | ![Badge w/ Version](http://cocoapod-badges.herokuapp.com/v/HexColors/badge.png) 4 | 5 | ![Badge w/ Version](http://cocoapod-badges.herokuapp.com/p/HexColors/badge.png) 6 | 7 | HexColors is drop in category for HexColor Support for NSColor and UIColor. Support for HexColors with prefixed # and without. 8 | 9 | #Example iOS 10 | ``` objective-c 11 | // with hash 12 | UIColor *colorWithHex = [UIColor colorWithHexString:@"#ff8942" alpha:1]; 13 | 14 | // without hash 15 | UIColor *secondColorWithHex = [UIColor colorWithHexString:@"ff8942" alpha:1]; 16 | 17 | // short handling 18 | UIColor *shortColorWithHex = [UIColor colorWithHexString:@"fff" alpha:1]; 19 | ``` 20 | 21 | #Example Mac OS X 22 | ``` objective-c 23 | // with hash 24 | NSColor *colorWithHex = [NSColor colorWithHexString:@"#ff8942" alpha:1]; 25 | 26 | // wihtout hash 27 | NSColor *secondColorWithHex = [NSColor colorWithHexString:@"ff8942" alpha:1]; 28 | 29 | // short handling 30 | NSColor *shortColorWithHex = [NSColor colorWithHexString:@"fff" alpha:1]; 31 | ``` 32 | 33 | #Installation 34 | * `#import HexColors.h` where you want to use easy as pie HexColors 35 | * `pod install HexColors` 36 | * or just drag the source files in your project 37 | 38 | ##Requirements 39 | HexColors requires [iOS 5.0](http://developer.apple.com/library/ios/#releasenotes/General/WhatsNewIniPhoneOS/Articles/iPhoneOS4.html) and above, and Mac OS X 10.6 40 | 41 | #ToDos 42 | * Implementing Hex Alpha values 43 | 44 | ##Credits 45 | HexColors was created by [Marius Landwehr](https://github.com/mRs-) because of the pain recalculating Hex values to RGB. 46 | 47 | HexColors was ported to Mac OS X by [holgersindbaek](https://github.com/holgersindbaek). 48 | 49 | ##Creator 50 | [Marius Landwehr](https://github.com/mRs-) [@mariusLAN](https://twitter.com/mariusLAN) 51 | 52 | ##License 53 | HexColors is available underthe MIT license. See the LICENSE file for more info. 54 | -------------------------------------------------------------------------------- /MyAssistant/Pods/LBBlurredImage/LBBlurredImage/UIImageView+LBBlurredImage.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIImageView+LBBlurredImage.h 3 | // LBBlurredImage 4 | // 5 | // Created by Luca Bernardi on 11/11/12. 6 | // Copyright (c) 2012 Luca Bernardi. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | typedef void(^LBBlurredImageCompletionBlock)(void); 12 | 13 | extern CGFloat const kLBBlurredImageDefaultBlurRadius; 14 | 15 | @interface UIImageView (LBBlurredImage) 16 | 17 | /** 18 | Set the blurred version of the provided image to the UIImageView 19 | 20 | @param UIImage the image to blur and set as UIImageView's image 21 | @param CGFLoat the radius of the blur used by the Gaussian filter 22 | @param LBBlurredImageCompletionBlock a completion block called after the image 23 | was blurred and set to the UIImageView (the block is dispatched on main thread) 24 | */ 25 | - (void)setImageToBlur:(UIImage *)image 26 | blurRadius:(CGFloat)blurRadius 27 | completionBlock:(LBBlurredImageCompletionBlock)completion; 28 | 29 | /** 30 | Set the blurred version of the provided image to the UIImageView 31 | with the default blur radius 32 | 33 | @param UIImage the image to blur and set as UIImageView's image 34 | @param LBBlurredImageCompletionBlock a completion block called after the image 35 | was blurred and set to the UIImageView (the block is dispatched on main thread) 36 | */ 37 | - (void)setImageToBlur:(UIImage *)image 38 | completionBlock:(LBBlurredImageCompletionBlock)completion; 39 | 40 | @end 41 | -------------------------------------------------------------------------------- /MyAssistant/Pods/LBBlurredImage/LBBlurredImage/UIImageView+LBBlurredImage.m: -------------------------------------------------------------------------------- 1 | // 2 | // UIImageView+LBBlurredImage.m 3 | // LBBlurredImage 4 | // 5 | // Created by Luca Bernardi on 11/11/12. 6 | // Copyright (c) 2012 Luca Bernardi. All rights reserved. 7 | // 8 | 9 | #import "UIImageView+LBBlurredImage.h" 10 | #import "UIImage+ImageEffects.h" 11 | 12 | CGFloat const kLBBlurredImageDefaultBlurRadius = 20.0; 13 | CGFloat const kLBBlurredImageDefaultSaturationDeltaFactor = 1.8; 14 | 15 | @implementation UIImageView (LBBlurredImage) 16 | 17 | #pragma mark - LBBlurredImage Additions 18 | 19 | - (void)setImageToBlur:(UIImage *)image 20 | completionBlock:(LBBlurredImageCompletionBlock)completion 21 | { 22 | [self setImageToBlur:image 23 | blurRadius:kLBBlurredImageDefaultBlurRadius 24 | completionBlock:completion]; 25 | } 26 | 27 | - (void)setImageToBlur:(UIImage *)image 28 | blurRadius:(CGFloat)blurRadius 29 | completionBlock:(LBBlurredImageCompletionBlock) completion 30 | { 31 | NSParameterAssert(image); 32 | blurRadius = (blurRadius <= 0) ? : kLBBlurredImageDefaultBlurRadius; 33 | dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{ 34 | 35 | UIImage *blurredImage = [image applyBlurWithRadius:blurRadius 36 | tintColor:nil 37 | saturationDeltaFactor:kLBBlurredImageDefaultSaturationDeltaFactor 38 | maskImage:nil]; 39 | 40 | dispatch_async(dispatch_get_main_queue(), ^{ 41 | self.image = blurredImage; 42 | if (completion) { 43 | completion(); 44 | } 45 | }); 46 | }); 47 | } 48 | 49 | @end 50 | -------------------------------------------------------------------------------- /MyAssistant/Pods/LBBlurredImage/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2012 Luca Bernardi (http://lucabernardi.com) 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. -------------------------------------------------------------------------------- /MyAssistant/Pods/LBBlurredImage/README.md: -------------------------------------------------------------------------------- 1 | LBBlurredImage 2 | ============ 3 | 4 | LBBlurredImage is an UIImageView category that permit to set an image and make this blurred. 5 | 6 | Here are an example of what you can achieve: 7 | 8 | ![](https://raw.github.com/lukabernardi/LBBlurredImage/master/Resources/SimulatorScreenshot.png) 9 | 10 | Installation 11 | ============ 12 | ## Copy file 13 | This code must be used with deploy target 6.0+ and under ARC. 14 | If your code doesn't use ARC you can [mark this source with the compiler flag](http://www.codeography.com/2011/10/10/making-arc-and-non-arc-play-nice.html) `-fobjc-arc` 15 | 16 | - Just grab the two file named `UIImageView+LBBlurredImage.{h,m}` and `UIImageImage+ImageEffects.{h,m}` in the Additions group into your project and link with Accelerate.framework . 17 | - `#import "UIImageView+LBBlurredImage.h"` where you need it. 18 | 19 | ## CocoaPods 20 | 21 | You can use [CocoaPods](http://cocoapods.org) to manage your dependencies and install *LBBlurredImage*. 22 | Follow the instructions on the CocoaPods site to [install the gem](https://github.com/CocoaPods/CocoaPods#installation) and add `pod 'LBBlurredImage'` to your *Podfile*. 23 | 24 | 25 | Use 26 | ============ 27 | 28 | ``` objective-c 29 | [self.imageView setImageToBlur:[UIImage imageNamed:@"example"] 30 | blurRadius:kLBBlurredImageDefaultBlurRadius 31 | completionBlock:^(){ 32 | NSLog(@"The blurred image has been set"); 33 | }]; 34 | ``` 35 | 36 | The generation of the blurred image is made on a background thread, for this reason a completion block is provided. The completionBlock is dispatched on the main thread when the image has been generated and set to the UIImageView. 37 | 38 | The code is provided with an example project if you want to see the class in actions. 39 | 40 | License 41 | ============ 42 | LBBlurredImage is available under the MIT license. See the LICENSE file for more info. 43 | -------------------------------------------------------------------------------- /MyAssistant/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - AFNetworking (1.3.4) 3 | - HexColors (2.2.1) 4 | - LBBlurredImage (0.2.2) 5 | - Mantle (2.0.5): 6 | - Mantle/extobjc (= 2.0.5) 7 | - Mantle/extobjc (2.0.5) 8 | - OpenWeatherMapAPI (0.0.5): 9 | - AFNetworking (~> 1.3.1) 10 | - TSMessages (0.9.12): 11 | - HexColors (~> 2.2.0) 12 | 13 | DEPENDENCIES: 14 | - AFNetworking (~> 1.3.1) 15 | - LBBlurredImage 16 | - Mantle 17 | - OpenWeatherMapAPI (~> 0.0.5) 18 | - TSMessages 19 | 20 | SPEC CHECKSUMS: 21 | AFNetworking: cf8e418e16f0c9c7e5c3150d019a3c679d015018 22 | HexColors: abfd172e329dab59888614ccba6f216cec59289d 23 | LBBlurredImage: 700634c17922bc2d22343118e7deb6a3ca12db43 24 | Mantle: 1912395033f601de5adc8ee91e48f46e4c7051ad 25 | OpenWeatherMapAPI: 53613bba3dffc948f852a66a25f512f7a16643e7 26 | TSMessages: c8cc7b80f2a833af533872cd02010cac061532cc 27 | 28 | COCOAPODS: 0.39.0 29 | -------------------------------------------------------------------------------- /MyAssistant/Pods/Mantle/LICENSE.md: -------------------------------------------------------------------------------- 1 | **Copyright (c) GitHub, Inc.** 2 | **All rights reserved.** 3 | 4 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 5 | 6 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 7 | 8 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 9 | 10 | --- 11 | 12 | **This project uses portions of code from the Proton framework.** 13 | **Proton is copyright (c) 2012, Bitswift, Inc.** 14 | **All rights reserved.** 15 | 16 | Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 17 | 18 | * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 19 | * Neither the name of the Bitswift, Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. 20 | 21 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 22 | -------------------------------------------------------------------------------- /MyAssistant/Pods/Mantle/Mantle/MTLReflection.h: -------------------------------------------------------------------------------- 1 | // 2 | // MTLReflection.h 3 | // Mantle 4 | // 5 | // Created by Justin Spahr-Summers on 2013-03-12. 6 | // Copyright (c) 2013 GitHub. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | /// Creates a selector from a key and a constant string. 12 | /// 13 | /// key - The key to insert into the generated selector. This key should be in 14 | /// its natural case. 15 | /// suffix - A string to append to the key as part of the selector. 16 | /// 17 | /// Returns a selector, or NULL if the input strings cannot form a valid 18 | /// selector. 19 | SEL MTLSelectorWithKeyPattern(NSString *key, const char *suffix) __attribute__((pure, nonnull(1, 2))); 20 | 21 | /// Creates a selector from a key and a constant prefix and suffix. 22 | /// 23 | /// prefix - A string to prepend to the key as part of the selector. 24 | /// key - The key to insert into the generated selector. This key should be in 25 | /// its natural case, and will have its first letter capitalized when 26 | /// inserted. 27 | /// suffix - A string to append to the key as part of the selector. 28 | /// 29 | /// Returns a selector, or NULL if the input strings cannot form a valid 30 | /// selector. 31 | SEL MTLSelectorWithCapitalizedKeyPattern(const char *prefix, NSString *key, const char *suffix) __attribute__((pure, nonnull(1, 2, 3))); 32 | -------------------------------------------------------------------------------- /MyAssistant/Pods/Mantle/Mantle/MTLReflection.m: -------------------------------------------------------------------------------- 1 | // 2 | // MTLReflection.m 3 | // Mantle 4 | // 5 | // Created by Justin Spahr-Summers on 2013-03-12. 6 | // Copyright (c) 2013 GitHub. All rights reserved. 7 | // 8 | 9 | #import "MTLReflection.h" 10 | #import 11 | 12 | SEL MTLSelectorWithKeyPattern(NSString *key, const char *suffix) { 13 | NSUInteger keyLength = [key maximumLengthOfBytesUsingEncoding:NSUTF8StringEncoding]; 14 | NSUInteger suffixLength = strlen(suffix); 15 | 16 | char selector[keyLength + suffixLength + 1]; 17 | 18 | BOOL success = [key getBytes:selector maxLength:keyLength usedLength:&keyLength encoding:NSUTF8StringEncoding options:0 range:NSMakeRange(0, key.length) remainingRange:NULL]; 19 | if (!success) return NULL; 20 | 21 | memcpy(selector + keyLength, suffix, suffixLength); 22 | selector[keyLength + suffixLength] = '\0'; 23 | 24 | return sel_registerName(selector); 25 | } 26 | 27 | SEL MTLSelectorWithCapitalizedKeyPattern(const char *prefix, NSString *key, const char *suffix) { 28 | NSUInteger prefixLength = strlen(prefix); 29 | NSUInteger suffixLength = strlen(suffix); 30 | 31 | NSString *initial = [key substringToIndex:1].uppercaseString; 32 | NSUInteger initialLength = [initial maximumLengthOfBytesUsingEncoding:NSUTF8StringEncoding]; 33 | 34 | NSString *rest = [key substringFromIndex:1]; 35 | NSUInteger restLength = [rest maximumLengthOfBytesUsingEncoding:NSUTF8StringEncoding]; 36 | 37 | char selector[prefixLength + initialLength + restLength + suffixLength + 1]; 38 | memcpy(selector, prefix, prefixLength); 39 | 40 | BOOL success = [initial getBytes:selector + prefixLength maxLength:initialLength usedLength:&initialLength encoding:NSUTF8StringEncoding options:0 range:NSMakeRange(0, initial.length) remainingRange:NULL]; 41 | if (!success) return NULL; 42 | 43 | success = [rest getBytes:selector + prefixLength + initialLength maxLength:restLength usedLength:&restLength encoding:NSUTF8StringEncoding options:0 range:NSMakeRange(0, rest.length) remainingRange:NULL]; 44 | if (!success) return NULL; 45 | 46 | memcpy(selector + prefixLength + initialLength + restLength, suffix, suffixLength); 47 | selector[prefixLength + initialLength + restLength + suffixLength] = '\0'; 48 | 49 | return sel_registerName(selector); 50 | } 51 | -------------------------------------------------------------------------------- /MyAssistant/Pods/Mantle/Mantle/MTLTransformerErrorHandling.m: -------------------------------------------------------------------------------- 1 | // 2 | // MTLTransformerErrorHandling.h 3 | // Mantle 4 | // 5 | // Created by Robert Böhnke on 10/6/13. 6 | // Copyright (c) 2013 GitHub. All rights reserved. 7 | // 8 | 9 | #import "MTLTransformerErrorHandling.h" 10 | 11 | NSString * const MTLTransformerErrorHandlingErrorDomain = @"MTLTransformerErrorHandlingErrorDomain"; 12 | 13 | const NSInteger MTLTransformerErrorHandlingErrorInvalidInput = 1; 14 | 15 | NSString * const MTLTransformerErrorHandlingInputValueErrorKey = @"MTLTransformerErrorHandlingInputValueErrorKey"; 16 | -------------------------------------------------------------------------------- /MyAssistant/Pods/Mantle/Mantle/MTLValueTransformer.h: -------------------------------------------------------------------------------- 1 | // 2 | // MTLValueTransformer.h 3 | // Mantle 4 | // 5 | // Created by Justin Spahr-Summers on 2012-09-11. 6 | // Copyright (c) 2012 GitHub. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #import "MTLTransformerErrorHandling.h" 12 | 13 | /// A block that represents a transformation. 14 | /// 15 | /// value - The value to transform. 16 | /// success - The block must set this parameter to indicate whether the 17 | /// transformation was successful. 18 | /// MTLValueTransformer will always call this block with *success 19 | /// initialized to YES. 20 | /// error - If not NULL, this may be set to an error that occurs during 21 | /// transforming the value. 22 | /// 23 | /// Returns the result of the transformation, which may be nil. 24 | typedef id (^MTLValueTransformerBlock)(id value, BOOL *success, NSError **error); 25 | 26 | /// 27 | /// A value transformer supporting block-based transformation. 28 | /// 29 | @interface MTLValueTransformer : NSValueTransformer 30 | 31 | /// Returns a transformer which transforms values using the given block. Reverse 32 | /// transformations will not be allowed. 33 | + (instancetype)transformerUsingForwardBlock:(MTLValueTransformerBlock)transformation; 34 | 35 | /// Returns a transformer which transforms values using the given block, for 36 | /// forward or reverse transformations. 37 | + (instancetype)transformerUsingReversibleBlock:(MTLValueTransformerBlock)transformation; 38 | 39 | /// Returns a transformer which transforms values using the given blocks. 40 | + (instancetype)transformerUsingForwardBlock:(MTLValueTransformerBlock)forwardTransformation reverseBlock:(MTLValueTransformerBlock)reverseTransformation; 41 | 42 | @end 43 | 44 | @interface MTLValueTransformer (Deprecated) 45 | 46 | + (NSValueTransformer *)transformerWithBlock:(id (^)(id))transformationBlock __attribute__((deprecated("Replaced by +transformerUsingForwardBlock:"))); 47 | 48 | + (NSValueTransformer *)reversibleTransformerWithBlock:(id (^)(id))transformationBlock __attribute__((deprecated("Replaced by +transformerUsingReversibleBlock:"))); 49 | 50 | + (NSValueTransformer *)reversibleTransformerWithForwardBlock:(id (^)(id))forwardBlock reverseBlock:(id (^)(id))reverseBlock __attribute__((deprecated("Replaced by +transformerUsingForwardBlock:reverseBlock:"))); 51 | 52 | @end 53 | -------------------------------------------------------------------------------- /MyAssistant/Pods/Mantle/Mantle/Mantle.h: -------------------------------------------------------------------------------- 1 | // 2 | // Mantle.h 3 | // Mantle 4 | // 5 | // Created by Justin Spahr-Summers on 2012-09-04. 6 | // Copyright (c) 2012 GitHub. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | //! Project version number for Mantle. 12 | FOUNDATION_EXPORT double MantleVersionNumber; 13 | 14 | //! Project version string for Mantle. 15 | FOUNDATION_EXPORT const unsigned char MantleVersionString[]; 16 | 17 | #import 18 | #import 19 | #import 20 | #import 21 | #import 22 | #import 23 | #import 24 | #import 25 | #import 26 | #import 27 | #import 28 | -------------------------------------------------------------------------------- /MyAssistant/Pods/Mantle/Mantle/NSArray+MTLManipulationAdditions.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSArray+MTLManipulationAdditions.h 3 | // Mantle 4 | // 5 | // Created by Josh Abernathy on 9/19/12. 6 | // Copyright (c) 2012 GitHub. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface NSArray (MTLManipulationAdditions) 12 | 13 | /// The first object in the array or nil if the array is empty. 14 | /// Forwards to `firstObject` which has been first declared in iOS7, but works with iOS4/10.6. 15 | @property (nonatomic, readonly, strong) id mtl_firstObject; 16 | 17 | /// Returns a new array without all instances of the given object. 18 | - (NSArray *)mtl_arrayByRemovingObject:(id)object; 19 | 20 | /// Returns a new array without the first object. If the array is empty, it 21 | /// returns the empty array. 22 | - (NSArray *)mtl_arrayByRemovingFirstObject; 23 | 24 | /// Returns a new array without the last object. If the array is empty, it 25 | /// returns the empty array. 26 | - (NSArray *)mtl_arrayByRemovingLastObject; 27 | 28 | @end 29 | -------------------------------------------------------------------------------- /MyAssistant/Pods/Mantle/Mantle/NSArray+MTLManipulationAdditions.m: -------------------------------------------------------------------------------- 1 | // 2 | // NSArray+MTLManipulationAdditions.m 3 | // Mantle 4 | // 5 | // Created by Josh Abernathy on 9/19/12. 6 | // Copyright (c) 2012 GitHub. All rights reserved. 7 | // 8 | 9 | #import "NSArray+MTLManipulationAdditions.h" 10 | 11 | @interface NSArray (MTLDeclarations) 12 | 13 | // This declaration is needed so Mantle can be compiled with SDK 6 / 10.8. 14 | - (id)firstObject; 15 | 16 | @end 17 | 18 | @implementation NSArray (MTLManipulationAdditions) 19 | 20 | - (id)mtl_firstObject { 21 | return self.firstObject; 22 | } 23 | 24 | - (instancetype)mtl_arrayByRemovingObject:(id)object { 25 | NSMutableArray *result = [self mutableCopy]; 26 | [result removeObject:object]; 27 | return result; 28 | } 29 | 30 | - (instancetype)mtl_arrayByRemovingFirstObject { 31 | if (self.count == 0) return self; 32 | 33 | return [self subarrayWithRange:NSMakeRange(1, self.count - 1)]; 34 | } 35 | 36 | - (instancetype)mtl_arrayByRemovingLastObject { 37 | if (self.count == 0) return self; 38 | 39 | return [self subarrayWithRange:NSMakeRange(0, self.count - 1)]; 40 | } 41 | 42 | @end 43 | -------------------------------------------------------------------------------- /MyAssistant/Pods/Mantle/Mantle/NSDictionary+MTLJSONKeyPath.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSDictionary+MTLJSONKeyPath.h 3 | // Mantle 4 | // 5 | // Created by Robert Böhnke on 19/03/14. 6 | // Copyright (c) 2014 GitHub. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface NSDictionary (MTLJSONKeyPath) 12 | 13 | /// Looks up the value of a key path in the receiver. 14 | /// 15 | /// JSONKeyPath - The key path that should be resolved. Every element along this 16 | /// key path needs to be an instance of NSDictionary for the 17 | /// resolving to be successful. 18 | /// success - If not NULL, this will be set to a boolean indicating whether 19 | /// the key path was resolved successfully. 20 | /// error - If not NULL, this may be set to an error that occurs during 21 | /// resolving the value. 22 | /// 23 | /// Returns the value for the key path which may be nil. Clients should inspect 24 | /// the success parameter to decide how to proceed with the result. 25 | - (id)mtl_valueForJSONKeyPath:(NSString *)JSONKeyPath success:(BOOL *)success error:(NSError **)error; 26 | 27 | @end 28 | -------------------------------------------------------------------------------- /MyAssistant/Pods/Mantle/Mantle/NSDictionary+MTLJSONKeyPath.m: -------------------------------------------------------------------------------- 1 | // 2 | // NSDictionary+MTLJSONKeyPath.m 3 | // Mantle 4 | // 5 | // Created by Robert Böhnke on 19/03/14. 6 | // Copyright (c) 2014 GitHub. All rights reserved. 7 | // 8 | 9 | #import "NSDictionary+MTLJSONKeyPath.h" 10 | 11 | #import "MTLJSONAdapter.h" 12 | 13 | @implementation NSDictionary (MTLJSONKeyPath) 14 | 15 | - (id)mtl_valueForJSONKeyPath:(NSString *)JSONKeyPath success:(BOOL *)success error:(NSError **)error { 16 | NSArray *components = [JSONKeyPath componentsSeparatedByString:@"."]; 17 | 18 | id result = self; 19 | for (NSString *component in components) { 20 | // Check the result before resolving the key path component to not 21 | // affect the last value of the path. 22 | if (result == nil || result == NSNull.null) break; 23 | 24 | if (![result isKindOfClass:NSDictionary.class]) { 25 | if (error != NULL) { 26 | NSDictionary *userInfo = @{ 27 | NSLocalizedDescriptionKey: NSLocalizedString(@"Invalid JSON dictionary", @""), 28 | NSLocalizedFailureReasonErrorKey: [NSString stringWithFormat:NSLocalizedString(@"JSON key path %1$@ could not resolved because an incompatible JSON dictionary was supplied: \"%2$@\"", @""), JSONKeyPath, self] 29 | }; 30 | 31 | *error = [NSError errorWithDomain:MTLJSONAdapterErrorDomain code:MTLJSONAdapterErrorInvalidJSONDictionary userInfo:userInfo]; 32 | } 33 | 34 | if (success != NULL) *success = NO; 35 | 36 | return nil; 37 | } 38 | 39 | result = result[component]; 40 | } 41 | 42 | if (success != NULL) *success = YES; 43 | 44 | return result; 45 | } 46 | 47 | @end 48 | -------------------------------------------------------------------------------- /MyAssistant/Pods/Mantle/Mantle/NSDictionary+MTLManipulationAdditions.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSDictionary+MTLManipulationAdditions.h 3 | // Mantle 4 | // 5 | // Created by Justin Spahr-Summers on 2012-09-24. 6 | // Copyright (c) 2012 GitHub. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface NSDictionary (MTLManipulationAdditions) 12 | 13 | /// Merges the keys and values from the given dictionary into the receiver. If 14 | /// both the receiver and `dictionary` have a given key, the value from 15 | /// `dictionary` is used. 16 | /// 17 | /// Returns a new dictionary containing the entries of the receiver combined with 18 | /// those of `dictionary`. 19 | - (NSDictionary *)mtl_dictionaryByAddingEntriesFromDictionary:(NSDictionary *)dictionary; 20 | 21 | /// Creates a new dictionary with all the entries for the given keys removed from 22 | /// the receiver. 23 | - (NSDictionary *)mtl_dictionaryByRemovingValuesForKeys:(NSArray *)keys; 24 | 25 | @end 26 | 27 | @interface NSDictionary (MTLManipulationAdditions_Deprecated) 28 | 29 | - (NSDictionary *)mtl_dictionaryByRemovingEntriesWithKeys:(NSSet *)keys __attribute__((deprecated("Replaced by -mtl_dictionaryByRemovingValuesForKeys:"))); 30 | 31 | @end 32 | -------------------------------------------------------------------------------- /MyAssistant/Pods/Mantle/Mantle/NSDictionary+MTLManipulationAdditions.m: -------------------------------------------------------------------------------- 1 | // 2 | // NSDictionary+MTLManipulationAdditions.m 3 | // Mantle 4 | // 5 | // Created by Justin Spahr-Summers on 2012-09-24. 6 | // Copyright (c) 2012 GitHub. All rights reserved. 7 | // 8 | 9 | #import "NSDictionary+MTLManipulationAdditions.h" 10 | 11 | @implementation NSDictionary (MTLManipulationAdditions) 12 | 13 | - (NSDictionary *)mtl_dictionaryByAddingEntriesFromDictionary:(NSDictionary *)dictionary { 14 | NSMutableDictionary *result = [self mutableCopy]; 15 | [result addEntriesFromDictionary:dictionary]; 16 | return result; 17 | } 18 | 19 | - (NSDictionary *)mtl_dictionaryByRemovingValuesForKeys:(NSArray *)keys { 20 | NSMutableDictionary *result = [self mutableCopy]; 21 | [result removeObjectsForKeys:keys]; 22 | return result; 23 | } 24 | 25 | @end 26 | 27 | @implementation NSDictionary (MTLManipulationAdditions_Deprecated) 28 | 29 | #pragma clang diagnostic push 30 | #pragma clang diagnostic ignored "-Wdeprecated" 31 | 32 | - (NSDictionary *)mtl_dictionaryByRemovingEntriesWithKeys:(NSSet *)keys { 33 | return [self mtl_dictionaryByRemovingValuesForKeys:keys.allObjects]; 34 | } 35 | 36 | #pragma clang diagnostic pop 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /MyAssistant/Pods/Mantle/Mantle/NSDictionary+MTLMappingAdditions.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSDictionary+MTLMappingAdditions.h 3 | // Mantle 4 | // 5 | // Created by Robert Böhnke on 10/31/13. 6 | // Copyright (c) 2013 GitHub. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface NSDictionary (MTLMappingAdditions) 12 | 13 | /// Creates an identity mapping for serialization. 14 | /// 15 | /// class - A subclass of MTLModel. 16 | /// 17 | /// Returns a dictionary that maps all properties of the given class to 18 | /// themselves. 19 | + (NSDictionary *)mtl_identityPropertyMapWithModel:(Class)modelClass; 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /MyAssistant/Pods/Mantle/Mantle/NSDictionary+MTLMappingAdditions.m: -------------------------------------------------------------------------------- 1 | // 2 | // NSDictionary+MTLMappingAdditions.m 3 | // Mantle 4 | // 5 | // Created by Robert Böhnke on 10/31/13. 6 | // Copyright (c) 2013 GitHub. All rights reserved. 7 | // 8 | 9 | #import "MTLModel.h" 10 | 11 | #import "NSDictionary+MTLMappingAdditions.h" 12 | 13 | @implementation NSDictionary (MTLMappingAdditions) 14 | 15 | + (NSDictionary *)mtl_identityPropertyMapWithModel:(Class)modelClass { 16 | NSCParameterAssert([modelClass isSubclassOfClass:MTLModel.class]); 17 | 18 | NSArray *propertyKeys = [modelClass propertyKeys].allObjects; 19 | 20 | return [NSDictionary dictionaryWithObjects:propertyKeys forKeys:propertyKeys]; 21 | } 22 | 23 | @end 24 | -------------------------------------------------------------------------------- /MyAssistant/Pods/Mantle/Mantle/NSError+MTLModelException.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSError+MTLModelException.h 3 | // Mantle 4 | // 5 | // Created by Robert Böhnke on 7/6/13. 6 | // Copyright (c) 2013 GitHub. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface NSError (MTLModelException) 12 | 13 | /// Creates a new error for an exception that occurred during updating an 14 | /// MTLModel. 15 | /// 16 | /// exception - The exception that was thrown while updating the model. 17 | /// This argument must not be nil. 18 | /// 19 | /// Returns an error that takes its localized description and failure reason 20 | /// from the exception. 21 | + (instancetype)mtl_modelErrorWithException:(NSException *)exception; 22 | 23 | @end 24 | -------------------------------------------------------------------------------- /MyAssistant/Pods/Mantle/Mantle/NSError+MTLModelException.m: -------------------------------------------------------------------------------- 1 | // 2 | // NSError+MTLModelException.m 3 | // Mantle 4 | // 5 | // Created by Robert Böhnke on 7/6/13. 6 | // Copyright (c) 2013 GitHub. All rights reserved. 7 | // 8 | 9 | #import "MTLModel.h" 10 | 11 | #import "NSError+MTLModelException.h" 12 | 13 | // The domain for errors originating from MTLModel. 14 | static NSString * const MTLModelErrorDomain = @"MTLModelErrorDomain"; 15 | 16 | // An exception was thrown and caught. 17 | static const NSInteger MTLModelErrorExceptionThrown = 1; 18 | 19 | // Associated with the NSException that was caught. 20 | static NSString * const MTLModelThrownExceptionErrorKey = @"MTLModelThrownException"; 21 | 22 | @implementation NSError (MTLModelException) 23 | 24 | + (instancetype)mtl_modelErrorWithException:(NSException *)exception { 25 | NSParameterAssert(exception != nil); 26 | 27 | NSDictionary *userInfo = @{ 28 | NSLocalizedDescriptionKey: exception.description, 29 | NSLocalizedFailureReasonErrorKey: exception.reason, 30 | MTLModelThrownExceptionErrorKey: exception 31 | }; 32 | 33 | return [NSError errorWithDomain:MTLModelErrorDomain code:MTLModelErrorExceptionThrown userInfo:userInfo]; 34 | } 35 | 36 | @end 37 | -------------------------------------------------------------------------------- /MyAssistant/Pods/Mantle/Mantle/NSObject+MTLComparisonAdditions.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSObject+MTLComparisonAdditions.h 3 | // Mantle 4 | // 5 | // Created by Josh Vera on 10/26/12. 6 | // Copyright (c) 2012 GitHub. All rights reserved. 7 | // 8 | // Portions copyright (c) 2011 Bitswift. All rights reserved. 9 | // See the LICENSE file for more information. 10 | // 11 | 12 | #import 13 | 14 | /// Returns whether both objects are identical or equal via -isEqual: 15 | BOOL MTLEqualObjects(id obj1, id obj2); 16 | -------------------------------------------------------------------------------- /MyAssistant/Pods/Mantle/Mantle/NSObject+MTLComparisonAdditions.m: -------------------------------------------------------------------------------- 1 | // 2 | // NSObject+MTLComparisonAdditions.m 3 | // Mantle 4 | // 5 | // Created by Josh Vera on 10/26/12. 6 | // Copyright (c) 2012 GitHub. All rights reserved. 7 | // 8 | // Portions copyright (c) 2011 Bitswift. All rights reserved. 9 | // See the LICENSE file for more information. 10 | // 11 | 12 | #import "NSObject+MTLComparisonAdditions.h" 13 | 14 | BOOL MTLEqualObjects(id obj1, id obj2) { 15 | return (obj1 == obj2 || [obj1 isEqual:obj2]); 16 | } 17 | -------------------------------------------------------------------------------- /MyAssistant/Pods/Mantle/Mantle/NSValueTransformer+MTLInversionAdditions.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSValueTransformer+MTLInversionAdditions.h 3 | // Mantle 4 | // 5 | // Created by Justin Spahr-Summers on 2013-05-18. 6 | // Copyright (c) 2013 GitHub. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface NSValueTransformer (MTLInversionAdditions) 12 | 13 | /// Flips the direction of the receiver's transformation, such that 14 | /// -transformedValue: will become -reverseTransformedValue:, and vice-versa. 15 | /// 16 | /// The receiver must allow reverse transformation. 17 | /// 18 | /// Returns an inverted transformer. 19 | - (NSValueTransformer *)mtl_invertedTransformer; 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /MyAssistant/Pods/Mantle/Mantle/NSValueTransformer+MTLInversionAdditions.m: -------------------------------------------------------------------------------- 1 | // 2 | // NSValueTransformer+MTLInversionAdditions.m 3 | // Mantle 4 | // 5 | // Created by Justin Spahr-Summers on 2013-05-18. 6 | // Copyright (c) 2013 GitHub. All rights reserved. 7 | // 8 | 9 | #import "NSValueTransformer+MTLInversionAdditions.h" 10 | #import "MTLTransformerErrorHandling.h" 11 | #import "MTLValueTransformer.h" 12 | 13 | @implementation NSValueTransformer (MTLInversionAdditions) 14 | 15 | - (NSValueTransformer *)mtl_invertedTransformer { 16 | NSParameterAssert(self.class.allowsReverseTransformation); 17 | 18 | if ([self conformsToProtocol:@protocol(MTLTransformerErrorHandling)]) { 19 | NSParameterAssert([self respondsToSelector:@selector(reverseTransformedValue:success:error:)]); 20 | 21 | id errorHandlingSelf = (id)self; 22 | 23 | return [MTLValueTransformer transformerUsingForwardBlock:^(id value, BOOL *success, NSError **error) { 24 | return [errorHandlingSelf reverseTransformedValue:value success:success error:error]; 25 | } reverseBlock:^(id value, BOOL *success, NSError **error) { 26 | return [errorHandlingSelf transformedValue:value success:success error:error]; 27 | }]; 28 | } else { 29 | return [MTLValueTransformer transformerUsingForwardBlock:^(id value, BOOL *success, NSError **error) { 30 | return [self reverseTransformedValue:value]; 31 | } reverseBlock:^(id value, BOOL *success, NSError **error) { 32 | return [self transformedValue:value]; 33 | }]; 34 | } 35 | } 36 | 37 | @end 38 | -------------------------------------------------------------------------------- /MyAssistant/Pods/Mantle/Mantle/extobjc/EXTScope.m: -------------------------------------------------------------------------------- 1 | // 2 | // EXTScope.m 3 | // extobjc 4 | // 5 | // Created by Justin Spahr-Summers on 2011-05-04. 6 | // Copyright (C) 2012 Justin Spahr-Summers. 7 | // Released under the MIT license. 8 | // 9 | 10 | #import "EXTScope.h" 11 | 12 | void mtl_executeCleanupBlock (__strong mtl_cleanupBlock_t *block) { 13 | (*block)(); 14 | } 15 | 16 | -------------------------------------------------------------------------------- /MyAssistant/Pods/OpenWeatherMapAPI/LICENSE: -------------------------------------------------------------------------------- 1 | Permission is hereby granted, free of charge, to any person obtaining 2 | a copy of this software and associated documentation files (the 3 | "Software"), to deal in the Software without restriction, including 4 | without limitation the rights to use, copy, modify, merge, publish, 5 | distribute, sublicense, and/or sell copies of the Software, and to 6 | permit persons to whom the Software is furnished to do so, subject to 7 | the following conditions: 8 | 9 | The above copyright notice and this permission notice shall be 10 | included in all copies or substantial portions of the Software. 11 | 12 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 13 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 14 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 15 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 16 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 17 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 18 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 19 | -------------------------------------------------------------------------------- /MyAssistant/Pods/OpenWeatherMapAPI/OpenWeatherMapAPI/OpenWeatherMapAPI/OWMWeatherAPI.h: -------------------------------------------------------------------------------- 1 | // 2 | // OWMWeatherAPI.h 3 | // OpenWeatherMapAPI 4 | // 5 | // Created by Adrian Bak on 20/6/13. 6 | // Copyright (c) 2013 Adrian Bak. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | 12 | typedef enum { 13 | kOWMTempKelvin, 14 | kOWMTempCelcius, 15 | kOWMTempFahrenheit 16 | } OWMTemperature; 17 | 18 | 19 | @interface OWMWeatherAPI : NSObject 20 | 21 | - (instancetype) initWithAPIKey:(NSString *) apiKey; 22 | 23 | - (void) setApiVersion:(NSString *) version; 24 | - (NSString *) apiVersion; 25 | 26 | - (void) setTemperatureFormat:(OWMTemperature) tempFormat; 27 | - (OWMTemperature) temperatureFormat; 28 | 29 | - (void) setLangWithPreferedLanguage; 30 | - (void) setLang:(NSString *) lang; 31 | - (NSString *) lang; 32 | 33 | #pragma mark - current weather 34 | 35 | -(void) currentWeatherByCityName:(NSString *) name 36 | withCallback:( void (^)( NSError* error, NSDictionary *result ) )callback; 37 | 38 | 39 | -(void) currentWeatherByCoordinate:(CLLocationCoordinate2D) coordinate 40 | withCallback:( void (^)( NSError* error, NSDictionary *result ) )callback; 41 | 42 | -(void) currentWeatherByCityId:(NSString *) cityId 43 | withCallback:( void (^)( NSError* error, NSDictionary *result ) )callback; 44 | 45 | #pragma mark - forecast 46 | 47 | -(void) forecastWeatherByCityName:(NSString *) name 48 | withCallback:( void (^)( NSError* error, NSDictionary *result ) )callback; 49 | 50 | -(void) forecastWeatherByCoordinate:(CLLocationCoordinate2D) coordinate 51 | withCallback:( void (^)( NSError* error, NSDictionary *result ) )callback; 52 | 53 | -(void) forecastWeatherByCityId:(NSString *) cityId 54 | withCallback:( void (^)( NSError* error, NSDictionary *result ) )callback; 55 | 56 | #pragma mark forcast - n days 57 | 58 | -(void) dailyForecastWeatherByCityName:(NSString *) name 59 | withCount:(int) count 60 | andCallback:( void (^)( NSError* error, NSDictionary *result ) )callback; 61 | 62 | -(void) dailyForecastWeatherByCoordinate:(CLLocationCoordinate2D) coordinate 63 | withCount:(int) count 64 | andCallback:( void (^)( NSError* error, NSDictionary *result ) )callback; 65 | 66 | -(void) dailyForecastWeatherByCityId:(NSString *) cityId 67 | withCount:(int) count 68 | andCallback:( void (^)( NSError* error, NSDictionary *result ) )callback; 69 | 70 | @end 71 | -------------------------------------------------------------------------------- /MyAssistant/Pods/Pods.xcodeproj/xcuserdata/Jiaxiang.xcuserdatad/xcschemes/AFNetworking.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 43 | 44 | 45 | 46 | 52 | 53 | 55 | 56 | 59 | 60 | 61 | -------------------------------------------------------------------------------- /MyAssistant/Pods/Pods.xcodeproj/xcuserdata/Jiaxiang.xcuserdatad/xcschemes/HexColors.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 43 | 44 | 45 | 46 | 52 | 53 | 55 | 56 | 59 | 60 | 61 | -------------------------------------------------------------------------------- /MyAssistant/Pods/Pods.xcodeproj/xcuserdata/Jiaxiang.xcuserdatad/xcschemes/LBBlurredImage.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 43 | 44 | 45 | 46 | 52 | 53 | 55 | 56 | 59 | 60 | 61 | -------------------------------------------------------------------------------- /MyAssistant/Pods/Pods.xcodeproj/xcuserdata/Jiaxiang.xcuserdatad/xcschemes/Mantle.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 43 | 44 | 45 | 46 | 52 | 53 | 55 | 56 | 59 | 60 | 61 | -------------------------------------------------------------------------------- /MyAssistant/Pods/Pods.xcodeproj/xcuserdata/Jiaxiang.xcuserdatad/xcschemes/OpenWeatherMapAPI.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 43 | 44 | 45 | 46 | 52 | 53 | 55 | 56 | 59 | 60 | 61 | -------------------------------------------------------------------------------- /MyAssistant/Pods/Pods.xcodeproj/xcuserdata/Jiaxiang.xcuserdatad/xcschemes/Pods.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 43 | 44 | 45 | 46 | 52 | 53 | 55 | 56 | 59 | 60 | 61 | -------------------------------------------------------------------------------- /MyAssistant/Pods/Pods.xcodeproj/xcuserdata/Jiaxiang.xcuserdatad/xcschemes/TSMessages.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 43 | 44 | 45 | 46 | 52 | 53 | 55 | 56 | 59 | 60 | 61 | -------------------------------------------------------------------------------- /MyAssistant/Pods/Pods.xcodeproj/xcuserdata/Jiaxiang.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | AFNetworking.xcscheme 8 | 9 | isShown 10 | 11 | 12 | HexColors.xcscheme 13 | 14 | isShown 15 | 16 | 17 | LBBlurredImage.xcscheme 18 | 19 | isShown 20 | 21 | 22 | Mantle.xcscheme 23 | 24 | isShown 25 | 26 | 27 | OpenWeatherMapAPI.xcscheme 28 | 29 | isShown 30 | 31 | 32 | Pods.xcscheme 33 | 34 | isShown 35 | 36 | 37 | TSMessages.xcscheme 38 | 39 | isShown 40 | 41 | 42 | 43 | SuppressBuildableAutocreation 44 | 45 | 426BC4549A625B5E1E4200D5261A98BF 46 | 47 | primary 48 | 49 | 50 | 61681BF0E677683490353B846C61A129 51 | 52 | primary 53 | 54 | 55 | 785E456A4B5EC8A508CE868E04789C03 56 | 57 | primary 58 | 59 | 60 | 8DD4861B07B9FDDDBA3B08D282E6D132 61 | 62 | primary 63 | 64 | 65 | 92992C7343BB64D0F0BFCB37CE5E5986 66 | 67 | primary 68 | 69 | 70 | A9CBFC1BEF918DBE9D6EEA348A35DE64 71 | 72 | primary 73 | 74 | 75 | E9EF397B95762DDB254C71DDCB4B1381 76 | 77 | primary 78 | 79 | 80 | 81 | 82 | 83 | -------------------------------------------------------------------------------- /MyAssistant/Pods/Pods.xcodeproj/xcuserdata/JiaxiangLi.xcuserdatad/xcschemes/AFNetworking.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 43 | 44 | 45 | 46 | 52 | 53 | 55 | 56 | 59 | 60 | 61 | -------------------------------------------------------------------------------- /MyAssistant/Pods/Pods.xcodeproj/xcuserdata/JiaxiangLi.xcuserdatad/xcschemes/DownPicker-DownPicker.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 43 | 44 | 45 | 46 | 52 | 53 | 55 | 56 | 59 | 60 | 61 | -------------------------------------------------------------------------------- /MyAssistant/Pods/Pods.xcodeproj/xcuserdata/JiaxiangLi.xcuserdatad/xcschemes/DownPicker.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 43 | 44 | 45 | 46 | 52 | 53 | 55 | 56 | 59 | 60 | 61 | -------------------------------------------------------------------------------- /MyAssistant/Pods/Pods.xcodeproj/xcuserdata/JiaxiangLi.xcuserdatad/xcschemes/MBProgressHUD.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 43 | 44 | 45 | 46 | 52 | 53 | 55 | 56 | 59 | 60 | 61 | -------------------------------------------------------------------------------- /MyAssistant/Pods/Pods.xcodeproj/xcuserdata/JiaxiangLi.xcuserdatad/xcschemes/MJRefresh.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 43 | 44 | 45 | 46 | 52 | 53 | 55 | 56 | 59 | 60 | 61 | -------------------------------------------------------------------------------- /MyAssistant/Pods/Pods.xcodeproj/xcuserdata/JiaxiangLi.xcuserdatad/xcschemes/Pods.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 43 | 44 | 45 | 46 | 52 | 53 | 55 | 56 | 59 | 60 | 61 | -------------------------------------------------------------------------------- /MyAssistant/Pods/Pods.xcodeproj/xcuserdata/JiaxiangLi.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | AFNetworking.xcscheme 8 | 9 | isShown 10 | 11 | 12 | DownPicker-DownPicker.xcscheme 13 | 14 | isShown 15 | 16 | 17 | DownPicker.xcscheme 18 | 19 | isShown 20 | 21 | 22 | MBProgressHUD.xcscheme 23 | 24 | isShown 25 | 26 | 27 | MJRefresh.xcscheme 28 | 29 | isShown 30 | 31 | 32 | Pods.xcscheme 33 | 34 | isShown 35 | 36 | 37 | 38 | SuppressBuildableAutocreation 39 | 40 | 410B25DF16EA5C5B3E2698F74F9625FB 41 | 42 | primary 43 | 44 | 45 | 5C05FADE30EF910B83CBF24CED9FD2F6 46 | 47 | primary 48 | 49 | 50 | 6A555FFDEDC09DDD21CB34B51A601DF0 51 | 52 | primary 53 | 54 | 55 | 8F74D9EA91F4C43190670066BAC37D44 56 | 57 | primary 58 | 59 | 60 | 926A84365F6B93264AF882DA49B7E685 61 | 62 | primary 63 | 64 | 65 | FE2F1D7B9D9FCEA148517E4657B243F4 66 | 67 | primary 68 | 69 | 70 | 71 | 72 | 73 | -------------------------------------------------------------------------------- /MyAssistant/Pods/TSMessages/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2014 Toursprung, Felix Krause 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /MyAssistant/Pods/TSMessages/Pod/Assets/NotificationBackgroundError.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangfly11/MyAssistant/e83e97abcfd5e1f187afecda909750a701b1319a/MyAssistant/Pods/TSMessages/Pod/Assets/NotificationBackgroundError.png -------------------------------------------------------------------------------- /MyAssistant/Pods/TSMessages/Pod/Assets/NotificationBackgroundError@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangfly11/MyAssistant/e83e97abcfd5e1f187afecda909750a701b1319a/MyAssistant/Pods/TSMessages/Pod/Assets/NotificationBackgroundError@2x.png -------------------------------------------------------------------------------- /MyAssistant/Pods/TSMessages/Pod/Assets/NotificationBackgroundErrorIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangfly11/MyAssistant/e83e97abcfd5e1f187afecda909750a701b1319a/MyAssistant/Pods/TSMessages/Pod/Assets/NotificationBackgroundErrorIcon.png -------------------------------------------------------------------------------- /MyAssistant/Pods/TSMessages/Pod/Assets/NotificationBackgroundErrorIcon@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangfly11/MyAssistant/e83e97abcfd5e1f187afecda909750a701b1319a/MyAssistant/Pods/TSMessages/Pod/Assets/NotificationBackgroundErrorIcon@2x.png -------------------------------------------------------------------------------- /MyAssistant/Pods/TSMessages/Pod/Assets/NotificationBackgroundMessage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangfly11/MyAssistant/e83e97abcfd5e1f187afecda909750a701b1319a/MyAssistant/Pods/TSMessages/Pod/Assets/NotificationBackgroundMessage.png -------------------------------------------------------------------------------- /MyAssistant/Pods/TSMessages/Pod/Assets/NotificationBackgroundMessage@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangfly11/MyAssistant/e83e97abcfd5e1f187afecda909750a701b1319a/MyAssistant/Pods/TSMessages/Pod/Assets/NotificationBackgroundMessage@2x.png -------------------------------------------------------------------------------- /MyAssistant/Pods/TSMessages/Pod/Assets/NotificationBackgroundSuccess.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangfly11/MyAssistant/e83e97abcfd5e1f187afecda909750a701b1319a/MyAssistant/Pods/TSMessages/Pod/Assets/NotificationBackgroundSuccess.png -------------------------------------------------------------------------------- /MyAssistant/Pods/TSMessages/Pod/Assets/NotificationBackgroundSuccess@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangfly11/MyAssistant/e83e97abcfd5e1f187afecda909750a701b1319a/MyAssistant/Pods/TSMessages/Pod/Assets/NotificationBackgroundSuccess@2x.png -------------------------------------------------------------------------------- /MyAssistant/Pods/TSMessages/Pod/Assets/NotificationBackgroundSuccessIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangfly11/MyAssistant/e83e97abcfd5e1f187afecda909750a701b1319a/MyAssistant/Pods/TSMessages/Pod/Assets/NotificationBackgroundSuccessIcon.png -------------------------------------------------------------------------------- /MyAssistant/Pods/TSMessages/Pod/Assets/NotificationBackgroundSuccessIcon@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangfly11/MyAssistant/e83e97abcfd5e1f187afecda909750a701b1319a/MyAssistant/Pods/TSMessages/Pod/Assets/NotificationBackgroundSuccessIcon@2x.png -------------------------------------------------------------------------------- /MyAssistant/Pods/TSMessages/Pod/Assets/NotificationBackgroundWarning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangfly11/MyAssistant/e83e97abcfd5e1f187afecda909750a701b1319a/MyAssistant/Pods/TSMessages/Pod/Assets/NotificationBackgroundWarning.png -------------------------------------------------------------------------------- /MyAssistant/Pods/TSMessages/Pod/Assets/NotificationBackgroundWarning@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangfly11/MyAssistant/e83e97abcfd5e1f187afecda909750a701b1319a/MyAssistant/Pods/TSMessages/Pod/Assets/NotificationBackgroundWarning@2x.png -------------------------------------------------------------------------------- /MyAssistant/Pods/TSMessages/Pod/Assets/NotificationBackgroundWarningIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangfly11/MyAssistant/e83e97abcfd5e1f187afecda909750a701b1319a/MyAssistant/Pods/TSMessages/Pod/Assets/NotificationBackgroundWarningIcon.png -------------------------------------------------------------------------------- /MyAssistant/Pods/TSMessages/Pod/Assets/NotificationBackgroundWarningIcon@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangfly11/MyAssistant/e83e97abcfd5e1f187afecda909750a701b1319a/MyAssistant/Pods/TSMessages/Pod/Assets/NotificationBackgroundWarningIcon@2x.png -------------------------------------------------------------------------------- /MyAssistant/Pods/TSMessages/Pod/Assets/NotificationButtonBackground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangfly11/MyAssistant/e83e97abcfd5e1f187afecda909750a701b1319a/MyAssistant/Pods/TSMessages/Pod/Assets/NotificationButtonBackground.png -------------------------------------------------------------------------------- /MyAssistant/Pods/TSMessages/Pod/Assets/NotificationButtonBackground@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangfly11/MyAssistant/e83e97abcfd5e1f187afecda909750a701b1319a/MyAssistant/Pods/TSMessages/Pod/Assets/NotificationButtonBackground@2x.png -------------------------------------------------------------------------------- /MyAssistant/Pods/TSMessages/Pod/Classes/TSBlurView.h: -------------------------------------------------------------------------------- 1 | // 2 | // TSBlurView.h 3 | // Pods 4 | // 5 | // Created by Felix Krause on 20.08.13. 6 | // 7 | // 8 | 9 | #import 10 | 11 | @interface TSBlurView : UIView 12 | 13 | @property (nonatomic, strong) UIColor *blurTintColor; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /MyAssistant/Pods/TSMessages/Pod/Classes/TSBlurView.m: -------------------------------------------------------------------------------- 1 | // 2 | // TSBlurView.m 3 | // Pods 4 | // 5 | // Created by Felix Krause on 20.08.13. 6 | // 7 | // 8 | 9 | #import "TSBlurView.h" 10 | #import 11 | 12 | @interface TSBlurView () 13 | 14 | @property (nonatomic, strong) UIToolbar *toolbar; 15 | 16 | @end 17 | 18 | @implementation TSBlurView 19 | 20 | 21 | - (UIToolbar *)toolbar 22 | { 23 | if (_toolbar == nil) { 24 | _toolbar = [[UIToolbar alloc] initWithFrame:self.bounds]; 25 | _toolbar.userInteractionEnabled = NO; 26 | _toolbar.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight; 27 | #if __IPHONE_OS_VERSION_MAX_ALLOWED >= 70000 28 | [_toolbar setBackgroundImage:nil forToolbarPosition:UIBarPositionAny barMetrics:UIBarMetricsDefault]; // remove background set through the appearence proxy 29 | #endif 30 | [self addSubview:_toolbar]; 31 | } 32 | 33 | return _toolbar; 34 | } 35 | 36 | - (void)setBlurTintColor:(UIColor *)blurTintColor 37 | { 38 | if ([self.toolbar respondsToSelector:@selector(setBarTintColor:)]) { 39 | [self.toolbar performSelector:@selector(setBarTintColor:) withObject:blurTintColor]; 40 | } 41 | } 42 | 43 | - (UIColor *)blurTintColor 44 | { 45 | if ([self.toolbar respondsToSelector:@selector(barTintColor)]) { 46 | return [self.toolbar performSelector:@selector(barTintColor)]; 47 | } 48 | return nil; 49 | } 50 | 51 | @end 52 | -------------------------------------------------------------------------------- /MyAssistant/Pods/Target Support Files/AFNetworking/AFNetworking-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_AFNetworking : NSObject 3 | @end 4 | @implementation PodsDummy_AFNetworking 5 | @end 6 | -------------------------------------------------------------------------------- /MyAssistant/Pods/Target Support Files/AFNetworking/AFNetworking-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | #import 6 | 7 | #if __IPHONE_OS_VERSION_MIN_REQUIRED 8 | #import 9 | #import 10 | #import 11 | #else 12 | #import 13 | #import 14 | #import 15 | #endif 16 | -------------------------------------------------------------------------------- /MyAssistant/Pods/Target Support Files/AFNetworking/AFNetworking.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/AFNetworking" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/AFNetworking" "${PODS_ROOT}/Headers/Public/HexColors" "${PODS_ROOT}/Headers/Public/LBBlurredImage" "${PODS_ROOT}/Headers/Public/Mantle" "${PODS_ROOT}/Headers/Public/OpenWeatherMapAPI" "${PODS_ROOT}/Headers/Public/TSMessages" 3 | OTHER_LDFLAGS = -framework "CoreGraphics" -framework "MobileCoreServices" -framework "Security" -framework "SystemConfiguration" 4 | PODS_ROOT = ${SRCROOT} 5 | SKIP_INSTALL = YES -------------------------------------------------------------------------------- /MyAssistant/Pods/Target Support Files/HexColors/HexColors-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_HexColors : NSObject 3 | @end 4 | @implementation PodsDummy_HexColors 5 | @end 6 | -------------------------------------------------------------------------------- /MyAssistant/Pods/Target Support Files/HexColors/HexColors-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | -------------------------------------------------------------------------------- /MyAssistant/Pods/Target Support Files/HexColors/HexColors.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/HexColors" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/AFNetworking" "${PODS_ROOT}/Headers/Public/HexColors" "${PODS_ROOT}/Headers/Public/LBBlurredImage" "${PODS_ROOT}/Headers/Public/Mantle" "${PODS_ROOT}/Headers/Public/OpenWeatherMapAPI" "${PODS_ROOT}/Headers/Public/TSMessages" 3 | PODS_ROOT = ${SRCROOT} 4 | SKIP_INSTALL = YES -------------------------------------------------------------------------------- /MyAssistant/Pods/Target Support Files/LBBlurredImage/LBBlurredImage-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_LBBlurredImage : NSObject 3 | @end 4 | @implementation PodsDummy_LBBlurredImage 5 | @end 6 | -------------------------------------------------------------------------------- /MyAssistant/Pods/Target Support Files/LBBlurredImage/LBBlurredImage-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | -------------------------------------------------------------------------------- /MyAssistant/Pods/Target Support Files/LBBlurredImage/LBBlurredImage.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/LBBlurredImage" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/AFNetworking" "${PODS_ROOT}/Headers/Public/HexColors" "${PODS_ROOT}/Headers/Public/LBBlurredImage" "${PODS_ROOT}/Headers/Public/Mantle" "${PODS_ROOT}/Headers/Public/OpenWeatherMapAPI" "${PODS_ROOT}/Headers/Public/TSMessages" 3 | OTHER_LDFLAGS = -framework "Accelerate" -framework "CoreGraphics" -framework "UIKit" 4 | PODS_ROOT = ${SRCROOT} 5 | SKIP_INSTALL = YES -------------------------------------------------------------------------------- /MyAssistant/Pods/Target Support Files/Mantle/Mantle-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Mantle : NSObject 3 | @end 4 | @implementation PodsDummy_Mantle 5 | @end 6 | -------------------------------------------------------------------------------- /MyAssistant/Pods/Target Support Files/Mantle/Mantle-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | -------------------------------------------------------------------------------- /MyAssistant/Pods/Target Support Files/Mantle/Mantle.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/Mantle" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/AFNetworking" "${PODS_ROOT}/Headers/Public/HexColors" "${PODS_ROOT}/Headers/Public/LBBlurredImage" "${PODS_ROOT}/Headers/Public/Mantle" "${PODS_ROOT}/Headers/Public/OpenWeatherMapAPI" "${PODS_ROOT}/Headers/Public/TSMessages" 3 | OTHER_LDFLAGS = -framework "Foundation" 4 | PODS_ROOT = ${SRCROOT} 5 | SKIP_INSTALL = YES -------------------------------------------------------------------------------- /MyAssistant/Pods/Target Support Files/OpenWeatherMapAPI/OpenWeatherMapAPI-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_OpenWeatherMapAPI : NSObject 3 | @end 4 | @implementation PodsDummy_OpenWeatherMapAPI 5 | @end 6 | -------------------------------------------------------------------------------- /MyAssistant/Pods/Target Support Files/OpenWeatherMapAPI/OpenWeatherMapAPI-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | -------------------------------------------------------------------------------- /MyAssistant/Pods/Target Support Files/OpenWeatherMapAPI/OpenWeatherMapAPI.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/OpenWeatherMapAPI" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/AFNetworking" "${PODS_ROOT}/Headers/Public/HexColors" "${PODS_ROOT}/Headers/Public/LBBlurredImage" "${PODS_ROOT}/Headers/Public/Mantle" "${PODS_ROOT}/Headers/Public/OpenWeatherMapAPI" "${PODS_ROOT}/Headers/Public/TSMessages" 3 | PODS_ROOT = ${SRCROOT} 4 | SKIP_INSTALL = YES -------------------------------------------------------------------------------- /MyAssistant/Pods/Target Support Files/Pods/Pods-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods : NSObject 3 | @end 4 | @implementation PodsDummy_Pods 5 | @end 6 | -------------------------------------------------------------------------------- /MyAssistant/Pods/Target Support Files/Pods/Pods.debug.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/AFNetworking" "${PODS_ROOT}/Headers/Public/HexColors" "${PODS_ROOT}/Headers/Public/LBBlurredImage" "${PODS_ROOT}/Headers/Public/Mantle" "${PODS_ROOT}/Headers/Public/OpenWeatherMapAPI" "${PODS_ROOT}/Headers/Public/TSMessages" 3 | OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/AFNetworking" -isystem "${PODS_ROOT}/Headers/Public/HexColors" -isystem "${PODS_ROOT}/Headers/Public/LBBlurredImage" -isystem "${PODS_ROOT}/Headers/Public/Mantle" -isystem "${PODS_ROOT}/Headers/Public/OpenWeatherMapAPI" -isystem "${PODS_ROOT}/Headers/Public/TSMessages" 4 | OTHER_LDFLAGS = $(inherited) -ObjC -l"AFNetworking" -l"HexColors" -l"LBBlurredImage" -l"Mantle" -l"OpenWeatherMapAPI" -l"TSMessages" -framework "Accelerate" -framework "CoreGraphics" -framework "Foundation" -framework "MobileCoreServices" -framework "Security" -framework "SystemConfiguration" -framework "UIKit" 5 | PODS_ROOT = ${SRCROOT}/Pods -------------------------------------------------------------------------------- /MyAssistant/Pods/Target Support Files/Pods/Pods.release.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/AFNetworking" "${PODS_ROOT}/Headers/Public/HexColors" "${PODS_ROOT}/Headers/Public/LBBlurredImage" "${PODS_ROOT}/Headers/Public/Mantle" "${PODS_ROOT}/Headers/Public/OpenWeatherMapAPI" "${PODS_ROOT}/Headers/Public/TSMessages" 3 | OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/AFNetworking" -isystem "${PODS_ROOT}/Headers/Public/HexColors" -isystem "${PODS_ROOT}/Headers/Public/LBBlurredImage" -isystem "${PODS_ROOT}/Headers/Public/Mantle" -isystem "${PODS_ROOT}/Headers/Public/OpenWeatherMapAPI" -isystem "${PODS_ROOT}/Headers/Public/TSMessages" 4 | OTHER_LDFLAGS = $(inherited) -ObjC -l"AFNetworking" -l"HexColors" -l"LBBlurredImage" -l"Mantle" -l"OpenWeatherMapAPI" -l"TSMessages" -framework "Accelerate" -framework "CoreGraphics" -framework "Foundation" -framework "MobileCoreServices" -framework "Security" -framework "SystemConfiguration" -framework "UIKit" 5 | PODS_ROOT = ${SRCROOT}/Pods -------------------------------------------------------------------------------- /MyAssistant/Pods/Target Support Files/TSMessages/TSMessages-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_TSMessages : NSObject 3 | @end 4 | @implementation PodsDummy_TSMessages 5 | @end 6 | -------------------------------------------------------------------------------- /MyAssistant/Pods/Target Support Files/TSMessages/TSMessages-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | -------------------------------------------------------------------------------- /MyAssistant/Pods/Target Support Files/TSMessages/TSMessages.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/TSMessages" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/AFNetworking" "${PODS_ROOT}/Headers/Public/HexColors" "${PODS_ROOT}/Headers/Public/LBBlurredImage" "${PODS_ROOT}/Headers/Public/Mantle" "${PODS_ROOT}/Headers/Public/OpenWeatherMapAPI" "${PODS_ROOT}/Headers/Public/TSMessages" 3 | PODS_ROOT = ${SRCROOT} 4 | SKIP_INSTALL = YES -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # MyAssistant 2 | ### This is an iOS app to offer daily infomation to users. I will keep working on this app. 3 | ### Now this app can give users news from New York Times, offer weather, route and notes information to users. 4 | ### Still modify this app and try to change some features later. 5 | --------------------------------------------------------------------------------