├── WZStoreHouseTableView
├── Images.xcassets
│ ├── Resources
│ │ ├── 1.imageset
│ │ │ ├── 1.jpg
│ │ │ └── Contents.json
│ │ └── 2.imageset
│ │ │ ├── 2.jpg
│ │ │ └── Contents.json
│ └── AppIcon.appiconset
│ │ └── Contents.json
├── WZScalableTableViewCell.swift
├── Info.plist
├── ViewController.swift
├── WZStoreHouseTableView.swift
├── AppDelegate.swift
└── Base.lproj
│ ├── LaunchScreen.xib
│ └── Main.storyboard
├── WZStoreHouseTableView.xcodeproj
├── project.xcworkspace
│ └── contents.xcworkspacedata
├── .gitignore
└── project.pbxproj
├── WZStoreHouseTableViewTests
├── Info.plist
└── WZStoreHouseTableViewTests.swift
└── README.md
/WZStoreHouseTableView/Images.xcassets/Resources/1.imageset/1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SatanWoo/WZStoreHouseTableView/HEAD/WZStoreHouseTableView/Images.xcassets/Resources/1.imageset/1.jpg
--------------------------------------------------------------------------------
/WZStoreHouseTableView/Images.xcassets/Resources/2.imageset/2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SatanWoo/WZStoreHouseTableView/HEAD/WZStoreHouseTableView/Images.xcassets/Resources/2.imageset/2.jpg
--------------------------------------------------------------------------------
/WZStoreHouseTableView.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/WZStoreHouseTableView/Images.xcassets/Resources/1.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "scale" : "1x",
6 | "filename" : "1.jpg"
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 | }
--------------------------------------------------------------------------------
/WZStoreHouseTableView/Images.xcassets/Resources/2.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "scale" : "1x",
6 | "filename" : "2.jpg"
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 | }
--------------------------------------------------------------------------------
/WZStoreHouseTableView.xcodeproj/.gitignore:
--------------------------------------------------------------------------------
1 | # Xcode
2 | #
3 | build/
4 | *.pbxuser
5 | !default.pbxuser
6 | *.mode1v3
7 | !default.mode1v3
8 | *.mode2v3
9 | !default.mode2v3
10 | *.perspectivev3
11 | !default.perspectivev3
12 | xcuserdata
13 | *.xccheckout
14 | *.moved-aside
15 | DerivedData
16 | *.hmap
17 | *.ipa
18 | *.xcuserstate
19 |
20 | # CocoaPods
21 | #
22 | # We recommend against adding the Pods directory to your .gitignore. However
23 | # you should judge for yourself, the pros and cons are mentioned at:
24 | # http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control
25 | #
26 | # Pods/
27 |
--------------------------------------------------------------------------------
/WZStoreHouseTableView/Images.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "iphone",
5 | "size" : "29x29",
6 | "scale" : "2x"
7 | },
8 | {
9 | "idiom" : "iphone",
10 | "size" : "29x29",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "40x40",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "40x40",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "60x60",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "60x60",
31 | "scale" : "3x"
32 | }
33 | ],
34 | "info" : {
35 | "version" : 1,
36 | "author" : "xcode"
37 | }
38 | }
--------------------------------------------------------------------------------
/WZStoreHouseTableView/WZScalableTableViewCell.swift:
--------------------------------------------------------------------------------
1 | //
2 | // WZScalableTableViewCell.swift
3 | // WZStoreHouseTableView
4 | //
5 | // Created by z on 15-2-28.
6 | // Copyright (c) 2015年 SatanWoo. All rights reserved.
7 | //
8 |
9 | import UIKit
10 |
11 | class WZScalableTableViewCell:UITableViewCell, WZStoreHouseTableViewTransform {
12 | let miniumScale:CGFloat = 0.85;
13 |
14 | @IBOutlet weak var photoImageView: UIImageView!
15 | @IBOutlet weak var scaleView: UIView!
16 | override func prepareForReuse() {
17 | super.prepareForReuse();
18 | self.scaleView.transform = CGAffineTransformMakeScale(self.miniumScale, self.miniumScale);
19 | }
20 |
21 | func transformCell(forScale scale: CGFloat) {
22 | self.scaleView.transform = CGAffineTransformMakeScale(1.0 - scale, 1.0 - scale);
23 | }
24 | }
--------------------------------------------------------------------------------
/WZStoreHouseTableViewTests/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | SJTU.$(PRODUCT_NAME:rfc1034identifier)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | BNDL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 |
24 |
25 |
--------------------------------------------------------------------------------
/WZStoreHouseTableViewTests/WZStoreHouseTableViewTests.swift:
--------------------------------------------------------------------------------
1 | //
2 | // WZStoreHouseTableViewTests.swift
3 | // WZStoreHouseTableViewTests
4 | //
5 | // Created by z on 15-2-28.
6 | // Copyright (c) 2015年 SatanWoo. All rights reserved.
7 | //
8 |
9 | import UIKit
10 | import XCTest
11 |
12 | class WZStoreHouseTableViewTests: XCTestCase {
13 |
14 | override func setUp() {
15 | super.setUp()
16 | // Put setup code here. This method is called before the invocation of each test method in the class.
17 | }
18 |
19 | override func tearDown() {
20 | // Put teardown code here. This method is called after the invocation of each test method in the class.
21 | super.tearDown()
22 | }
23 |
24 | func testExample() {
25 | // This is an example of a functional test case.
26 | XCTAssert(true, "Pass")
27 | }
28 |
29 | func testPerformanceExample() {
30 | // This is an example of a performance test case.
31 | self.measureBlock() {
32 | // Put the code you want to measure the time of here.
33 | }
34 | }
35 |
36 | }
37 |
--------------------------------------------------------------------------------
/WZStoreHouseTableView/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | SJTU.$(PRODUCT_NAME:rfc1034identifier)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIMainStoryboardFile
28 | Main
29 | UIRequiredDeviceCapabilities
30 |
31 | armv7
32 |
33 | UISupportedInterfaceOrientations
34 |
35 | UIInterfaceOrientationPortrait
36 |
37 |
38 |
39 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # WZStoreHouseTableView
2 | Scalable Table View like Store House app, written in Swift.
3 |
4 | Implementation is not challenging, and I guess someone may have implemented similar result with UICollectionViewLayout customization.
5 |
6 | Mine is based on UITableView and this is my first Swift project, so please feel free to find bugs and report them.
7 |
8 | ## Demo
9 |
10 |
11 | ## Example
12 | In WZStoreHouseTableView.swift, you will find there is a protocol with one variable need to be set and one func to be implemented.
13 |
14 | @objc protocol WZStoreHouseTableViewTransform {
15 | var miniumScale:CGFloat {get};
16 | func transformCell(forScale scale:CGFloat);
17 | }
18 |
19 |
20 | That's all for you to do, you can refer to WZScalableTableViewCell as an example, where I set miniumScale variable and conform to the transformCell method.
21 |
22 | let miniumScale:CGFloat = 0.85;
23 | func transformCell(forScale scale: CGFloat) {
24 | self.scaleView.transform = CGAffineTransformMakeScale(1.0 - scale, 1.0 - scale);
25 | }
26 |
27 | ##### Here I only use a linear transformation for simplicity, but you are not constrained to it. You can use any high order math intepolation to implement transformation.
28 |
29 | ## License
30 | MIT License
31 | Copyright © 2015 SatanWoo.
32 |
--------------------------------------------------------------------------------
/WZStoreHouseTableView/ViewController.swift:
--------------------------------------------------------------------------------
1 | //
2 | // ViewController.swift
3 | // WZStoreHouseTableView
4 | //
5 | // Created by z on 15-2-28.
6 | // Copyright (c) 2015年 SatanWoo. All rights reserved.
7 | //
8 |
9 | import UIKit
10 |
11 | class ViewController: UIViewController, UITableViewDelegate, UITableViewDataSource {
12 |
13 | @IBOutlet weak var tableView: UITableView!
14 |
15 | override func viewDidLoad() {
16 | super.viewDidLoad()
17 | }
18 |
19 | override func didReceiveMemoryWarning() {
20 | super.didReceiveMemoryWarning()
21 | }
22 |
23 | // DataSource
24 | func numberOfSectionsInTableView(tableView: UITableView) -> Int {
25 | return 1;
26 | }
27 |
28 | func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
29 | return 8;
30 | }
31 |
32 | func tableView(tableView: UITableView, heightForRowAtIndexPath indexPath: NSIndexPath) -> CGFloat {
33 | return 363.0;
34 | }
35 |
36 | func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell {
37 | let cell = tableView.dequeueReusableCellWithIdentifier("StoreHouseCell", forIndexPath: indexPath) as! WZScalableTableViewCell;
38 |
39 | cell.photoImageView.image = UIImage(named: "\(indexPath.row % 2 + 1)");
40 | return cell;
41 | }
42 | }
43 |
44 |
--------------------------------------------------------------------------------
/WZStoreHouseTableView/WZStoreHouseTableView.swift:
--------------------------------------------------------------------------------
1 | //
2 | // WZStoreHouseTableView.swift
3 | // WZStoreHouseTableView
4 | //
5 | // Created by z on 15-2-28.
6 | // Copyright (c) 2015年 SatanWoo. All rights reserved.
7 | //
8 |
9 | import UIKit
10 |
11 | @objc protocol WZStoreHouseTableViewTransform {
12 | var miniumScale:CGFloat {get};
13 | func transformCell(forScale scale:CGFloat);
14 | }
15 |
16 | class WZStoreHouseTableView:UITableView {
17 | override func layoutSubviews() {
18 | super.layoutSubviews();
19 | self.transform();
20 | }
21 |
22 | private func transform()->Void {
23 |
24 | for indexPath in self.indexPathsForVisibleRows! as [NSIndexPath] {
25 | if let cell = self.cellForRowAtIndexPath(indexPath) as? WZStoreHouseTableViewTransform {
26 | let distanceFromCenter = self.computeDistanceFromCenter(indexPath);
27 | cell.transformCell(forScale: self.computeScale(distanceFromCenter, minScale: cell.miniumScale));
28 | }
29 | }
30 | }
31 |
32 | private func computeDistanceFromCenter(indexPath:NSIndexPath) -> CGFloat {
33 | let cellRect = self.rectForRowAtIndexPath(indexPath);
34 | let cellCenter = cellRect.origin.y + cellRect.size.height/2;
35 | let contentCenter = self.contentOffset.y + self.bounds.size.height/2;
36 |
37 | return fabs(cellCenter - contentCenter);
38 | }
39 |
40 | private func computeScale(distanceFromCenter:CGFloat, minScale:CGFloat)->CGFloat {
41 | return (1.0 - minScale) * distanceFromCenter / self.bounds.size.height;
42 | }
43 | }
44 |
--------------------------------------------------------------------------------
/WZStoreHouseTableView/AppDelegate.swift:
--------------------------------------------------------------------------------
1 | //
2 | // AppDelegate.swift
3 | // WZStoreHouseTableView
4 | //
5 | // Created by z on 15-2-28.
6 | // Copyright (c) 2015年 SatanWoo. All rights reserved.
7 | //
8 |
9 | import UIKit
10 |
11 | @UIApplicationMain
12 | class AppDelegate: UIResponder, UIApplicationDelegate {
13 |
14 | var window: UIWindow?
15 |
16 |
17 | func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
18 | // Override point for customization after application launch.
19 | return true
20 | }
21 |
22 | func applicationWillResignActive(application: UIApplication) {
23 | // 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.
24 | // 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.
25 | }
26 |
27 | func applicationDidEnterBackground(application: UIApplication) {
28 | // 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.
29 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
30 | }
31 |
32 | func applicationWillEnterForeground(application: UIApplication) {
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 | func applicationDidBecomeActive(application: UIApplication) {
37 | // 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.
38 | }
39 |
40 | func applicationWillTerminate(application: UIApplication) {
41 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
42 | }
43 |
44 |
45 | }
46 |
47 |
--------------------------------------------------------------------------------
/WZStoreHouseTableView/Base.lproj/LaunchScreen.xib:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
20 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
--------------------------------------------------------------------------------
/WZStoreHouseTableView/Base.lproj/Main.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
112 |
113 |
114 |
115 |
116 |
117 |
118 |
119 |
120 |
121 |
122 |
123 |
124 |
125 |
126 |
--------------------------------------------------------------------------------
/WZStoreHouseTableView.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 46;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | 19C1EB0F1AA1EA4300DB0914 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 19C1EB0E1AA1EA4300DB0914 /* AppDelegate.swift */; };
11 | 19C1EB111AA1EA4300DB0914 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 19C1EB101AA1EA4300DB0914 /* ViewController.swift */; };
12 | 19C1EB141AA1EA4300DB0914 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 19C1EB121AA1EA4300DB0914 /* Main.storyboard */; };
13 | 19C1EB161AA1EA4300DB0914 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 19C1EB151AA1EA4300DB0914 /* Images.xcassets */; };
14 | 19C1EB191AA1EA4300DB0914 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 19C1EB171AA1EA4300DB0914 /* LaunchScreen.xib */; };
15 | 19C1EB251AA1EA4300DB0914 /* WZStoreHouseTableViewTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 19C1EB241AA1EA4300DB0914 /* WZStoreHouseTableViewTests.swift */; };
16 | 19C1EB301AA1EBAD00DB0914 /* WZScalableTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 19C1EB2F1AA1EBAD00DB0914 /* WZScalableTableViewCell.swift */; };
17 | 19C1EB321AA1ECBB00DB0914 /* WZStoreHouseTableView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 19C1EB311AA1ECBB00DB0914 /* WZStoreHouseTableView.swift */; };
18 | /* End PBXBuildFile section */
19 |
20 | /* Begin PBXContainerItemProxy section */
21 | 19C1EB1F1AA1EA4300DB0914 /* PBXContainerItemProxy */ = {
22 | isa = PBXContainerItemProxy;
23 | containerPortal = 19C1EB011AA1EA4300DB0914 /* Project object */;
24 | proxyType = 1;
25 | remoteGlobalIDString = 19C1EB081AA1EA4300DB0914;
26 | remoteInfo = WZStoreHouseTableView;
27 | };
28 | /* End PBXContainerItemProxy section */
29 |
30 | /* Begin PBXFileReference section */
31 | 19C1EB091AA1EA4300DB0914 /* WZStoreHouseTableView.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = WZStoreHouseTableView.app; sourceTree = BUILT_PRODUCTS_DIR; };
32 | 19C1EB0D1AA1EA4300DB0914 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
33 | 19C1EB0E1AA1EA4300DB0914 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; };
34 | 19C1EB101AA1EA4300DB0914 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; };
35 | 19C1EB131AA1EA4300DB0914 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
36 | 19C1EB151AA1EA4300DB0914 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; };
37 | 19C1EB181AA1EA4300DB0914 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; };
38 | 19C1EB1E1AA1EA4300DB0914 /* WZStoreHouseTableViewTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = WZStoreHouseTableViewTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
39 | 19C1EB231AA1EA4300DB0914 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
40 | 19C1EB241AA1EA4300DB0914 /* WZStoreHouseTableViewTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WZStoreHouseTableViewTests.swift; sourceTree = ""; };
41 | 19C1EB2F1AA1EBAD00DB0914 /* WZScalableTableViewCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = WZScalableTableViewCell.swift; sourceTree = ""; };
42 | 19C1EB311AA1ECBB00DB0914 /* WZStoreHouseTableView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = WZStoreHouseTableView.swift; sourceTree = ""; };
43 | /* End PBXFileReference section */
44 |
45 | /* Begin PBXFrameworksBuildPhase section */
46 | 19C1EB061AA1EA4300DB0914 /* Frameworks */ = {
47 | isa = PBXFrameworksBuildPhase;
48 | buildActionMask = 2147483647;
49 | files = (
50 | );
51 | runOnlyForDeploymentPostprocessing = 0;
52 | };
53 | 19C1EB1B1AA1EA4300DB0914 /* Frameworks */ = {
54 | isa = PBXFrameworksBuildPhase;
55 | buildActionMask = 2147483647;
56 | files = (
57 | );
58 | runOnlyForDeploymentPostprocessing = 0;
59 | };
60 | /* End PBXFrameworksBuildPhase section */
61 |
62 | /* Begin PBXGroup section */
63 | 19C1EB001AA1EA4300DB0914 = {
64 | isa = PBXGroup;
65 | children = (
66 | 19C1EB0B1AA1EA4300DB0914 /* WZStoreHouseTableView */,
67 | 19C1EB211AA1EA4300DB0914 /* WZStoreHouseTableViewTests */,
68 | 19C1EB0A1AA1EA4300DB0914 /* Products */,
69 | );
70 | sourceTree = "";
71 | };
72 | 19C1EB0A1AA1EA4300DB0914 /* Products */ = {
73 | isa = PBXGroup;
74 | children = (
75 | 19C1EB091AA1EA4300DB0914 /* WZStoreHouseTableView.app */,
76 | 19C1EB1E1AA1EA4300DB0914 /* WZStoreHouseTableViewTests.xctest */,
77 | );
78 | name = Products;
79 | sourceTree = "";
80 | };
81 | 19C1EB0B1AA1EA4300DB0914 /* WZStoreHouseTableView */ = {
82 | isa = PBXGroup;
83 | children = (
84 | 19C1EB2E1AA1EA4D00DB0914 /* WZStoreHouseTableView */,
85 | 19C1EB121AA1EA4300DB0914 /* Main.storyboard */,
86 | 19C1EB0E1AA1EA4300DB0914 /* AppDelegate.swift */,
87 | 19C1EB2F1AA1EBAD00DB0914 /* WZScalableTableViewCell.swift */,
88 | 19C1EB101AA1EA4300DB0914 /* ViewController.swift */,
89 | 19C1EB151AA1EA4300DB0914 /* Images.xcassets */,
90 | 19C1EB171AA1EA4300DB0914 /* LaunchScreen.xib */,
91 | 19C1EB0C1AA1EA4300DB0914 /* Supporting Files */,
92 | );
93 | path = WZStoreHouseTableView;
94 | sourceTree = "";
95 | };
96 | 19C1EB0C1AA1EA4300DB0914 /* Supporting Files */ = {
97 | isa = PBXGroup;
98 | children = (
99 | 19C1EB0D1AA1EA4300DB0914 /* Info.plist */,
100 | );
101 | name = "Supporting Files";
102 | sourceTree = "";
103 | };
104 | 19C1EB211AA1EA4300DB0914 /* WZStoreHouseTableViewTests */ = {
105 | isa = PBXGroup;
106 | children = (
107 | 19C1EB241AA1EA4300DB0914 /* WZStoreHouseTableViewTests.swift */,
108 | 19C1EB221AA1EA4300DB0914 /* Supporting Files */,
109 | );
110 | path = WZStoreHouseTableViewTests;
111 | sourceTree = "";
112 | };
113 | 19C1EB221AA1EA4300DB0914 /* Supporting Files */ = {
114 | isa = PBXGroup;
115 | children = (
116 | 19C1EB231AA1EA4300DB0914 /* Info.plist */,
117 | );
118 | name = "Supporting Files";
119 | sourceTree = "";
120 | };
121 | 19C1EB2E1AA1EA4D00DB0914 /* WZStoreHouseTableView */ = {
122 | isa = PBXGroup;
123 | children = (
124 | 19C1EB311AA1ECBB00DB0914 /* WZStoreHouseTableView.swift */,
125 | );
126 | name = WZStoreHouseTableView;
127 | sourceTree = "";
128 | };
129 | /* End PBXGroup section */
130 |
131 | /* Begin PBXNativeTarget section */
132 | 19C1EB081AA1EA4300DB0914 /* WZStoreHouseTableView */ = {
133 | isa = PBXNativeTarget;
134 | buildConfigurationList = 19C1EB281AA1EA4300DB0914 /* Build configuration list for PBXNativeTarget "WZStoreHouseTableView" */;
135 | buildPhases = (
136 | 19C1EB051AA1EA4300DB0914 /* Sources */,
137 | 19C1EB061AA1EA4300DB0914 /* Frameworks */,
138 | 19C1EB071AA1EA4300DB0914 /* Resources */,
139 | );
140 | buildRules = (
141 | );
142 | dependencies = (
143 | );
144 | name = WZStoreHouseTableView;
145 | productName = WZStoreHouseTableView;
146 | productReference = 19C1EB091AA1EA4300DB0914 /* WZStoreHouseTableView.app */;
147 | productType = "com.apple.product-type.application";
148 | };
149 | 19C1EB1D1AA1EA4300DB0914 /* WZStoreHouseTableViewTests */ = {
150 | isa = PBXNativeTarget;
151 | buildConfigurationList = 19C1EB2B1AA1EA4300DB0914 /* Build configuration list for PBXNativeTarget "WZStoreHouseTableViewTests" */;
152 | buildPhases = (
153 | 19C1EB1A1AA1EA4300DB0914 /* Sources */,
154 | 19C1EB1B1AA1EA4300DB0914 /* Frameworks */,
155 | 19C1EB1C1AA1EA4300DB0914 /* Resources */,
156 | );
157 | buildRules = (
158 | );
159 | dependencies = (
160 | 19C1EB201AA1EA4300DB0914 /* PBXTargetDependency */,
161 | );
162 | name = WZStoreHouseTableViewTests;
163 | productName = WZStoreHouseTableViewTests;
164 | productReference = 19C1EB1E1AA1EA4300DB0914 /* WZStoreHouseTableViewTests.xctest */;
165 | productType = "com.apple.product-type.bundle.unit-test";
166 | };
167 | /* End PBXNativeTarget section */
168 |
169 | /* Begin PBXProject section */
170 | 19C1EB011AA1EA4300DB0914 /* Project object */ = {
171 | isa = PBXProject;
172 | attributes = {
173 | LastSwiftMigration = 0720;
174 | LastSwiftUpdateCheck = 0720;
175 | LastUpgradeCheck = 0610;
176 | ORGANIZATIONNAME = SatanWoo;
177 | TargetAttributes = {
178 | 19C1EB081AA1EA4300DB0914 = {
179 | CreatedOnToolsVersion = 6.1;
180 | };
181 | 19C1EB1D1AA1EA4300DB0914 = {
182 | CreatedOnToolsVersion = 6.1;
183 | TestTargetID = 19C1EB081AA1EA4300DB0914;
184 | };
185 | };
186 | };
187 | buildConfigurationList = 19C1EB041AA1EA4300DB0914 /* Build configuration list for PBXProject "WZStoreHouseTableView" */;
188 | compatibilityVersion = "Xcode 3.2";
189 | developmentRegion = English;
190 | hasScannedForEncodings = 0;
191 | knownRegions = (
192 | en,
193 | Base,
194 | );
195 | mainGroup = 19C1EB001AA1EA4300DB0914;
196 | productRefGroup = 19C1EB0A1AA1EA4300DB0914 /* Products */;
197 | projectDirPath = "";
198 | projectRoot = "";
199 | targets = (
200 | 19C1EB081AA1EA4300DB0914 /* WZStoreHouseTableView */,
201 | 19C1EB1D1AA1EA4300DB0914 /* WZStoreHouseTableViewTests */,
202 | );
203 | };
204 | /* End PBXProject section */
205 |
206 | /* Begin PBXResourcesBuildPhase section */
207 | 19C1EB071AA1EA4300DB0914 /* Resources */ = {
208 | isa = PBXResourcesBuildPhase;
209 | buildActionMask = 2147483647;
210 | files = (
211 | 19C1EB141AA1EA4300DB0914 /* Main.storyboard in Resources */,
212 | 19C1EB191AA1EA4300DB0914 /* LaunchScreen.xib in Resources */,
213 | 19C1EB161AA1EA4300DB0914 /* Images.xcassets in Resources */,
214 | );
215 | runOnlyForDeploymentPostprocessing = 0;
216 | };
217 | 19C1EB1C1AA1EA4300DB0914 /* Resources */ = {
218 | isa = PBXResourcesBuildPhase;
219 | buildActionMask = 2147483647;
220 | files = (
221 | );
222 | runOnlyForDeploymentPostprocessing = 0;
223 | };
224 | /* End PBXResourcesBuildPhase section */
225 |
226 | /* Begin PBXSourcesBuildPhase section */
227 | 19C1EB051AA1EA4300DB0914 /* Sources */ = {
228 | isa = PBXSourcesBuildPhase;
229 | buildActionMask = 2147483647;
230 | files = (
231 | 19C1EB301AA1EBAD00DB0914 /* WZScalableTableViewCell.swift in Sources */,
232 | 19C1EB111AA1EA4300DB0914 /* ViewController.swift in Sources */,
233 | 19C1EB0F1AA1EA4300DB0914 /* AppDelegate.swift in Sources */,
234 | 19C1EB321AA1ECBB00DB0914 /* WZStoreHouseTableView.swift in Sources */,
235 | );
236 | runOnlyForDeploymentPostprocessing = 0;
237 | };
238 | 19C1EB1A1AA1EA4300DB0914 /* Sources */ = {
239 | isa = PBXSourcesBuildPhase;
240 | buildActionMask = 2147483647;
241 | files = (
242 | 19C1EB251AA1EA4300DB0914 /* WZStoreHouseTableViewTests.swift in Sources */,
243 | );
244 | runOnlyForDeploymentPostprocessing = 0;
245 | };
246 | /* End PBXSourcesBuildPhase section */
247 |
248 | /* Begin PBXTargetDependency section */
249 | 19C1EB201AA1EA4300DB0914 /* PBXTargetDependency */ = {
250 | isa = PBXTargetDependency;
251 | target = 19C1EB081AA1EA4300DB0914 /* WZStoreHouseTableView */;
252 | targetProxy = 19C1EB1F1AA1EA4300DB0914 /* PBXContainerItemProxy */;
253 | };
254 | /* End PBXTargetDependency section */
255 |
256 | /* Begin PBXVariantGroup section */
257 | 19C1EB121AA1EA4300DB0914 /* Main.storyboard */ = {
258 | isa = PBXVariantGroup;
259 | children = (
260 | 19C1EB131AA1EA4300DB0914 /* Base */,
261 | );
262 | name = Main.storyboard;
263 | sourceTree = "";
264 | };
265 | 19C1EB171AA1EA4300DB0914 /* LaunchScreen.xib */ = {
266 | isa = PBXVariantGroup;
267 | children = (
268 | 19C1EB181AA1EA4300DB0914 /* Base */,
269 | );
270 | name = LaunchScreen.xib;
271 | sourceTree = "";
272 | };
273 | /* End PBXVariantGroup section */
274 |
275 | /* Begin XCBuildConfiguration section */
276 | 19C1EB261AA1EA4300DB0914 /* Debug */ = {
277 | isa = XCBuildConfiguration;
278 | buildSettings = {
279 | ALWAYS_SEARCH_USER_PATHS = NO;
280 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
281 | CLANG_CXX_LIBRARY = "libc++";
282 | CLANG_ENABLE_MODULES = YES;
283 | CLANG_ENABLE_OBJC_ARC = YES;
284 | CLANG_WARN_BOOL_CONVERSION = YES;
285 | CLANG_WARN_CONSTANT_CONVERSION = YES;
286 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
287 | CLANG_WARN_EMPTY_BODY = YES;
288 | CLANG_WARN_ENUM_CONVERSION = YES;
289 | CLANG_WARN_INT_CONVERSION = YES;
290 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
291 | CLANG_WARN_UNREACHABLE_CODE = YES;
292 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
293 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
294 | COPY_PHASE_STRIP = NO;
295 | ENABLE_STRICT_OBJC_MSGSEND = YES;
296 | GCC_C_LANGUAGE_STANDARD = gnu99;
297 | GCC_DYNAMIC_NO_PIC = NO;
298 | GCC_OPTIMIZATION_LEVEL = 0;
299 | GCC_PREPROCESSOR_DEFINITIONS = (
300 | "DEBUG=1",
301 | "$(inherited)",
302 | );
303 | GCC_SYMBOLS_PRIVATE_EXTERN = NO;
304 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
305 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
306 | GCC_WARN_UNDECLARED_SELECTOR = YES;
307 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
308 | GCC_WARN_UNUSED_FUNCTION = YES;
309 | GCC_WARN_UNUSED_VARIABLE = YES;
310 | IPHONEOS_DEPLOYMENT_TARGET = 8.1;
311 | MTL_ENABLE_DEBUG_INFO = YES;
312 | ONLY_ACTIVE_ARCH = YES;
313 | SDKROOT = iphoneos;
314 | SWIFT_OPTIMIZATION_LEVEL = "-Onone";
315 | };
316 | name = Debug;
317 | };
318 | 19C1EB271AA1EA4300DB0914 /* Release */ = {
319 | isa = XCBuildConfiguration;
320 | buildSettings = {
321 | ALWAYS_SEARCH_USER_PATHS = NO;
322 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
323 | CLANG_CXX_LIBRARY = "libc++";
324 | CLANG_ENABLE_MODULES = YES;
325 | CLANG_ENABLE_OBJC_ARC = YES;
326 | CLANG_WARN_BOOL_CONVERSION = YES;
327 | CLANG_WARN_CONSTANT_CONVERSION = YES;
328 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
329 | CLANG_WARN_EMPTY_BODY = YES;
330 | CLANG_WARN_ENUM_CONVERSION = YES;
331 | CLANG_WARN_INT_CONVERSION = YES;
332 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
333 | CLANG_WARN_UNREACHABLE_CODE = YES;
334 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
335 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
336 | COPY_PHASE_STRIP = YES;
337 | ENABLE_NS_ASSERTIONS = NO;
338 | ENABLE_STRICT_OBJC_MSGSEND = YES;
339 | GCC_C_LANGUAGE_STANDARD = gnu99;
340 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
341 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
342 | GCC_WARN_UNDECLARED_SELECTOR = YES;
343 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
344 | GCC_WARN_UNUSED_FUNCTION = YES;
345 | GCC_WARN_UNUSED_VARIABLE = YES;
346 | IPHONEOS_DEPLOYMENT_TARGET = 8.1;
347 | MTL_ENABLE_DEBUG_INFO = NO;
348 | SDKROOT = iphoneos;
349 | VALIDATE_PRODUCT = YES;
350 | };
351 | name = Release;
352 | };
353 | 19C1EB291AA1EA4300DB0914 /* Debug */ = {
354 | isa = XCBuildConfiguration;
355 | buildSettings = {
356 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
357 | INFOPLIST_FILE = WZStoreHouseTableView/Info.plist;
358 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
359 | PRODUCT_NAME = "$(TARGET_NAME)";
360 | TARGETED_DEVICE_FAMILY = 1;
361 | };
362 | name = Debug;
363 | };
364 | 19C1EB2A1AA1EA4300DB0914 /* Release */ = {
365 | isa = XCBuildConfiguration;
366 | buildSettings = {
367 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
368 | INFOPLIST_FILE = WZStoreHouseTableView/Info.plist;
369 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
370 | PRODUCT_NAME = "$(TARGET_NAME)";
371 | TARGETED_DEVICE_FAMILY = 1;
372 | };
373 | name = Release;
374 | };
375 | 19C1EB2C1AA1EA4300DB0914 /* Debug */ = {
376 | isa = XCBuildConfiguration;
377 | buildSettings = {
378 | BUNDLE_LOADER = "$(TEST_HOST)";
379 | FRAMEWORK_SEARCH_PATHS = (
380 | "$(SDKROOT)/Developer/Library/Frameworks",
381 | "$(inherited)",
382 | );
383 | GCC_PREPROCESSOR_DEFINITIONS = (
384 | "DEBUG=1",
385 | "$(inherited)",
386 | );
387 | INFOPLIST_FILE = WZStoreHouseTableViewTests/Info.plist;
388 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
389 | PRODUCT_NAME = "$(TARGET_NAME)";
390 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/WZStoreHouseTableView.app/WZStoreHouseTableView";
391 | };
392 | name = Debug;
393 | };
394 | 19C1EB2D1AA1EA4300DB0914 /* Release */ = {
395 | isa = XCBuildConfiguration;
396 | buildSettings = {
397 | BUNDLE_LOADER = "$(TEST_HOST)";
398 | FRAMEWORK_SEARCH_PATHS = (
399 | "$(SDKROOT)/Developer/Library/Frameworks",
400 | "$(inherited)",
401 | );
402 | INFOPLIST_FILE = WZStoreHouseTableViewTests/Info.plist;
403 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
404 | PRODUCT_NAME = "$(TARGET_NAME)";
405 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/WZStoreHouseTableView.app/WZStoreHouseTableView";
406 | };
407 | name = Release;
408 | };
409 | /* End XCBuildConfiguration section */
410 |
411 | /* Begin XCConfigurationList section */
412 | 19C1EB041AA1EA4300DB0914 /* Build configuration list for PBXProject "WZStoreHouseTableView" */ = {
413 | isa = XCConfigurationList;
414 | buildConfigurations = (
415 | 19C1EB261AA1EA4300DB0914 /* Debug */,
416 | 19C1EB271AA1EA4300DB0914 /* Release */,
417 | );
418 | defaultConfigurationIsVisible = 0;
419 | defaultConfigurationName = Release;
420 | };
421 | 19C1EB281AA1EA4300DB0914 /* Build configuration list for PBXNativeTarget "WZStoreHouseTableView" */ = {
422 | isa = XCConfigurationList;
423 | buildConfigurations = (
424 | 19C1EB291AA1EA4300DB0914 /* Debug */,
425 | 19C1EB2A1AA1EA4300DB0914 /* Release */,
426 | );
427 | defaultConfigurationIsVisible = 0;
428 | defaultConfigurationName = Release;
429 | };
430 | 19C1EB2B1AA1EA4300DB0914 /* Build configuration list for PBXNativeTarget "WZStoreHouseTableViewTests" */ = {
431 | isa = XCConfigurationList;
432 | buildConfigurations = (
433 | 19C1EB2C1AA1EA4300DB0914 /* Debug */,
434 | 19C1EB2D1AA1EA4300DB0914 /* Release */,
435 | );
436 | defaultConfigurationIsVisible = 0;
437 | defaultConfigurationName = Release;
438 | };
439 | /* End XCConfigurationList section */
440 | };
441 | rootObject = 19C1EB011AA1EA4300DB0914 /* Project object */;
442 | }
443 |
--------------------------------------------------------------------------------