Skip to content

Commit

Permalink
added EmailDemo
Browse files Browse the repository at this point in the history
  • Loading branch information
ioscreator committed Mar 24, 2013
1 parent efe1425 commit 93ce54e
Show file tree
Hide file tree
Showing 14 changed files with 1,308 additions and 0 deletions.
305 changes: 305 additions & 0 deletions JSONDemo/JSONDemo.xcodeproj/project.pbxproj
@@ -0,0 +1,305 @@
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 46;
objects = {

/* Begin PBXBuildFile section */
E2B3D4FE16FF1528000236AE /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E2B3D4FD16FF1528000236AE /* UIKit.framework */; };
E2B3D50016FF1528000236AE /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E2B3D4FF16FF1528000236AE /* Foundation.framework */; };
E2B3D50216FF1528000236AE /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E2B3D50116FF1528000236AE /* CoreGraphics.framework */; };
E2B3D50816FF1528000236AE /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = E2B3D50616FF1528000236AE /* InfoPlist.strings */; };
E2B3D50A16FF1528000236AE /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = E2B3D50916FF1528000236AE /* main.m */; };
E2B3D50E16FF1528000236AE /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = E2B3D50D16FF1528000236AE /* AppDelegate.m */; };
E2B3D51016FF1528000236AE /* Default.png in Resources */ = {isa = PBXBuildFile; fileRef = E2B3D50F16FF1528000236AE /* Default.png */; };
E2B3D51216FF1528000236AE /* Default@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = E2B3D51116FF1528000236AE /* Default@2x.png */; };
E2B3D51416FF1528000236AE /* Default-568h@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = E2B3D51316FF1528000236AE /* Default-568h@2x.png */; };
E2B3D51716FF1528000236AE /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = E2B3D51616FF1528000236AE /* ViewController.m */; };
E2B3D51A16FF1528000236AE /* ViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = E2B3D51816FF1528000236AE /* ViewController.xib */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
E2B3D4FA16FF1528000236AE /* JSONDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = JSONDemo.app; sourceTree = BUILT_PRODUCTS_DIR; };
E2B3D4FD16FF1528000236AE /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
E2B3D4FF16FF1528000236AE /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
E2B3D50116FF1528000236AE /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
E2B3D50516FF1528000236AE /* JSONDemo-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "JSONDemo-Info.plist"; sourceTree = "<group>"; };
E2B3D50716FF1528000236AE /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
E2B3D50916FF1528000236AE /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
E2B3D50B16FF1528000236AE /* JSONDemo-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "JSONDemo-Prefix.pch"; sourceTree = "<group>"; };
E2B3D50C16FF1528000236AE /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
E2B3D50D16FF1528000236AE /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
E2B3D50F16FF1528000236AE /* Default.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Default.png; sourceTree = "<group>"; };
E2B3D51116FF1528000236AE /* Default@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default@2x.png"; sourceTree = "<group>"; };
E2B3D51316FF1528000236AE /* Default-568h@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default-568h@2x.png"; sourceTree = "<group>"; };
E2B3D51516FF1528000236AE /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = "<group>"; };
E2B3D51616FF1528000236AE /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = "<group>"; };
E2B3D51916FF1528000236AE /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/ViewController.xib; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
E2B3D4F716FF1528000236AE /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
E2B3D4FE16FF1528000236AE /* UIKit.framework in Frameworks */,
E2B3D50016FF1528000236AE /* Foundation.framework in Frameworks */,
E2B3D50216FF1528000236AE /* CoreGraphics.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
E2B3D4F116FF1528000236AE = {
isa = PBXGroup;
children = (
E2B3D50316FF1528000236AE /* JSONDemo */,
E2B3D4FC16FF1528000236AE /* Frameworks */,
E2B3D4FB16FF1528000236AE /* Products */,
);
sourceTree = "<group>";
};
E2B3D4FB16FF1528000236AE /* Products */ = {
isa = PBXGroup;
children = (
E2B3D4FA16FF1528000236AE /* JSONDemo.app */,
);
name = Products;
sourceTree = "<group>";
};
E2B3D4FC16FF1528000236AE /* Frameworks */ = {
isa = PBXGroup;
children = (
E2B3D4FD16FF1528000236AE /* UIKit.framework */,
E2B3D4FF16FF1528000236AE /* Foundation.framework */,
E2B3D50116FF1528000236AE /* CoreGraphics.framework */,
);
name = Frameworks;
sourceTree = "<group>";
};
E2B3D50316FF1528000236AE /* JSONDemo */ = {
isa = PBXGroup;
children = (
E2B3D50C16FF1528000236AE /* AppDelegate.h */,
E2B3D50D16FF1528000236AE /* AppDelegate.m */,
E2B3D51516FF1528000236AE /* ViewController.h */,
E2B3D51616FF1528000236AE /* ViewController.m */,
E2B3D51816FF1528000236AE /* ViewController.xib */,
E2B3D50416FF1528000236AE /* Supporting Files */,
);
path = JSONDemo;
sourceTree = "<group>";
};
E2B3D50416FF1528000236AE /* Supporting Files */ = {
isa = PBXGroup;
children = (
E2B3D50516FF1528000236AE /* JSONDemo-Info.plist */,
E2B3D50616FF1528000236AE /* InfoPlist.strings */,
E2B3D50916FF1528000236AE /* main.m */,
E2B3D50B16FF1528000236AE /* JSONDemo-Prefix.pch */,
E2B3D50F16FF1528000236AE /* Default.png */,
E2B3D51116FF1528000236AE /* Default@2x.png */,
E2B3D51316FF1528000236AE /* Default-568h@2x.png */,
);
name = "Supporting Files";
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
E2B3D4F916FF1528000236AE /* JSONDemo */ = {
isa = PBXNativeTarget;
buildConfigurationList = E2B3D51D16FF1528000236AE /* Build configuration list for PBXNativeTarget "JSONDemo" */;
buildPhases = (
E2B3D4F616FF1528000236AE /* Sources */,
E2B3D4F716FF1528000236AE /* Frameworks */,
E2B3D4F816FF1528000236AE /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = JSONDemo;
productName = JSONDemo;
productReference = E2B3D4FA16FF1528000236AE /* JSONDemo.app */;
productType = "com.apple.product-type.application";
};
/* End PBXNativeTarget section */

/* Begin PBXProject section */
E2B3D4F216FF1528000236AE /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 0460;
ORGANIZATIONNAME = "Arthur Knopper";
};
buildConfigurationList = E2B3D4F516FF1528000236AE /* Build configuration list for PBXProject "JSONDemo" */;
compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
hasScannedForEncodings = 0;
knownRegions = (
en,
);
mainGroup = E2B3D4F116FF1528000236AE;
productRefGroup = E2B3D4FB16FF1528000236AE /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
E2B3D4F916FF1528000236AE /* JSONDemo */,
);
};
/* End PBXProject section */

