forked from adba/OpenWeatherMapAPI
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit d49d203
Showing
13 changed files
with
509 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,306 @@ | ||
// !$*UTF8*$! | ||
{ | ||
archiveVersion = 1; | ||
classes = { | ||
}; | ||
objectVersion = 46; | ||
objects = { | ||
|
||
/* Begin PBXBuildFile section */ | ||
64DC45D1177380AC0039B58D /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 64DC45D0177380AC0039B58D /* UIKit.framework */; }; | ||
64DC45D3177380AC0039B58D /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 64DC45D2177380AC0039B58D /* Foundation.framework */; }; | ||
64DC45D5177380AC0039B58D /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 64DC45D4177380AC0039B58D /* CoreGraphics.framework */; }; | ||
64DC45DB177380AC0039B58D /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 64DC45D9177380AC0039B58D /* InfoPlist.strings */; }; | ||
64DC45DD177380AC0039B58D /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 64DC45DC177380AC0039B58D /* main.m */; }; | ||
64DC45E1177380AC0039B58D /* OWMAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 64DC45E0177380AC0039B58D /* OWMAppDelegate.m */; }; | ||
64DC45E3177380AC0039B58D /* Default.png in Resources */ = {isa = PBXBuildFile; fileRef = 64DC45E2177380AC0039B58D /* Default.png */; }; | ||
64DC45E5177380AC0039B58D /* [email protected] in Resources */ = {isa = PBXBuildFile; fileRef = 64DC45E4177380AC0039B58D /* [email protected] */; }; | ||
64DC45E7177380AC0039B58D /* [email protected] in Resources */ = {isa = PBXBuildFile; fileRef = 64DC45E6177380AC0039B58D /* [email protected] */; }; | ||
64DC45EA177380AC0039B58D /* MainStoryboard.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 64DC45E8177380AC0039B58D /* MainStoryboard.storyboard */; }; | ||
64DC45ED177380AC0039B58D /* OWMViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 64DC45EC177380AC0039B58D /* OWMViewController.m */; }; | ||
/* End PBXBuildFile section */ | ||
|
||
/* Begin PBXFileReference section */ | ||
64DC45CD177380AC0039B58D /* OpenWeatherMapAPI.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = OpenWeatherMapAPI.app; sourceTree = BUILT_PRODUCTS_DIR; }; | ||
64DC45D0177380AC0039B58D /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; | ||
64DC45D2177380AC0039B58D /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; | ||
64DC45D4177380AC0039B58D /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; | ||
64DC45D8177380AC0039B58D /* OpenWeatherMapAPI-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "OpenWeatherMapAPI-Info.plist"; sourceTree = "<group>"; }; | ||
64DC45DA177380AC0039B58D /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; }; | ||
64DC45DC177380AC0039B58D /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; }; | ||
64DC45DE177380AC0039B58D /* OpenWeatherMapAPI-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "OpenWeatherMapAPI-Prefix.pch"; sourceTree = "<group>"; }; | ||
64DC45DF177380AC0039B58D /* OWMAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = OWMAppDelegate.h; sourceTree = "<group>"; }; | ||
64DC45E0177380AC0039B58D /* OWMAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = OWMAppDelegate.m; sourceTree = "<group>"; }; | ||
64DC45E2177380AC0039B58D /* Default.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Default.png; sourceTree = "<group>"; }; | ||
64DC45E4177380AC0039B58D /* [email protected] */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "[email protected]"; sourceTree = "<group>"; }; | ||
64DC45E6177380AC0039B58D /* [email protected] */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "[email protected]"; sourceTree = "<group>"; }; | ||
64DC45E9177380AC0039B58D /* en */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = en; path = en.lproj/MainStoryboard.storyboard; sourceTree = "<group>"; }; | ||
64DC45EB177380AC0039B58D /* OWMViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = OWMViewController.h; sourceTree = "<group>"; }; | ||
64DC45EC177380AC0039B58D /* OWMViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = OWMViewController.m; sourceTree = "<group>"; }; | ||
/* End PBXFileReference section */ | ||
|
||
/* Begin PBXFrameworksBuildPhase section */ | ||
64DC45CA177380AC0039B58D /* Frameworks */ = { | ||
isa = PBXFrameworksBuildPhase; | ||
buildActionMask = 2147483647; | ||
files = ( | ||
64DC45D1177380AC0039B58D /* UIKit.framework in Frameworks */, | ||
64DC45D3177380AC0039B58D /* Foundation.framework in Frameworks */, | ||
64DC45D5177380AC0039B58D /* CoreGraphics.framework in Frameworks */, | ||
); | ||
runOnlyForDeploymentPostprocessing = 0; | ||
}; | ||
/* End PBXFrameworksBuildPhase section */ | ||
|
||
/* Begin PBXGroup section */ | ||
64DC45C4177380AC0039B58D = { | ||
isa = PBXGroup; | ||
children = ( | ||
64DC45D6177380AC0039B58D /* OpenWeatherMapAPI */, | ||
64DC45CF177380AC0039B58D /* Frameworks */, | ||
64DC45CE177380AC0039B58D /* Products */, | ||
); | ||
sourceTree = "<group>"; | ||
}; | ||
64DC45CE177380AC0039B58D /* Products */ = { | ||
isa = PBXGroup; | ||
children = ( | ||
64DC45CD177380AC0039B58D /* OpenWeatherMapAPI.app */, | ||
); | ||
name = Products; | ||
sourceTree = "<group>"; | ||
}; | ||
64DC45CF177380AC0039B58D /* Frameworks */ = { | ||
isa = PBXGroup; | ||
children = ( | ||
64DC45D0177380AC0039B58D /* UIKit.framework */, | ||
64DC45D2177380AC0039B58D /* Foundation.framework */, | ||
64DC45D4177380AC0039B58D /* CoreGraphics.framework */, | ||
); | ||
name = Frameworks; | ||
sourceTree = "<group>"; | ||
}; | ||
64DC45D6177380AC0039B58D /* OpenWeatherMapAPI */ = { | ||
isa = PBXGroup; | ||
children = ( | ||
64DC45DF177380AC0039B58D /* OWMAppDelegate.h */, | ||
64DC45E0177380AC0039B58D /* OWMAppDelegate.m */, | ||
64DC45E8177380AC0039B58D /* MainStoryboard.storyboard */, | ||
64DC45EB177380AC0039B58D /* OWMViewController.h */, | ||
64DC45EC177380AC0039B58D /* OWMViewController.m */, | ||
64DC45D7177380AC0039B58D /* Supporting Files */, | ||
); | ||
path = OpenWeatherMapAPI; | ||
sourceTree = "<group>"; | ||
}; | ||
64DC45D7177380AC0039B58D /* Supporting Files */ = { | ||
isa = PBXGroup; | ||
children = ( | ||
64DC45D8177380AC0039B58D /* OpenWeatherMapAPI-Info.plist */, | ||
64DC45D9177380AC0039B58D /* InfoPlist.strings */, | ||
64DC45DC177380AC0039B58D /* main.m */, | ||
64DC45DE177380AC0039B58D /* OpenWeatherMapAPI-Prefix.pch */, | ||
64DC45E2177380AC0039B58D /* Default.png */, | ||
64DC45E4177380AC0039B58D /* [email protected] */, | ||
64DC45E6177380AC0039B58D /* [email protected] */, | ||
); | ||
name = "Supporting Files"; | ||
sourceTree = "<group>"; | ||
}; | ||
/* End PBXGroup section */ | ||
|
||
/* Begin PBXNativeTarget section */ | ||
64DC45CC177380AC0039B58D /* OpenWeatherMapAPI */ = { | ||
isa = PBXNativeTarget; | ||
buildConfigurationList = 64DC45F0177380AC0039B58D /* Build configuration list for PBXNativeTarget "OpenWeatherMapAPI" */; | ||
buildPhases = ( | ||
64DC45C9177380AC0039B58D /* Sources */, | ||
64DC45CA177380AC0039B58D /* Frameworks */, | ||
64DC45CB177380AC0039B58D /* Resources */, | ||
); | ||
buildRules = ( | ||
); | ||
dependencies = ( | ||
); | ||
name = OpenWeatherMapAPI; | ||
productName = OpenWeatherMapAPI; | ||
productReference = 64DC45CD177380AC0039B58D /* OpenWeatherMapAPI.app */; | ||
productType = "com.apple.product-type.application"; | ||
}; | ||
/* End PBXNativeTarget section */ | ||
|
||
/* Begin PBXProject section */ | ||
64DC45C5177380AC0039B58D /* Project object */ = { | ||
isa = PBXProject; | ||
attributes = { | ||
CLASSPREFIX = OWM; | ||
LastUpgradeCheck = 0460; | ||
ORGANIZATIONNAME = "Adrian Bak"; | ||
}; | ||
buildConfigurationList = 64DC45C8177380AC0039B58D /* Build configuration list for PBXProject "OpenWeatherMapAPI" */; | ||
compatibilityVersion = "Xcode 3.2"; | ||
developmentRegion = English; | ||
hasScannedForEncodings = 0; | ||
knownRegions = ( | ||
en, | ||
); | ||
mainGroup = 64DC45C4177380AC0039B58D; | ||
productRefGroup = 64DC45CE177380AC0039B58D /* Products */; | ||
projectDirPath = ""; | ||
projectRoot = ""; | ||
targets = ( | ||
64DC45CC177380AC0039B58D /* OpenWeatherMapAPI */, | ||
); | ||
}; | ||
/* End PBXProject section */ | ||
|
||
/* Begin PBXResourcesBuildPhase section */ | ||
64DC45CB177380AC0039B58D /* Resources */ = { | ||
isa = PBXResourcesBuildPhase; | ||
buildActionMask = 2147483647; | ||
files = ( | ||
64DC45DB177380AC0039B58D /* InfoPlist.strings in Resources */, | ||
64DC45E3177380AC0039B58D /* Default.png in Resources */, | ||
64DC45E5177380AC0039B58D /* [email protected] in Resources */, | ||
64DC45E7177380AC0039B58D /* [email protected] in Resources */, | ||
64DC45EA177380AC0039B58D /* MainStoryboard.storyboard in Resources */, | ||
); | ||
runOnlyForDeploymentPostprocessing = 0; | ||
}; | ||
/* End PBXResourcesBuildPhase section */ | ||
|
||
/* Begin PBXSourcesBuildPhase section */ | ||
64DC45C9177380AC0039B58D /* Sources */ = { | ||
isa = PBXSourcesBuildPhase; | ||
buildActionMask = 2147483647; | ||
files = ( | ||
64DC45DD177380AC0039B58D /* main.m in Sources */, | ||
64DC45E1177380AC0039B58D /* OWMAppDelegate.m in Sources */, | ||
64DC45ED177380AC0039B58D /* OWMViewController.m in Sources */, | ||
); | ||
runOnlyForDeploymentPostprocessing = 0; | ||
}; | ||
/* End PBXSourcesBuildPhase section */ | ||
|
||
/* Begin PBXVariantGroup section */ | ||
64DC45D9177380AC0039B58D /* InfoPlist.strings */ = { | ||
isa = PBXVariantGroup; | ||
children = ( | ||
64DC45DA177380AC0039B58D /* en */, | ||
); | ||
name = InfoPlist.strings; | ||
sourceTree = "<group>"; | ||
}; | ||
64DC45E8177380AC0039B58D /* MainStoryboard.storyboard */ = { | ||
isa = PBXVariantGroup; | ||
children = ( | ||
64DC45E9177380AC0039B58D /* en */, | ||
); | ||
name = MainStoryboard.storyboard; | ||
sourceTree = "<group>"; | ||
}; | ||
/* End PBXVariantGroup section */ | ||
|
||
/* Begin XCBuildConfiguration section */ | ||
64DC45EE177380AC0039B58D /* Debug */ = { | ||
isa = XCBuildConfiguration; | ||
buildSettings = { | ||
ALWAYS_SEARCH_USER_PATHS = NO; | ||
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; | ||
CLANG_CXX_LIBRARY = "libc++"; | ||
CLANG_ENABLE_OBJC_ARC = YES; | ||
CLANG_WARN_CONSTANT_CONVERSION = YES; | ||
CLANG_WARN_EMPTY_BODY = YES; | ||
CLANG_WARN_ENUM_CONVERSION = YES; | ||
CLANG_WARN_INT_CONVERSION = YES; | ||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; | ||
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; | ||
COPY_PHASE_STRIP = NO; | ||
GCC_C_LANGUAGE_STANDARD = gnu99; | ||
GCC_DYNAMIC_NO_PIC = NO; | ||
GCC_OPTIMIZATION_LEVEL = 0; | ||
GCC_PREPROCESSOR_DEFINITIONS = ( | ||
"DEBUG=1", | ||
"$(inherited)", | ||
); | ||
GCC_SYMBOLS_PRIVATE_EXTERN = NO; | ||
GCC_WARN_ABOUT_RETURN_TYPE = YES; | ||
GCC_WARN_UNINITIALIZED_AUTOS = YES; | ||
GCC_WARN_UNUSED_VARIABLE = YES; | ||
IPHONEOS_DEPLOYMENT_TARGET = 6.1; | ||
ONLY_ACTIVE_ARCH = YES; | ||
SDKROOT = iphoneos; | ||
}; | ||
name = Debug; | ||
}; | ||
64DC45EF177380AC0039B58D /* Release */ = { | ||
isa = XCBuildConfiguration; | ||
buildSettings = { | ||
ALWAYS_SEARCH_USER_PATHS = NO; | ||
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; | ||
CLANG_CXX_LIBRARY = "libc++"; | ||
CLANG_ENABLE_OBJC_ARC = YES; | ||
CLANG_WARN_CONSTANT_CONVERSION = YES; | ||
CLANG_WARN_EMPTY_BODY = YES; | ||
CLANG_WARN_ENUM_CONVERSION = YES; | ||
CLANG_WARN_INT_CONVERSION = YES; | ||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; | ||
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; | ||
COPY_PHASE_STRIP = YES; | ||
GCC_C_LANGUAGE_STANDARD = gnu99; | ||
GCC_WARN_ABOUT_RETURN_TYPE = YES; | ||
GCC_WARN_UNINITIALIZED_AUTOS = YES; | ||
GCC_WARN_UNUSED_VARIABLE = YES; | ||
IPHONEOS_DEPLOYMENT_TARGET = 6.1; | ||
OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1"; | ||
SDKROOT = iphoneos; | ||
VALIDATE_PRODUCT = YES; | ||
}; | ||
name = Release; | ||
}; | ||
64DC45F1177380AC0039B58D /* Debug */ = { | ||
isa = XCBuildConfiguration; | ||
buildSettings = { | ||
GCC_PRECOMPILE_PREFIX_HEADER = YES; | ||
GCC_PREFIX_HEADER = "OpenWeatherMapAPI/OpenWeatherMapAPI-Prefix.pch"; | ||
INFOPLIST_FILE = "OpenWeatherMapAPI/OpenWeatherMapAPI-Info.plist"; | ||
PRODUCT_NAME = "$(TARGET_NAME)"; | ||
WRAPPER_EXTENSION = app; | ||
}; | ||
name = Debug; | ||
}; | ||
64DC45F2177380AC0039B58D /* Release */ = { | ||
isa = XCBuildConfiguration; | ||
buildSettings = { | ||
GCC_PRECOMPILE_PREFIX_HEADER = YES; | ||
GCC_PREFIX_HEADER = "OpenWeatherMapAPI/OpenWeatherMapAPI-Prefix.pch"; | ||
INFOPLIST_FILE = "OpenWeatherMapAPI/OpenWeatherMapAPI-Info.plist"; | ||
PRODUCT_NAME = "$(TARGET_NAME)"; | ||
WRAPPER_EXTENSION = app; | ||
}; | ||
name = Release; | ||
}; | ||
/* End XCBuildConfiguration section */ | ||
|
||
/* Begin XCConfigurationList section */ | ||
64DC45C8177380AC0039B58D /* Build configuration list for PBXProject "OpenWeatherMapAPI" */ = { | ||
isa = XCConfigurationList; | ||
buildConfigurations = ( | ||
64DC45EE177380AC0039B58D /* Debug */, | ||
64DC45EF177380AC0039B58D /* Release */, | ||
); | ||
defaultConfigurationIsVisible = 0; | ||
defaultConfigurationName = Release; | ||
}; | ||
64DC45F0177380AC0039B58D /* Build configuration list for PBXNativeTarget "OpenWeatherMapAPI" */ = { | ||
isa = XCConfigurationList; | ||
buildConfigurations = ( | ||
64DC45F1177380AC0039B58D /* Debug */, | ||
64DC45F2177380AC0039B58D /* Release */, | ||
); | ||
defaultConfigurationIsVisible = 0; | ||
}; | ||
/* End XCConfigurationList section */ | ||
}; | ||
rootObject = 64DC45C5177380AC0039B58D /* Project object */; | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// | ||
// OWMAppDelegate.h | ||
// OpenWeatherMapAPI | ||
// | ||
// Created by Adrian Bak on 20/6/13. | ||
// Copyright (c) 2013 Adrian Bak. All rights reserved. | ||
// | ||
|
||
#import <UIKit/UIKit.h> | ||
|
||
@interface OWMAppDelegate : UIResponder <UIApplicationDelegate> | ||
|
||
@property (strong, nonatomic) UIWindow *window; | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
// | ||
// OWMAppDelegate.m | ||
// OpenWeatherMapAPI | ||
// | ||
// Created by Adrian Bak on 20/6/13. | ||
// Copyright (c) 2013 Adrian Bak. All rights reserved. | ||
// | ||
|
||
#import "OWMAppDelegate.h" | ||
|
||
@implementation OWMAppDelegate | ||
|
||
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions | ||
{ | ||
// Override point for customization after application launch. | ||
return YES; | ||
} | ||
|
||
- (void)applicationWillResignActive:(UIApplication *)application | ||
{ | ||
// Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. | ||
// Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. | ||
} | ||
|
||
- (void)applicationDidEnterBackground:(UIApplication *)application | ||
{ | ||
// Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. | ||
// If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. | ||
} | ||
|
||
- (void)applicationWillEnterForeground:(UIApplication *)application | ||
{ | ||
// Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. | ||
} | ||
|
||
- (void)applicationDidBecomeActive:(UIApplication *)application | ||
{ | ||
// Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. | ||
} | ||
|
||
- (void)applicationWillTerminate:(UIApplication *)application | ||
{ | ||
// Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. | ||
} | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// | ||
// OWMViewController.h | ||
// OpenWeatherMapAPI | ||
// | ||
// Created by Adrian Bak on 20/6/13. | ||
// Copyright (c) 2013 Adrian Bak. All rights reserved. | ||
// | ||
|
||
#import <UIKit/UIKit.h> | ||
|
||
@interface OWMViewController : UIViewController | ||
|
||
@end |
Oops, something went wrong.