├── Images
├── stack.gif
└── stack-sizeclass.gif
├── EasyStackViewAnimation.xcodeproj
├── project.xcworkspace
│ ├── contents.xcworkspacedata
│ └── xcshareddata
│ │ └── IDEWorkspaceChecks.plist
└── project.pbxproj
├── README.md
├── .gitignore
└── EasyStackViewAnimation
├── ViewController.swift
├── Assets.xcassets
└── AppIcon.appiconset
│ └── Contents.json
├── Info.plist
├── Base.lproj
├── LaunchScreen.storyboard
└── Main.storyboard
└── AppDelegate.swift
/Images/stack.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nRewik/UIStackViewEasyAnimation/HEAD/Images/stack.gif
--------------------------------------------------------------------------------
/Images/stack-sizeclass.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nRewik/UIStackViewEasyAnimation/HEAD/Images/stack-sizeclass.gif
--------------------------------------------------------------------------------
/EasyStackViewAnimation.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # UIStackViewEasyAnimation
2 | A sample project of UIStackView animation.
3 |
4 | 
5 |
6 | See the article on Medium
7 |
8 | https://medium.com/@nrewik/easy-animation-with-uistackview-8878b2856ae2
9 |
--------------------------------------------------------------------------------
/EasyStackViewAnimation.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/.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 |
28 | # Carthage
29 | #
30 | # Add this line if you want to avoid checking in source code from Carthage dependencies.
31 | # Carthage/Checkouts
32 |
33 | Carthage/Build
34 |
--------------------------------------------------------------------------------
/EasyStackViewAnimation/ViewController.swift:
--------------------------------------------------------------------------------
1 | //
2 | // ViewController.swift
3 | // EasyStackViewAnimation
4 | //
5 | // Created by Nutchaphon Rewik on 9/26/2558 BE.
6 | // Copyright © 2558 Nutchaphon Rewik. All rights reserved.
7 | //
8 |
9 | import UIKit
10 |
11 | class ViewController: UIViewController {
12 |
13 | var showB = true
14 | var showC = true
15 |
16 | @IBOutlet weak var viewB: UIView!
17 | @IBOutlet weak var viewC: UIView!
18 |
19 | override func viewDidLoad() {
20 | super.viewDidLoad()
21 | // Do any additional setup after loading the view, typically from a nib.
22 | }
23 | }
24 |
25 | extension ViewController{
26 | @IBAction func toggleBButtonTapped(_ sender: Any) {
27 | showB = !showB
28 | UIView.animate(withDuration: 0.3){
29 | self.viewB.isHidden = !self.showB
30 | }
31 | }
32 |
33 | @IBAction func toggleCButtonTapped(_ sender: Any) {
34 | showC = !showC
35 | UIView.animate(withDuration: 0.3){
36 | self.viewC.isHidden = !self.showC
37 | }
38 | }
39 | }
40 |
41 |
--------------------------------------------------------------------------------
/EasyStackViewAnimation/Assets.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "iphone",
5 | "size" : "20x20",
6 | "scale" : "2x"
7 | },
8 | {
9 | "idiom" : "iphone",
10 | "size" : "20x20",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "29x29",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "29x29",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "40x40",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "40x40",
31 | "scale" : "3x"
32 | },
33 | {
34 | "idiom" : "iphone",
35 | "size" : "60x60",
36 | "scale" : "2x"
37 | },
38 | {
39 | "idiom" : "iphone",
40 | "size" : "60x60",
41 | "scale" : "3x"
42 | },
43 | {
44 | "idiom" : "ios-marketing",
45 | "size" : "1024x1024",
46 | "scale" : "1x"
47 | }
48 | ],
49 | "info" : {
50 | "version" : 1,
51 | "author" : "xcode"
52 | }
53 | }
--------------------------------------------------------------------------------
/EasyStackViewAnimation/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
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 | UIInterfaceOrientationLandscapeLeft
37 | UIInterfaceOrientationLandscapeRight
38 |
39 |
40 |
41 |
--------------------------------------------------------------------------------
/EasyStackViewAnimation/Base.lproj/LaunchScreen.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 |
--------------------------------------------------------------------------------
/EasyStackViewAnimation/AppDelegate.swift:
--------------------------------------------------------------------------------
1 | //
2 | // AppDelegate.swift
3 | // EasyStackViewAnimation
4 | //
5 | // Created by Nutchaphon Rewik on 9/26/2558 BE.
6 | // Copyright © 2558 Nutchaphon Rewik. 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: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
18 | return true
19 | }
20 |
21 | func applicationWillResignActive(_ application: UIApplication) {
22 | // 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.
23 | // Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game.
24 | }
25 |
26 | func applicationDidEnterBackground(_ application: UIApplication) {
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 | func applicationWillEnterForeground(_ application: UIApplication) {
32 | // 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.
33 | }
34 |
35 | func applicationDidBecomeActive(_ application: UIApplication) {
36 | // 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.
37 | }
38 |
39 | func applicationWillTerminate(_ application: UIApplication) {
40 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
41 | }
42 |
43 |
44 | }
45 |
46 |
--------------------------------------------------------------------------------
/EasyStackViewAnimation.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 46;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | A028F3511BB6B6E00098BC27 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = A028F3501BB6B6E00098BC27 /* AppDelegate.swift */; };
11 | A028F3531BB6B6E00098BC27 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A028F3521BB6B6E00098BC27 /* ViewController.swift */; };
12 | A028F3561BB6B6E00098BC27 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = A028F3541BB6B6E00098BC27 /* Main.storyboard */; };
13 | A028F3581BB6B6E00098BC27 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = A028F3571BB6B6E00098BC27 /* Assets.xcassets */; };
14 | A028F35B1BB6B6E00098BC27 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = A028F3591BB6B6E00098BC27 /* LaunchScreen.storyboard */; };
15 | /* End PBXBuildFile section */
16 |
17 | /* Begin PBXFileReference section */
18 | A028F34D1BB6B6E00098BC27 /* EasyStackViewAnimation.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = EasyStackViewAnimation.app; sourceTree = BUILT_PRODUCTS_DIR; };
19 | A028F3501BB6B6E00098BC27 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; };
20 | A028F3521BB6B6E00098BC27 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; };
21 | A028F3551BB6B6E00098BC27 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
22 | A028F3571BB6B6E00098BC27 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
23 | A028F35A1BB6B6E00098BC27 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; };
24 | A028F35C1BB6B6E00098BC27 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
25 | /* End PBXFileReference section */
26 |
27 | /* Begin PBXFrameworksBuildPhase section */
28 | A028F34A1BB6B6E00098BC27 /* Frameworks */ = {
29 | isa = PBXFrameworksBuildPhase;
30 | buildActionMask = 2147483647;
31 | files = (
32 | );
33 | runOnlyForDeploymentPostprocessing = 0;
34 | };
35 | /* End PBXFrameworksBuildPhase section */
36 |
37 | /* Begin PBXGroup section */
38 | A028F3441BB6B6E00098BC27 = {
39 | isa = PBXGroup;
40 | children = (
41 | A028F34F1BB6B6E00098BC27 /* EasyStackViewAnimation */,
42 | A028F34E1BB6B6E00098BC27 /* Products */,
43 | );
44 | sourceTree = "";
45 | };
46 | A028F34E1BB6B6E00098BC27 /* Products */ = {
47 | isa = PBXGroup;
48 | children = (
49 | A028F34D1BB6B6E00098BC27 /* EasyStackViewAnimation.app */,
50 | );
51 | name = Products;
52 | sourceTree = "";
53 | };
54 | A028F34F1BB6B6E00098BC27 /* EasyStackViewAnimation */ = {
55 | isa = PBXGroup;
56 | children = (
57 | A028F3501BB6B6E00098BC27 /* AppDelegate.swift */,
58 | A028F3521BB6B6E00098BC27 /* ViewController.swift */,
59 | A028F3541BB6B6E00098BC27 /* Main.storyboard */,
60 | A028F3571BB6B6E00098BC27 /* Assets.xcassets */,
61 | A028F3591BB6B6E00098BC27 /* LaunchScreen.storyboard */,
62 | A028F35C1BB6B6E00098BC27 /* Info.plist */,
63 | );
64 | path = EasyStackViewAnimation;
65 | sourceTree = "";
66 | };
67 | /* End PBXGroup section */
68 |
69 | /* Begin PBXNativeTarget section */
70 | A028F34C1BB6B6E00098BC27 /* EasyStackViewAnimation */ = {
71 | isa = PBXNativeTarget;
72 | buildConfigurationList = A028F35F1BB6B6E00098BC27 /* Build configuration list for PBXNativeTarget "EasyStackViewAnimation" */;
73 | buildPhases = (
74 | A028F3491BB6B6E00098BC27 /* Sources */,
75 | A028F34A1BB6B6E00098BC27 /* Frameworks */,
76 | A028F34B1BB6B6E00098BC27 /* Resources */,
77 | );
78 | buildRules = (
79 | );
80 | dependencies = (
81 | );
82 | name = EasyStackViewAnimation;
83 | productName = EasyStackViewAnimation;
84 | productReference = A028F34D1BB6B6E00098BC27 /* EasyStackViewAnimation.app */;
85 | productType = "com.apple.product-type.application";
86 | };
87 | /* End PBXNativeTarget section */
88 |
89 | /* Begin PBXProject section */
90 | A028F3451BB6B6E00098BC27 /* Project object */ = {
91 | isa = PBXProject;
92 | attributes = {
93 | LastUpgradeCheck = 1000;
94 | ORGANIZATIONNAME = "Nutchaphon Rewik";
95 | TargetAttributes = {
96 | A028F34C1BB6B6E00098BC27 = {
97 | CreatedOnToolsVersion = 7.0;
98 | };
99 | };
100 | };
101 | buildConfigurationList = A028F3481BB6B6E00098BC27 /* Build configuration list for PBXProject "EasyStackViewAnimation" */;
102 | compatibilityVersion = "Xcode 3.2";
103 | developmentRegion = English;
104 | hasScannedForEncodings = 0;
105 | knownRegions = (
106 | en,
107 | Base,
108 | );
109 | mainGroup = A028F3441BB6B6E00098BC27;
110 | productRefGroup = A028F34E1BB6B6E00098BC27 /* Products */;
111 | projectDirPath = "";
112 | projectRoot = "";
113 | targets = (
114 | A028F34C1BB6B6E00098BC27 /* EasyStackViewAnimation */,
115 | );
116 | };
117 | /* End PBXProject section */
118 |
119 | /* Begin PBXResourcesBuildPhase section */
120 | A028F34B1BB6B6E00098BC27 /* Resources */ = {
121 | isa = PBXResourcesBuildPhase;
122 | buildActionMask = 2147483647;
123 | files = (
124 | A028F35B1BB6B6E00098BC27 /* LaunchScreen.storyboard in Resources */,
125 | A028F3581BB6B6E00098BC27 /* Assets.xcassets in Resources */,
126 | A028F3561BB6B6E00098BC27 /* Main.storyboard in Resources */,
127 | );
128 | runOnlyForDeploymentPostprocessing = 0;
129 | };
130 | /* End PBXResourcesBuildPhase section */
131 |
132 | /* Begin PBXSourcesBuildPhase section */
133 | A028F3491BB6B6E00098BC27 /* Sources */ = {
134 | isa = PBXSourcesBuildPhase;
135 | buildActionMask = 2147483647;
136 | files = (
137 | A028F3531BB6B6E00098BC27 /* ViewController.swift in Sources */,
138 | A028F3511BB6B6E00098BC27 /* AppDelegate.swift in Sources */,
139 | );
140 | runOnlyForDeploymentPostprocessing = 0;
141 | };
142 | /* End PBXSourcesBuildPhase section */
143 |
144 | /* Begin PBXVariantGroup section */
145 | A028F3541BB6B6E00098BC27 /* Main.storyboard */ = {
146 | isa = PBXVariantGroup;
147 | children = (
148 | A028F3551BB6B6E00098BC27 /* Base */,
149 | );
150 | name = Main.storyboard;
151 | sourceTree = "";
152 | };
153 | A028F3591BB6B6E00098BC27 /* LaunchScreen.storyboard */ = {
154 | isa = PBXVariantGroup;
155 | children = (
156 | A028F35A1BB6B6E00098BC27 /* Base */,
157 | );
158 | name = LaunchScreen.storyboard;
159 | sourceTree = "";
160 | };
161 | /* End PBXVariantGroup section */
162 |
163 | /* Begin XCBuildConfiguration section */
164 | A028F35D1BB6B6E00098BC27 /* Debug */ = {
165 | isa = XCBuildConfiguration;
166 | buildSettings = {
167 | ALWAYS_SEARCH_USER_PATHS = NO;
168 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
169 | CLANG_CXX_LIBRARY = "libc++";
170 | CLANG_ENABLE_MODULES = YES;
171 | CLANG_ENABLE_OBJC_ARC = YES;
172 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
173 | CLANG_WARN_BOOL_CONVERSION = YES;
174 | CLANG_WARN_COMMA = YES;
175 | CLANG_WARN_CONSTANT_CONVERSION = YES;
176 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
177 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
178 | CLANG_WARN_EMPTY_BODY = YES;
179 | CLANG_WARN_ENUM_CONVERSION = YES;
180 | CLANG_WARN_INFINITE_RECURSION = YES;
181 | CLANG_WARN_INT_CONVERSION = YES;
182 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
183 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
184 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
185 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
186 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
187 | CLANG_WARN_STRICT_PROTOTYPES = YES;
188 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
189 | CLANG_WARN_UNREACHABLE_CODE = YES;
190 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
191 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
192 | COPY_PHASE_STRIP = NO;
193 | DEBUG_INFORMATION_FORMAT = dwarf;
194 | ENABLE_STRICT_OBJC_MSGSEND = YES;
195 | ENABLE_TESTABILITY = YES;
196 | GCC_C_LANGUAGE_STANDARD = gnu99;
197 | GCC_DYNAMIC_NO_PIC = NO;
198 | GCC_NO_COMMON_BLOCKS = YES;
199 | GCC_OPTIMIZATION_LEVEL = 0;
200 | GCC_PREPROCESSOR_DEFINITIONS = (
201 | "DEBUG=1",
202 | "$(inherited)",
203 | );
204 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
205 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
206 | GCC_WARN_UNDECLARED_SELECTOR = YES;
207 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
208 | GCC_WARN_UNUSED_FUNCTION = YES;
209 | GCC_WARN_UNUSED_VARIABLE = YES;
210 | IPHONEOS_DEPLOYMENT_TARGET = 9.0;
211 | MTL_ENABLE_DEBUG_INFO = YES;
212 | ONLY_ACTIVE_ARCH = YES;
213 | SDKROOT = iphoneos;
214 | SWIFT_OPTIMIZATION_LEVEL = "-Onone";
215 | };
216 | name = Debug;
217 | };
218 | A028F35E1BB6B6E00098BC27 /* Release */ = {
219 | isa = XCBuildConfiguration;
220 | buildSettings = {
221 | ALWAYS_SEARCH_USER_PATHS = NO;
222 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
223 | CLANG_CXX_LIBRARY = "libc++";
224 | CLANG_ENABLE_MODULES = YES;
225 | CLANG_ENABLE_OBJC_ARC = YES;
226 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
227 | CLANG_WARN_BOOL_CONVERSION = YES;
228 | CLANG_WARN_COMMA = YES;
229 | CLANG_WARN_CONSTANT_CONVERSION = YES;
230 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
231 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
232 | CLANG_WARN_EMPTY_BODY = YES;
233 | CLANG_WARN_ENUM_CONVERSION = YES;
234 | CLANG_WARN_INFINITE_RECURSION = YES;
235 | CLANG_WARN_INT_CONVERSION = YES;
236 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
237 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
238 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
239 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
240 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
241 | CLANG_WARN_STRICT_PROTOTYPES = YES;
242 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
243 | CLANG_WARN_UNREACHABLE_CODE = YES;
244 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
245 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
246 | COPY_PHASE_STRIP = NO;
247 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
248 | ENABLE_NS_ASSERTIONS = NO;
249 | ENABLE_STRICT_OBJC_MSGSEND = YES;
250 | GCC_C_LANGUAGE_STANDARD = gnu99;
251 | GCC_NO_COMMON_BLOCKS = YES;
252 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
253 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
254 | GCC_WARN_UNDECLARED_SELECTOR = YES;
255 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
256 | GCC_WARN_UNUSED_FUNCTION = YES;
257 | GCC_WARN_UNUSED_VARIABLE = YES;
258 | IPHONEOS_DEPLOYMENT_TARGET = 9.0;
259 | MTL_ENABLE_DEBUG_INFO = NO;
260 | SDKROOT = iphoneos;
261 | SWIFT_COMPILATION_MODE = wholemodule;
262 | VALIDATE_PRODUCT = YES;
263 | };
264 | name = Release;
265 | };
266 | A028F3601BB6B6E00098BC27 /* Debug */ = {
267 | isa = XCBuildConfiguration;
268 | buildSettings = {
269 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
270 | INFOPLIST_FILE = EasyStackViewAnimation/Info.plist;
271 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
272 | PRODUCT_BUNDLE_IDENTIFIER = nRewik.EasyStackViewAnimation;
273 | PRODUCT_NAME = "$(TARGET_NAME)";
274 | SWIFT_VERSION = 4.2;
275 | };
276 | name = Debug;
277 | };
278 | A028F3611BB6B6E00098BC27 /* Release */ = {
279 | isa = XCBuildConfiguration;
280 | buildSettings = {
281 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
282 | INFOPLIST_FILE = EasyStackViewAnimation/Info.plist;
283 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
284 | PRODUCT_BUNDLE_IDENTIFIER = nRewik.EasyStackViewAnimation;
285 | PRODUCT_NAME = "$(TARGET_NAME)";
286 | SWIFT_VERSION = 4.2;
287 | };
288 | name = Release;
289 | };
290 | /* End XCBuildConfiguration section */
291 |
292 | /* Begin XCConfigurationList section */
293 | A028F3481BB6B6E00098BC27 /* Build configuration list for PBXProject "EasyStackViewAnimation" */ = {
294 | isa = XCConfigurationList;
295 | buildConfigurations = (
296 | A028F35D1BB6B6E00098BC27 /* Debug */,
297 | A028F35E1BB6B6E00098BC27 /* Release */,
298 | );
299 | defaultConfigurationIsVisible = 0;
300 | defaultConfigurationName = Release;
301 | };
302 | A028F35F1BB6B6E00098BC27 /* Build configuration list for PBXNativeTarget "EasyStackViewAnimation" */ = {
303 | isa = XCConfigurationList;
304 | buildConfigurations = (
305 | A028F3601BB6B6E00098BC27 /* Debug */,
306 | A028F3611BB6B6E00098BC27 /* Release */,
307 | );
308 | defaultConfigurationIsVisible = 0;
309 | defaultConfigurationName = Release;
310 | };
311 | /* End XCConfigurationList section */
312 | };
313 | rootObject = A028F3451BB6B6E00098BC27 /* Project object */;
314 | }
315 |
--------------------------------------------------------------------------------
/EasyStackViewAnimation/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 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
111 |
112 |
113 |
114 |
115 |
116 |
117 |
118 |
119 |
120 |
121 |
122 |
123 |
124 |
125 |
126 |
127 |
128 |
129 |
130 |
131 |
132 |
133 |
134 |
135 |
136 |
137 |
138 |
139 |
140 |
141 |
142 |
143 |
144 |
145 |
146 |
147 |
148 |
155 |
162 |
163 |
164 |
165 |
166 |
167 |
168 |
169 |
170 |
171 |
172 |
173 |
174 |
175 |
176 |
177 |
178 |
179 |
180 |
181 |
182 |
183 |
184 |
--------------------------------------------------------------------------------