picon 0.0.1 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (58) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +2 -0
  3. data/.travis.yml +4 -0
  4. data/README.md +12 -2
  5. data/images/picon_after.png +0 -0
  6. data/images/picon_before.png +0 -0
  7. data/lib/picon/generator.rb +23 -9
  8. data/lib/picon/version.rb +1 -1
  9. data/picon.gemspec +0 -1
  10. data/spec/PiconSampleProject/PiconSampleProject.xcodeproj/project.pbxproj +489 -0
  11. data/spec/PiconSampleProject/PiconSampleProject.xcodeproj/project.pbxproj.orig +489 -0
  12. data/spec/PiconSampleProject/PiconSampleProject.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
  13. data/spec/PiconSampleProject/PiconSampleProject.xcodeproj/project.xcworkspace/xcuserdata/naoty.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
  14. data/spec/PiconSampleProject/PiconSampleProject.xcodeproj/xcuserdata/naoty.xcuserdatad/xcschemes/PiconSampleProject.xcscheme +96 -0
  15. data/spec/PiconSampleProject/PiconSampleProject.xcodeproj/xcuserdata/naoty.xcuserdatad/xcschemes/xcschememanagement.plist +27 -0
  16. data/spec/PiconSampleProject/PiconSampleProject/AppDelegate.h +15 -0
  17. data/spec/PiconSampleProject/PiconSampleProject/AppDelegate.m +46 -0
  18. data/spec/PiconSampleProject/PiconSampleProject/Base.lproj/Main_iPad.storyboard +26 -0
  19. data/spec/PiconSampleProject/PiconSampleProject/Base.lproj/Main_iPhone.storyboard +26 -0
  20. data/spec/PiconSampleProject/PiconSampleProject/Images.xcassets/AppIcon.appiconset/Contents.json +53 -0
  21. data/spec/PiconSampleProject/PiconSampleProject/Images.xcassets/LaunchImage.launchimage/Contents.json +51 -0
  22. data/spec/PiconSampleProject/PiconSampleProject/PiconSampleProject-Info.plist +49 -0
  23. data/spec/PiconSampleProject/PiconSampleProject/PiconSampleProject-Prefix.pch +16 -0
  24. data/spec/PiconSampleProject/PiconSampleProject/ViewController.h +13 -0
  25. data/spec/PiconSampleProject/PiconSampleProject/ViewController.m +29 -0
  26. data/spec/PiconSampleProject/PiconSampleProject/en.lproj/InfoPlist.strings +2 -0
  27. data/spec/PiconSampleProject/PiconSampleProject/main.m +18 -0
  28. data/spec/PiconSampleProject/PiconSampleProjectTests/PiconSampleProjectTests-Info.plist +22 -0
  29. data/spec/PiconSampleProject/PiconSampleProjectTests/PiconSampleProjectTests.m +34 -0
  30. data/spec/PiconSampleProject/PiconSampleProjectTests/en.lproj/InfoPlist.strings +2 -0
  31. data/spec/PiconSampleWorkspace/PiconSampleWorkspace.xcodeproj/project.pbxproj +1125 -0
  32. data/spec/PiconSampleWorkspace/PiconSampleWorkspace.xcodeproj/project.pbxproj.orig +1125 -0
  33. data/spec/PiconSampleWorkspace/PiconSampleWorkspace.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
  34. data/spec/PiconSampleWorkspace/PiconSampleWorkspace.xcodeproj/project.xcworkspace/xcshareddata/PiconSampleWorkspace.xccheckout +41 -0
  35. data/spec/PiconSampleWorkspace/PiconSampleWorkspace.xcodeproj/project.xcworkspace/xcuserdata/naoty.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
  36. data/spec/PiconSampleWorkspace/PiconSampleWorkspace.xcodeproj/xcuserdata/naoty.xcuserdatad/xcschemes/PiconSampleWorkspace.xcscheme +96 -0
  37. data/spec/PiconSampleWorkspace/PiconSampleWorkspace.xcodeproj/xcuserdata/naoty.xcuserdatad/xcschemes/xcschememanagement.plist +27 -0
  38. data/spec/PiconSampleWorkspace/PiconSampleWorkspace.xcworkspace/contents.xcworkspacedata +1 -0
  39. data/spec/PiconSampleWorkspace/PiconSampleWorkspace/AppDelegate.h +15 -0
  40. data/spec/PiconSampleWorkspace/PiconSampleWorkspace/AppDelegate.m +46 -0
  41. data/spec/PiconSampleWorkspace/PiconSampleWorkspace/Base.lproj/Main_iPad.storyboard +26 -0
  42. data/spec/PiconSampleWorkspace/PiconSampleWorkspace/Base.lproj/Main_iPhone.storyboard +26 -0
  43. data/spec/PiconSampleWorkspace/PiconSampleWorkspace/Images.xcassets/AppIcon.appiconset/Contents.json +53 -0
  44. data/spec/PiconSampleWorkspace/PiconSampleWorkspace/Images.xcassets/LaunchImage.launchimage/Contents.json +51 -0
  45. data/spec/PiconSampleWorkspace/PiconSampleWorkspace/PiconSampleWorkspace-Info.plist +49 -0
  46. data/spec/PiconSampleWorkspace/PiconSampleWorkspace/PiconSampleWorkspace-Prefix.pch +16 -0
  47. data/spec/PiconSampleWorkspace/PiconSampleWorkspace/ViewController.h +13 -0
  48. data/spec/PiconSampleWorkspace/PiconSampleWorkspace/ViewController.m +29 -0
  49. data/spec/PiconSampleWorkspace/PiconSampleWorkspace/en.lproj/InfoPlist.strings +2 -0
  50. data/spec/PiconSampleWorkspace/PiconSampleWorkspace/main.m +18 -0
  51. data/spec/PiconSampleWorkspace/PiconSampleWorkspaceTests/PiconSampleWorkspaceTests-Info.plist +22 -0
  52. data/spec/PiconSampleWorkspace/PiconSampleWorkspaceTests/PiconSampleWorkspaceTests.m +34 -0
  53. data/spec/PiconSampleWorkspace/PiconSampleWorkspaceTests/en.lproj/InfoPlist.strings +2 -0
  54. data/spec/PiconSampleWorkspace/Podfile +3 -0
  55. data/spec/PiconSampleWorkspace/Podfile.lock +29 -0
  56. data/spec/picon/generator_spec.rb +68 -0
  57. data/spec/spec_helper.rb +2 -0
  58. metadata +102 -17
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <Workspace
3
+ version = "1.0">
4
+ <FileRef
5
+ location = "self:PiconSampleProject.xcodeproj">
6
+ </FileRef>
7
+ </Workspace>
@@ -0,0 +1,96 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <Scheme
3
+ LastUpgradeVersion = "0500"
4
+ version = "1.3">
5
+ <BuildAction
6
+ parallelizeBuildables = "YES"
7
+ buildImplicitDependencies = "YES">
8
+ <BuildActionEntries>
9
+ <BuildActionEntry
10
+ buildForTesting = "YES"
11
+ buildForRunning = "YES"
12
+ buildForProfiling = "YES"
13
+ buildForArchiving = "YES"
14
+ buildForAnalyzing = "YES">
15
+ <BuildableReference
16
+ BuildableIdentifier = "primary"
17
+ BlueprintIdentifier = "3D9757B118325C1A00224F3E"
18
+ BuildableName = "PiconSampleProject.app"
19
+ BlueprintName = "PiconSampleProject"
20
+ ReferencedContainer = "container:PiconSampleProject.xcodeproj">
21
+ </BuildableReference>
22
+ </BuildActionEntry>
23
+ </BuildActionEntries>
24
+ </BuildAction>
25
+ <TestAction
26
+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
27
+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
28
+ shouldUseLaunchSchemeArgsEnv = "YES"
29
+ buildConfiguration = "Debug">
30
+ <Testables>
31
+ <TestableReference
32
+ skipped = "NO">
33
+ <BuildableReference
34
+ BuildableIdentifier = "primary"
35
+ BlueprintIdentifier = "3D9757D518325C1A00224F3E"
36
+ BuildableName = "PiconSampleProjectTests.xctest"
37
+ BlueprintName = "PiconSampleProjectTests"
38
+ ReferencedContainer = "container:PiconSampleProject.xcodeproj">
39
+ </BuildableReference>
40
+ </TestableReference>
41
+ </Testables>
42
+ <MacroExpansion>
43
+ <BuildableReference
44
+ BuildableIdentifier = "primary"
45
+ BlueprintIdentifier = "3D9757B118325C1A00224F3E"
46
+ BuildableName = "PiconSampleProject.app"
47
+ BlueprintName = "PiconSampleProject"
48
+ ReferencedContainer = "container:PiconSampleProject.xcodeproj">
49
+ </BuildableReference>
50
+ </MacroExpansion>
51
+ </TestAction>
52
+ <LaunchAction
53
+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
54
+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
55
+ launchStyle = "0"
56
+ useCustomWorkingDirectory = "NO"
57
+ buildConfiguration = "Debug"
58
+ ignoresPersistentStateOnLaunch = "NO"
59
+ debugDocumentVersioning = "YES"
60
+ allowLocationSimulation = "YES">
61
+ <BuildableProductRunnable>
62
+ <BuildableReference
63
+ BuildableIdentifier = "primary"
64
+ BlueprintIdentifier = "3D9757B118325C1A00224F3E"
65
+ BuildableName = "PiconSampleProject.app"
66
+ BlueprintName = "PiconSampleProject"
67
+ ReferencedContainer = "container:PiconSampleProject.xcodeproj">
68
+ </BuildableReference>
69
+ </BuildableProductRunnable>
70
+ <AdditionalOptions>
71
+ </AdditionalOptions>
72
+ </LaunchAction>
73
+ <ProfileAction
74
+ shouldUseLaunchSchemeArgsEnv = "YES"
75
+ savedToolIdentifier = ""
76
+ useCustomWorkingDirectory = "NO"
77
+ buildConfiguration = "Release"
78
+ debugDocumentVersioning = "YES">
79
+ <BuildableProductRunnable>
80
+ <BuildableReference
81
+ BuildableIdentifier = "primary"
82
+ BlueprintIdentifier = "3D9757B118325C1A00224F3E"
83
+ BuildableName = "PiconSampleProject.app"
84
+ BlueprintName = "PiconSampleProject"
85
+ ReferencedContainer = "container:PiconSampleProject.xcodeproj">
86
+ </BuildableReference>
87
+ </BuildableProductRunnable>
88
+ </ProfileAction>
89
+ <AnalyzeAction
90
+ buildConfiguration = "Debug">
91
+ </AnalyzeAction>
92
+ <ArchiveAction
93
+ buildConfiguration = "Release"
94
+ revealArchiveInOrganizer = "YES">
95
+ </ArchiveAction>
96
+ </Scheme>
@@ -0,0 +1,27 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>SchemeUserState</key>
6
+ <dict>
7
+ <key>PiconSampleProject.xcscheme</key>
8
+ <dict>
9
+ <key>orderHint</key>
10
+ <integer>0</integer>
11
+ </dict>
12
+ </dict>
13
+ <key>SuppressBuildableAutocreation</key>
14
+ <dict>
15
+ <key>3D9757B118325C1A00224F3E</key>
16
+ <dict>
17
+ <key>primary</key>
18
+ <true/>
19
+ </dict>
20
+ <key>3D9757D518325C1A00224F3E</key>
21
+ <dict>
22
+ <key>primary</key>
23
+ <true/>
24
+ </dict>
25
+ </dict>
26
+ </dict>
27
+ </plist>
@@ -0,0 +1,15 @@
1
+ //
2
+ // AppDelegate.h
3
+ // PiconSampleProject
4
+ //
5
+ // Created by naoty on 2013/11/12.
6
+ // Copyright (c) 2013年 Naoto Kaneko. All rights reserved.
7
+ //
8
+
9
+ #import <UIKit/UIKit.h>
10
+
11
+ @interface AppDelegate : UIResponder <UIApplicationDelegate>
12
+
13
+ @property (strong, nonatomic) UIWindow *window;
14
+
15
+ @end
@@ -0,0 +1,46 @@
1
+ //
2
+ // AppDelegate.m
3
+ // PiconSampleProject
4
+ //
5
+ // Created by naoty on 2013/11/12.
6
+ // Copyright (c) 2013年 Naoto Kaneko. All rights reserved.
7
+ //
8
+
9
+ #import "AppDelegate.h"
10
+
11
+ @implementation AppDelegate
12
+
13
+ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
14
+ {
15
+ // Override point for customization after application launch.
16
+ return YES;
17
+ }
18
+
19
+ - (void)applicationWillResignActive:(UIApplication *)application
20
+ {
21
+ // 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.
22
+ // 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.
23
+ }
24
+
25
+ - (void)applicationDidEnterBackground:(UIApplication *)application
26
+ {
27
+ // 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.
28
+ // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
29
+ }
30
+
31
+ - (void)applicationWillEnterForeground:(UIApplication *)application
32
+ {
33
+ // 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.
34
+ }
35
+
36
+ - (void)applicationDidBecomeActive:(UIApplication *)application
37
+ {
38
+ // 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.
39
+ }
40
+
41
+ - (void)applicationWillTerminate:(UIApplication *)application
42
+ {
43
+ // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
44
+ }
45
+
46
+ @end
@@ -0,0 +1,26 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="4451" systemVersion="13A461" targetRuntime="iOS.CocoaTouch.iPad" propertyAccessControl="none" useAutolayout="YES" initialViewController="BYZ-38-t0r">
3
+ <dependencies>
4
+ <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="3676"/>
5
+ </dependencies>
6
+ <scenes>
7
+ <!--class Prefix:identifier View Controller-->
8
+ <scene sceneID="tne-QT-ifu">
9
+ <objects>
10
+ <viewController id="BYZ-38-t0r" customClass="ViewController" sceneMemberID="viewController">
11
+ <view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC">
12
+ <rect key="frame" x="0.0" y="20" width="768" height="1004"/>
13
+ <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
14
+ <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
15
+ </view>
16
+ </viewController>
17
+ <placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
18
+ </objects>
19
+ </scene>
20
+ </scenes>
21
+ <simulatedMetricsContainer key="defaultSimulatedMetrics">
22
+ <simulatedStatusBarMetrics key="statusBar" statusBarStyle="blackOpaque"/>
23
+ <simulatedOrientationMetrics key="orientation"/>
24
+ <simulatedScreenMetrics key="destination"/>
25
+ </simulatedMetricsContainer>
26
+ </document>
@@ -0,0 +1,26 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="4451" systemVersion="13A461" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" initialViewController="vXZ-lx-hvc">
3
+ <dependencies>
4
+ <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="3676"/>
5
+ </dependencies>
6
+ <scenes>
7
+ <!--class Prefix:identifier View Controller-->
8
+ <scene sceneID="ufC-wZ-h7g">
9
+ <objects>
10
+ <viewController id="vXZ-lx-hvc" customClass="ViewController" sceneMemberID="viewController">
11
+ <view key="view" contentMode="scaleToFill" id="kh9-bI-dsS">
12
+ <rect key="frame" x="0.0" y="0.0" width="320" height="568"/>
13
+ <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
14
+ <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
15
+ </view>
16
+ </viewController>
17
+ <placeholder placeholderIdentifier="IBFirstResponder" id="x5A-6p-PRh" sceneMemberID="firstResponder"/>
18
+ </objects>
19
+ </scene>
20
+ </scenes>
21
+ <simulatedMetricsContainer key="defaultSimulatedMetrics">
22
+ <simulatedStatusBarMetrics key="statusBar"/>
23
+ <simulatedOrientationMetrics key="orientation"/>
24
+ <simulatedScreenMetrics key="destination" type="retina4"/>
25
+ </simulatedMetricsContainer>
26
+ </document>
@@ -0,0 +1,53 @@
1
+ {
2
+ "images" : [
3
+ {
4
+ "idiom" : "iphone",
5
+ "size" : "29x29",
6
+ "scale" : "2x"
7
+ },
8
+ {
9
+ "idiom" : "iphone",
10
+ "size" : "40x40",
11
+ "scale" : "2x"
12
+ },
13
+ {
14
+ "idiom" : "iphone",
15
+ "size" : "60x60",
16
+ "scale" : "2x"
17
+ },
18
+ {
19
+ "idiom" : "ipad",
20
+ "size" : "29x29",
21
+ "scale" : "1x"
22
+ },
23
+ {
24
+ "idiom" : "ipad",
25
+ "size" : "29x29",
26
+ "scale" : "2x"
27
+ },
28
+ {
29
+ "idiom" : "ipad",
30
+ "size" : "40x40",
31
+ "scale" : "1x"
32
+ },
33
+ {
34
+ "idiom" : "ipad",
35
+ "size" : "40x40",
36
+ "scale" : "2x"
37
+ },
38
+ {
39
+ "idiom" : "ipad",
40
+ "size" : "76x76",
41
+ "scale" : "1x"
42
+ },
43
+ {
44
+ "idiom" : "ipad",
45
+ "size" : "76x76",
46
+ "scale" : "2x"
47
+ }
48
+ ],
49
+ "info" : {
50
+ "version" : 1,
51
+ "author" : "xcode"
52
+ }
53
+ }
@@ -0,0 +1,51 @@
1
+ {
2
+ "images" : [
3
+ {
4
+ "orientation" : "portrait",
5
+ "idiom" : "iphone",
6
+ "extent" : "full-screen",
7
+ "minimum-system-version" : "7.0",
8
+ "scale" : "2x"
9
+ },
10
+ {
11
+ "orientation" : "portrait",
12
+ "idiom" : "iphone",
13
+ "subtype" : "retina4",
14
+ "extent" : "full-screen",
15
+ "minimum-system-version" : "7.0",
16
+ "scale" : "2x"
17
+ },
18
+ {
19
+ "orientation" : "portrait",
20
+ "idiom" : "ipad",
21
+ "extent" : "full-screen",
22
+ "minimum-system-version" : "7.0",
23
+ "scale" : "1x"
24
+ },
25
+ {
26
+ "orientation" : "landscape",
27
+ "idiom" : "ipad",
28
+ "extent" : "full-screen",
29
+ "minimum-system-version" : "7.0",
30
+ "scale" : "1x"
31
+ },
32
+ {
33
+ "orientation" : "portrait",
34
+ "idiom" : "ipad",
35
+ "extent" : "full-screen",
36
+ "minimum-system-version" : "7.0",
37
+ "scale" : "2x"
38
+ },
39
+ {
40
+ "orientation" : "landscape",
41
+ "idiom" : "ipad",
42
+ "extent" : "full-screen",
43
+ "minimum-system-version" : "7.0",
44
+ "scale" : "2x"
45
+ }
46
+ ],
47
+ "info" : {
48
+ "version" : 1,
49
+ "author" : "xcode"
50
+ }
51
+ }
@@ -0,0 +1,49 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>CFBundleDevelopmentRegion</key>
6
+ <string>en</string>
7
+ <key>CFBundleDisplayName</key>
8
+ <string>${PRODUCT_NAME}</string>
9
+ <key>CFBundleExecutable</key>
10
+ <string>${EXECUTABLE_NAME}</string>
11
+ <key>CFBundleIdentifier</key>
12
+ <string>info.naoty.${PRODUCT_NAME:rfc1034identifier}</string>
13
+ <key>CFBundleInfoDictionaryVersion</key>
14
+ <string>6.0</string>
15
+ <key>CFBundleName</key>
16
+ <string>${PRODUCT_NAME}</string>
17
+ <key>CFBundlePackageType</key>
18
+ <string>APPL</string>
19
+ <key>CFBundleShortVersionString</key>
20
+ <string>1.0</string>
21
+ <key>CFBundleSignature</key>
22
+ <string>????</string>
23
+ <key>CFBundleVersion</key>
24
+ <string>1.0</string>
25
+ <key>LSRequiresIPhoneOS</key>
26
+ <true/>
27
+ <key>UIMainStoryboardFile</key>
28
+ <string>Main_iPhone</string>
29
+ <key>UIMainStoryboardFile~ipad</key>
30
+ <string>Main_iPad</string>
31
+ <key>UIRequiredDeviceCapabilities</key>
32
+ <array>
33
+ <string>armv7</string>
34
+ </array>
35
+ <key>UISupportedInterfaceOrientations</key>
36
+ <array>
37
+ <string>UIInterfaceOrientationPortrait</string>
38
+ <string>UIInterfaceOrientationLandscapeLeft</string>
39
+ <string>UIInterfaceOrientationLandscapeRight</string>
40
+ </array>
41
+ <key>UISupportedInterfaceOrientations~ipad</key>
42
+ <array>
43
+ <string>UIInterfaceOrientationPortrait</string>
44
+ <string>UIInterfaceOrientationPortraitUpsideDown</string>
45
+ <string>UIInterfaceOrientationLandscapeLeft</string>
46
+ <string>UIInterfaceOrientationLandscapeRight</string>
47
+ </array>
48
+ </dict>
49
+ </plist>
@@ -0,0 +1,16 @@
1
+ //
2
+ // Prefix header
3
+ //
4
+ // The contents of this file are implicitly included at the beginning of every source file.
5
+ //
6
+
7
+ #import <Availability.h>
8
+
9
+ #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 <UIKit/UIKit.h>
15
+ #import <Foundation/Foundation.h>
16
+ #endif
@@ -0,0 +1,13 @@
1
+ //
2
+ // ViewController.h
3
+ // PiconSampleProject
4
+ //
5
+ // Created by naoty on 2013/11/12.
6
+ // Copyright (c) 2013年 Naoto Kaneko. All rights reserved.
7
+ //
8
+
9
+ #import <UIKit/UIKit.h>
10
+
11
+ @interface ViewController : UIViewController
12
+
13
+ @end
@@ -0,0 +1,29 @@
1
+ //
2
+ // ViewController.m
3
+ // PiconSampleProject
4
+ //
5
+ // Created by naoty on 2013/11/12.
6
+ // Copyright (c) 2013年 Naoto Kaneko. All rights reserved.
7
+ //
8
+
9
+ #import "ViewController.h"
10
+
11
+ @interface ViewController ()
12
+
13
+ @end
14
+
15
+ @implementation ViewController
16
+
17
+ - (void)viewDidLoad
18
+ {
19
+ [super viewDidLoad];
20
+ // Do any additional setup after loading the view, typically from a nib.
21
+ }
22
+
23
+ - (void)didReceiveMemoryWarning
24
+ {
25
+ [super didReceiveMemoryWarning];
26
+ // Dispose of any resources that can be recreated.
27
+ }
28
+
29
+ @end