Skip to content

Commit

Permalink
Initial Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Felipe Escote authored and Felipe Escote committed Sep 11, 2016
0 parents commit d950c22
Show file tree
Hide file tree
Showing 12 changed files with 605 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.DS_Store
xcuserdata
309 changes: 309 additions & 0 deletions DesafioAula5/DesafioAula5.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,309 @@
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 46;
objects = {

/* Begin PBXBuildFile section */
558C76681D860202001190A3 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 558C76671D860202001190A3 /* main.m */; };
558C766B1D860202001190A3 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 558C766A1D860202001190A3 /* AppDelegate.m */; };
558C766E1D860202001190A3 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 558C766D1D860202001190A3 /* ViewController.m */; };
558C76711D860202001190A3 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 558C766F1D860202001190A3 /* Main.storyboard */; };
558C76731D860202001190A3 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 558C76721D860202001190A3 /* Assets.xcassets */; };
558C76761D860202001190A3 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 558C76741D860202001190A3 /* LaunchScreen.storyboard */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
558C76631D860202001190A3 /* DesafioAula5.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = DesafioAula5.app; sourceTree = BUILT_PRODUCTS_DIR; };
558C76671D860202001190A3 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
558C76691D860202001190A3 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
558C766A1D860202001190A3 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
558C766C1D860202001190A3 /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = "<group>"; };
558C766D1D860202001190A3 /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = "<group>"; };
558C76701D860202001190A3 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
558C76721D860202001190A3 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
558C76751D860202001190A3 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
558C76771D860202001190A3 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
558C76601D860202001190A3 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
558C765A1D860202001190A3 = {
isa = PBXGroup;
children = (
558C76651D860202001190A3 /* DesafioAula5 */,
558C76641D860202001190A3 /* Products */,
);
sourceTree = "<group>";
};
558C76641D860202001190A3 /* Products */ = {
isa = PBXGroup;
children = (
558C76631D860202001190A3 /* DesafioAula5.app */,
);
name = Products;
sourceTree = "<group>";
};
558C76651D860202001190A3 /* DesafioAula5 */ = {
isa = PBXGroup;
children = (
558C76691D860202001190A3 /* AppDelegate.h */,
558C766A1D860202001190A3 /* AppDelegate.m */,
558C766C1D860202001190A3 /* ViewController.h */,
558C766D1D860202001190A3 /* ViewController.m */,
558C766F1D860202001190A3 /* Main.storyboard */,
558C76721D860202001190A3 /* Assets.xcassets */,
558C76741D860202001190A3 /* LaunchScreen.storyboard */,
558C76771D860202001190A3 /* Info.plist */,
558C76661D860202001190A3 /* Supporting Files */,
);
path = DesafioAula5;
sourceTree = "<group>";
};
558C76661D860202001190A3 /* Supporting Files */ = {
isa = PBXGroup;
children = (
558C76671D860202001190A3 /* main.m */,
);
name = "Supporting Files";
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
558C76621D860202001190A3 /* DesafioAula5 */ = {
isa = PBXNativeTarget;
buildConfigurationList = 558C767A1D860202001190A3 /* Build configuration list for PBXNativeTarget "DesafioAula5" */;
buildPhases = (
558C765F1D860202001190A3 /* Sources */,
558C76601D860202001190A3 /* Frameworks */,
558C76611D860202001190A3 /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = DesafioAula5;
productName = DesafioAula5;
productReference = 558C76631D860202001190A3 /* DesafioAula5.app */;
productType = "com.apple.product-type.application";
};
/* End PBXNativeTarget section */

/* Begin PBXProject section */
558C765B1D860202001190A3 /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 0730;
ORGANIZATIONNAME = Felipe;
TargetAttributes = {
558C76621D860202001190A3 = {
CreatedOnToolsVersion = 7.3.1;
};
};
};
buildConfigurationList = 558C765E1D860202001190A3 /* Build configuration list for PBXProject "DesafioAula5" */;
compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
hasScannedForEncodings = 0;
knownRegions = (
en,
Base,
);
mainGroup = 558C765A1D860202001190A3;
productRefGroup = 558C76641D860202001190A3 /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
558C76621D860202001190A3 /* DesafioAula5 */,
);
};
/* End PBXProject section */

/* Begin PBXResourcesBuildPhase section */
558C76611D860202001190A3 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
558C76761D860202001190A3 /* LaunchScreen.storyboard in Resources */,
558C76731D860202001190A3 /* Assets.xcassets in Resources */,
558C76711D860202001190A3 /* Main.storyboard in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
558C765F1D860202001190A3 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
558C766E1D860202001190A3 /* ViewController.m in Sources */,
558C766B1D860202001190A3 /* AppDelegate.m in Sources */,
558C76681D860202001190A3 /* main.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */

/* Begin PBXVariantGroup section */
558C766F1D860202001190A3 /* Main.storyboard */ = {
isa = PBXVariantGroup;
children = (
558C76701D860202001190A3 /* Base */,
);
name = Main.storyboard;
sourceTree = "<group>";
};
558C76741D860202001190A3 /* LaunchScreen.storyboard */ = {
isa = PBXVariantGroup;
children = (
558C76751D860202001190A3 /* Base */,
);
name = LaunchScreen.storyboard;
sourceTree = "<group>";
};
/* End PBXVariantGroup section */

/* Begin XCBuildConfiguration section */
558C76781D860202001190A3 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
);
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 9.3;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
};
558C76791D860202001190A3 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 9.3;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2";
VALIDATE_PRODUCT = YES;
};
name = Release;
};
558C767B1D860202001190A3 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
INFOPLIST_FILE = DesafioAula5/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.felipe.DesafioAula5;
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Debug;
};
558C767C1D860202001190A3 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
INFOPLIST_FILE = DesafioAula5/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.felipe.DesafioAula5;
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Release;
};
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
558C765E1D860202001190A3 /* Build configuration list for PBXProject "DesafioAula5" */ = {
isa = XCConfigurationList;
buildConfigurations = (
558C76781D860202001190A3 /* Debug */,
558C76791D860202001190A3 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
558C767A1D860202001190A3 /* Build configuration list for PBXNativeTarget "DesafioAula5" */ = {
isa = XCConfigurationList;
buildConfigurations = (
558C767B1D860202001190A3 /* Debug */,
558C767C1D860202001190A3 /* Release */,
);
defaultConfigurationIsVisible = 0;
};
/* End XCConfigurationList section */
};
rootObject = 558C765B1D860202001190A3 /* Project object */;
}
17 changes: 17 additions & 0 deletions DesafioAula5/DesafioAula5/AppDelegate.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
//
// AppDelegate.h
// DesafioAula5
//
// Created by Felipe Escote on 9/11/16.
// Copyright © 2016 Felipe. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface AppDelegate : UIResponder <UIApplicationDelegate>

@property (strong, nonatomic) UIWindow *window;


@end

45 changes: 45 additions & 0 deletions DesafioAula5/DesafioAula5/AppDelegate.m
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
//
// AppDelegate.m
// DesafioAula5
//
// Created by Felipe Escote on 9/11/16.
// Copyright © 2016 Felipe. All rights reserved.
//

#import "AppDelegate.h"

@interface AppDelegate ()

@end

@implementation AppDelegate


- (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
Loading

0 comments on commit d950c22

Please sign in to comment.