/* Begin PBXResourcesBuildPhase section */
E2B3D4F816FF1528000236AE /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
E2B3D50816FF1528000236AE /* InfoPlist.strings in Resources */,
E2B3D51016FF1528000236AE /* Default.png in Resources */,
E2B3D51216FF1528000236AE /* Default@2x.png in Resources */,
E2B3D51416FF1528000236AE /* Default-568h@2x.png in Resources */,
E2B3D51A16FF1528000236AE /* ViewController.xib in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
E2B3D4F616FF1528000236AE /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
E2B3D50A16FF1528000236AE /* main.m in Sources */,
E2B3D50E16FF1528000236AE /* AppDelegate.m in Sources */,
E2B3D51716FF1528000236AE /* ViewController.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */

/* Begin PBXVariantGroup section */
E2B3D50616FF1528000236AE /* InfoPlist.strings */ = {
isa = PBXVariantGroup;
children = (
E2B3D50716FF1528000236AE /* en */,
);
name = InfoPlist.strings;
sourceTree = "<group>";
};
E2B3D51816FF1528000236AE /* ViewController.xib */ = {
isa = PBXVariantGroup;
children = (
E2B3D51916FF1528000236AE /* en */,
);
name = ViewController.xib;
sourceTree = "<group>";
};
/* End PBXVariantGroup section */

/* Begin XCBuildConfiguration section */
E2B3D51B16FF1528000236AE /* 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;
};
E2B3D51C16FF1528000236AE /* 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;
};
E2B3D51E16FF1528000236AE /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "JSONDemo/JSONDemo-Prefix.pch";
INFOPLIST_FILE = "JSONDemo/JSONDemo-Info.plist";
PRODUCT_NAME = "$(TARGET_NAME)";
WRAPPER_EXTENSION = app;
};
name = Debug;
};
E2B3D51F16FF1528000236AE /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "JSONDemo/JSONDemo-Prefix.pch";
INFOPLIST_FILE = "JSONDemo/JSONDemo-Info.plist";
PRODUCT_NAME = "$(TARGET_NAME)";
WRAPPER_EXTENSION = app;
};
name = Release;
};
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
E2B3D4F516FF1528000236AE /* Build configuration list for PBXProject "JSONDemo" */ = {
isa = XCConfigurationList;
buildConfigurations = (
E2B3D51B16FF1528000236AE /* Debug */,
E2B3D51C16FF1528000236AE /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
E2B3D51D16FF1528000236AE /* Build configuration list for PBXNativeTarget "JSONDemo" */ = {
isa = XCConfigurationList;
buildConfigurations = (
E2B3D51E16FF1528000236AE /* Debug */,
E2B3D51F16FF1528000236AE /* Release */,
);
defaultConfigurationIsVisible = 0;
};
/* End XCConfigurationList section */
};
rootObject = E2B3D4F216FF1528000236AE /* Project object */;
}
19 changes: 19 additions & 0 deletions JSONDemo/JSONDemo/AppDelegate.h
@@ -0,0 +1,19 @@
//
// AppDelegate.h
// JSONDemo
//
// Created by Arthur Knopper on 3/24/13.
// Copyright (c) 2013 Arthur Knopper. All rights reserved.
//

#import <UIKit/UIKit.h>

@class ViewController;

@interface AppDelegate : UIResponder <UIApplicationDelegate>

@property (strong, nonatomic) UIWindow *window;

@property (strong, nonatomic) ViewController *viewController;

@end
52 changes: 52 additions & 0 deletions JSONDemo/JSONDemo/AppDelegate.m
@@ -0,0 +1,52 @@
//
// AppDelegate.m
// JSONDemo
//
// Created by Arthur Knopper on 3/24/13.
// Copyright (c) 2013 Arthur Knopper. All rights reserved.
//

#import "AppDelegate.h"

#import "ViewController.h"

@implementation AppDelegate

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
// Override point for customization after application launch.
self.viewController = [[ViewController alloc] initWithNibName:@"ViewController" bundle:nil];
self.window.rootViewController = self.viewController;
[self.window makeKeyAndVisible];
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
Binary file added JSONDemo/JSONDemo/Default-568h@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added JSONDemo/JSONDemo/Default.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added JSONDemo/JSONDemo/Default@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 93ce54e

Please sign in to comment.