Skip to content

Commit 044d1bd

Browse files
committed
add CollectionView
1 parent 930906a commit 044d1bd

51 files changed

Lines changed: 1547 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<!--
4+
.xcodesamplecode.plist
5+
CollectionView
6+
7+
Created by ad on 16/12/2017.
8+
Copyright (c) 2017 ___ORGANIZATIONNAME___. All rights reserved.
9+
-->
10+
<plist version="1.0">
11+
<dict>
12+
13+
</dict>
14+
</plist>

CollectionView/CollectionView.xcodeproj/project.pbxproj

Lines changed: 470 additions & 0 deletions
Large diffs are not rendered by default.

CollectionView/CollectionView.xcodeproj/project.xcworkspace/contents.xcworkspacedata

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
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>CollectionView.xcscheme</key>
8+
<dict>
9+
<key>orderHint</key>
10+
<integer>0</integer>
11+
</dict>
12+
</dict>
13+
</dict>
14+
</plist>
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
//
2+
// AppDelegate.h
3+
// CollectionView
4+
//
5+
// Created by ad on 08/12/2017.
6+
//
7+
8+
#import <UIKit/UIKit.h>
9+
10+
@interface AppDelegate : UIResponder <UIApplicationDelegate>
11+
12+
@property (strong, nonatomic) UIWindow *window;
13+
14+
15+
@end
16+
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
//
2+
// AppDelegate.m
3+
// CollectionView
4+
//
5+
// Created by ad on 08/12/2017.
6+
//
7+
8+
#import "AppDelegate.h"
9+
10+
@interface AppDelegate ()
11+
12+
@end
13+
14+
@implementation AppDelegate
15+
16+
17+
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
18+
// Override point for customization after application launch.
19+
return YES;
20+
}
21+
22+
23+
- (void)applicationWillResignActive:(UIApplication *)application {
24+
// 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.
25+
// Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game.
26+
}
27+
28+
29+
- (void)applicationDidEnterBackground:(UIApplication *)application {
30+
// 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.
31+
// If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
32+
}
33+
34+
35+
- (void)applicationWillEnterForeground:(UIApplication *)application {
36+
// Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background.
37+
}
38+
39+
40+
- (void)applicationDidBecomeActive:(UIApplication *)application {
41+
// 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.
42+
}
43+
44+
45+
- (void)applicationWillTerminate:(UIApplication *)application {
46+
// Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
47+
}
48+
49+
50+
@end
17.2 KB
Loading
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"images" : [
3+
{
4+
"idiom" : "universal",
5+
"filename" : "1.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+
}
7.48 KB
Loading

0 commit comments

Comments
 (0)