Skip to content

Commit 33373fa

Browse files
committed
Added a Testing Example to have a more-complex example project that can be used for testing the library.
1 parent b745138 commit 33373fa

File tree

21 files changed

+1020
-0
lines changed

21 files changed

+1020
-0
lines changed
Lines changed: 341 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,341 @@
1+
// !$*UTF8*$!
2+
{
3+
archiveVersion = 1;
4+
classes = {
5+
};
6+
objectVersion = 46;
7+
objects = {
8+
9+
/* Begin PBXBuildFile section */
10+
01D1F3351B24D94A007B97BD /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 01D1F3341B24D94A007B97BD /* main.m */; };
11+
01D1F3381B24D94A007B97BD /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 01D1F3371B24D94A007B97BD /* AppDelegate.m */; };
12+
01D1F33B1B24D94A007B97BD /* FirstViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 01D1F33A1B24D94A007B97BD /* FirstViewController.m */; };
13+
01D1F33E1B24D94A007B97BD /* SecondViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 01D1F33D1B24D94A007B97BD /* SecondViewController.m */; };
14+
01D1F3411B24D94A007B97BD /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 01D1F33F1B24D94A007B97BD /* Main.storyboard */; };
15+
01D1F3431B24D94A007B97BD /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 01D1F3421B24D94A007B97BD /* Images.xcassets */; };
16+
01D1F3461B24D94A007B97BD /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 01D1F3441B24D94A007B97BD /* LaunchScreen.xib */; };
17+
01D1F35E1B24D9B2007B97BD /* FZAccordionTableView.m in Sources */ = {isa = PBXBuildFile; fileRef = 01D1F35D1B24D9B2007B97BD /* FZAccordionTableView.m */; };
18+
01D1F3661B24DD61007B97BD /* AccordionHeaderView.m in Sources */ = {isa = PBXBuildFile; fileRef = 01D1F3651B24DD61007B97BD /* AccordionHeaderView.m */; };
19+
01D1F3681B24DD86007B97BD /* AccordionHeaderView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 01D1F3671B24DD86007B97BD /* AccordionHeaderView.xib */; };
20+
/* End PBXBuildFile section */
21+
22+
/* Begin PBXFileReference section */
23+
01D1F32F1B24D94A007B97BD /* FZAccordionTableViewExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = FZAccordionTableViewExample.app; sourceTree = BUILT_PRODUCTS_DIR; };
24+
01D1F3331B24D94A007B97BD /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
25+
01D1F3341B24D94A007B97BD /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
26+
01D1F3361B24D94A007B97BD /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
27+
01D1F3371B24D94A007B97BD /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
28+
01D1F3391B24D94A007B97BD /* FirstViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = FirstViewController.h; sourceTree = "<group>"; };
29+
01D1F33A1B24D94A007B97BD /* FirstViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = FirstViewController.m; sourceTree = "<group>"; };
30+
01D1F33C1B24D94A007B97BD /* SecondViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SecondViewController.h; sourceTree = "<group>"; };
31+
01D1F33D1B24D94A007B97BD /* SecondViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SecondViewController.m; sourceTree = "<group>"; };
32+
01D1F3401B24D94A007B97BD /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
33+
01D1F3421B24D94A007B97BD /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = "<group>"; };
34+
01D1F3451B24D94A007B97BD /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = "<group>"; };
35+
01D1F35C1B24D9B2007B97BD /* FZAccordionTableView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = FZAccordionTableView.h; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
36+
01D1F35D1B24D9B2007B97BD /* FZAccordionTableView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = FZAccordionTableView.m; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objc; };
37+
01D1F3641B24DD61007B97BD /* AccordionHeaderView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AccordionHeaderView.h; sourceTree = "<group>"; };
38+
01D1F3651B24DD61007B97BD /* AccordionHeaderView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AccordionHeaderView.m; sourceTree = "<group>"; };
39+
01D1F3671B24DD86007B97BD /* AccordionHeaderView.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = AccordionHeaderView.xib; sourceTree = "<group>"; };
40+
/* End PBXFileReference section */
41+
42+
/* Begin PBXFrameworksBuildPhase section */
43+
01D1F32C1B24D94A007B97BD /* Frameworks */ = {
44+
isa = PBXFrameworksBuildPhase;
45+
buildActionMask = 2147483647;
46+
files = (
47+
);
48+
runOnlyForDeploymentPostprocessing = 0;
49+
};
50+
/* End PBXFrameworksBuildPhase section */
51+
52+
/* Begin PBXGroup section */
53+
01D1F3261B24D949007B97BD = {
54+
isa = PBXGroup;
55+
children = (
56+
01D1F3311B24D94A007B97BD /* FZAccordionTableViewExample */,
57+
01D1F3301B24D94A007B97BD /* Products */,
58+
);
59+
sourceTree = "<group>";
60+
};
61+
01D1F3301B24D94A007B97BD /* Products */ = {
62+
isa = PBXGroup;
63+
children = (
64+
01D1F32F1B24D94A007B97BD /* FZAccordionTableViewExample.app */,
65+
);
66+
name = Products;
67+
sourceTree = "<group>";
68+
};
69+
01D1F3311B24D94A007B97BD /* FZAccordionTableViewExample */ = {
70+
isa = PBXGroup;
71+
children = (
72+
01D1F3361B24D94A007B97BD /* AppDelegate.h */,
73+
01D1F3371B24D94A007B97BD /* AppDelegate.m */,
74+
01D1F3391B24D94A007B97BD /* FirstViewController.h */,
75+
01D1F33A1B24D94A007B97BD /* FirstViewController.m */,
76+
01D1F33C1B24D94A007B97BD /* SecondViewController.h */,
77+
01D1F33D1B24D94A007B97BD /* SecondViewController.m */,
78+
01D1F3641B24DD61007B97BD /* AccordionHeaderView.h */,
79+
01D1F3651B24DD61007B97BD /* AccordionHeaderView.m */,
80+
01D1F3671B24DD86007B97BD /* AccordionHeaderView.xib */,
81+
01D1F33F1B24D94A007B97BD /* Main.storyboard */,
82+
01D1F3421B24D94A007B97BD /* Images.xcassets */,
83+
01D1F3441B24D94A007B97BD /* LaunchScreen.xib */,
84+
01D1F35B1B24D991007B97BD /* FZAccordionTableView */,
85+
01D1F3321B24D94A007B97BD /* Supporting Files */,
86+
);
87+
path = FZAccordionTableViewExample;
88+
sourceTree = "<group>";
89+
};
90+
01D1F3321B24D94A007B97BD /* Supporting Files */ = {
91+
isa = PBXGroup;
92+
children = (
93+
01D1F3331B24D94A007B97BD /* Info.plist */,
94+
01D1F3341B24D94A007B97BD /* main.m */,
95+
);
96+
name = "Supporting Files";
97+
sourceTree = "<group>";
98+
};
99+
01D1F35B1B24D991007B97BD /* FZAccordionTableView */ = {
100+
isa = PBXGroup;
101+
children = (
102+
01D1F35C1B24D9B2007B97BD /* FZAccordionTableView.h */,
103+
01D1F35D1B24D9B2007B97BD /* FZAccordionTableView.m */,
104+
);
105+
name = FZAccordionTableView;
106+
path = ../../../FZAccordionTableView;
107+
sourceTree = "<group>";
108+
};
109+
/* End PBXGroup section */
110+
111+
/* Begin PBXNativeTarget section */
112+
01D1F32E1B24D94A007B97BD /* FZAccordionTableViewExample */ = {
113+
isa = PBXNativeTarget;
114+
buildConfigurationList = 01D1F3551B24D94A007B97BD /* Build configuration list for PBXNativeTarget "FZAccordionTableViewExample" */;
115+
buildPhases = (
116+
01D1F32B1B24D94A007B97BD /* Sources */,
117+
01D1F32C1B24D94A007B97BD /* Frameworks */,
118+
01D1F32D1B24D94A007B97BD /* Resources */,
119+
);
120+
buildRules = (
121+
);
122+
dependencies = (
123+
);
124+
name = FZAccordionTableViewExample;
125+
productName = FZAccordionTableViewExample;
126+
productReference = 01D1F32F1B24D94A007B97BD /* FZAccordionTableViewExample.app */;
127+
productType = "com.apple.product-type.application";
128+
};
129+
/* End PBXNativeTarget section */
130+
131+
/* Begin PBXProject section */
132+
01D1F3271B24D949007B97BD /* Project object */ = {
133+
isa = PBXProject;
134+
attributes = {
135+
LastUpgradeCheck = 0630;
136+
ORGANIZATIONNAME = Fuzz;
137+
TargetAttributes = {
138+
01D1F32E1B24D94A007B97BD = {
139+
CreatedOnToolsVersion = 6.3.2;
140+
};
141+
};
142+
};
143+
buildConfigurationList = 01D1F32A1B24D949007B97BD /* Build configuration list for PBXProject "FZAccordionTableViewExample" */;
144+
compatibilityVersion = "Xcode 3.2";
145+
developmentRegion = English;
146+
hasScannedForEncodings = 0;
147+
knownRegions = (
148+
en,
149+
Base,
150+
);
151+
mainGroup = 01D1F3261B24D949007B97BD;
152+
productRefGroup = 01D1F3301B24D94A007B97BD /* Products */;
153+
projectDirPath = "";
154+
projectRoot = "";
155+
targets = (
156+
01D1F32E1B24D94A007B97BD /* FZAccordionTableViewExample */,
157+
);
158+
};
159+
/* End PBXProject section */
160+
161+
/* Begin PBXResourcesBuildPhase section */
162+
01D1F32D1B24D94A007B97BD /* Resources */ = {
163+
isa = PBXResourcesBuildPhase;
164+
buildActionMask = 2147483647;
165+
files = (
166+
01D1F3411B24D94A007B97BD /* Main.storyboard in Resources */,
167+
01D1F3461B24D94A007B97BD /* LaunchScreen.xib in Resources */,
168+
01D1F3681B24DD86007B97BD /* AccordionHeaderView.xib in Resources */,
169+
01D1F3431B24D94A007B97BD /* Images.xcassets in Resources */,
170+
);
171+
runOnlyForDeploymentPostprocessing = 0;
172+
};
173+
/* End PBXResourcesBuildPhase section */
174+
175+
/* Begin PBXSourcesBuildPhase section */
176+
01D1F32B1B24D94A007B97BD /* Sources */ = {
177+
isa = PBXSourcesBuildPhase;
178+
buildActionMask = 2147483647;
179+
files = (
180+
01D1F35E1B24D9B2007B97BD /* FZAccordionTableView.m in Sources */,
181+
01D1F33E1B24D94A007B97BD /* SecondViewController.m in Sources */,
182+
01D1F3661B24DD61007B97BD /* AccordionHeaderView.m in Sources */,
183+
01D1F3381B24D94A007B97BD /* AppDelegate.m in Sources */,
184+
01D1F33B1B24D94A007B97BD /* FirstViewController.m in Sources */,
185+
01D1F3351B24D94A007B97BD /* main.m in Sources */,
186+
);
187+
runOnlyForDeploymentPostprocessing = 0;
188+
};
189+
/* End PBXSourcesBuildPhase section */
190+
191+
/* Begin PBXVariantGroup section */
192+
01D1F33F1B24D94A007B97BD /* Main.storyboard */ = {
193+
isa = PBXVariantGroup;
194+
children = (
195+
01D1F3401B24D94A007B97BD /* Base */,
196+
);
197+
name = Main.storyboard;
198+
sourceTree = "<group>";
199+
};
200+
01D1F3441B24D94A007B97BD /* LaunchScreen.xib */ = {
201+
isa = PBXVariantGroup;
202+
children = (
203+
01D1F3451B24D94A007B97BD /* Base */,
204+
);
205+
name = LaunchScreen.xib;
206+
sourceTree = "<group>";
207+
};
208+
/* End PBXVariantGroup section */
209+
210+
/* Begin XCBuildConfiguration section */
211+
01D1F3531B24D94A007B97BD /* Debug */ = {
212+
isa = XCBuildConfiguration;
213+
buildSettings = {
214+
ALWAYS_SEARCH_USER_PATHS = NO;
215+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
216+
CLANG_CXX_LIBRARY = "libc++";
217+
CLANG_ENABLE_MODULES = YES;
218+
CLANG_ENABLE_OBJC_ARC = YES;
219+
CLANG_WARN_BOOL_CONVERSION = YES;
220+
CLANG_WARN_CONSTANT_CONVERSION = YES;
221+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
222+
CLANG_WARN_EMPTY_BODY = YES;
223+
CLANG_WARN_ENUM_CONVERSION = YES;
224+
CLANG_WARN_INT_CONVERSION = YES;
225+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
226+
CLANG_WARN_UNREACHABLE_CODE = YES;
227+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
228+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
229+
COPY_PHASE_STRIP = NO;
230+
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
231+
ENABLE_STRICT_OBJC_MSGSEND = YES;
232+
GCC_C_LANGUAGE_STANDARD = gnu99;
233+
GCC_DYNAMIC_NO_PIC = NO;
234+
GCC_NO_COMMON_BLOCKS = YES;
235+
GCC_OPTIMIZATION_LEVEL = 0;
236+
GCC_PREPROCESSOR_DEFINITIONS = (
237+
"DEBUG=1",
238+
"$(inherited)",
239+
);
240+
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
241+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
242+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
243+
GCC_WARN_UNDECLARED_SELECTOR = YES;
244+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
245+
GCC_WARN_UNUSED_FUNCTION = YES;
246+
GCC_WARN_UNUSED_VARIABLE = YES;
247+
IPHONEOS_DEPLOYMENT_TARGET = 8.3;
248+
MTL_ENABLE_DEBUG_INFO = YES;
249+
ONLY_ACTIVE_ARCH = YES;
250+
SDKROOT = iphoneos;
251+
};
252+
name = Debug;
253+
};
254+
01D1F3541B24D94A007B97BD /* Release */ = {
255+
isa = XCBuildConfiguration;
256+
buildSettings = {
257+
ALWAYS_SEARCH_USER_PATHS = NO;
258+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
259+
CLANG_CXX_LIBRARY = "libc++";
260+
CLANG_ENABLE_MODULES = YES;
261+
CLANG_ENABLE_OBJC_ARC = YES;
262+
CLANG_WARN_BOOL_CONVERSION = YES;
263+
CLANG_WARN_CONSTANT_CONVERSION = YES;
264+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
265+
CLANG_WARN_EMPTY_BODY = YES;
266+
CLANG_WARN_ENUM_CONVERSION = YES;
267+
CLANG_WARN_INT_CONVERSION = YES;
268+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
269+
CLANG_WARN_UNREACHABLE_CODE = YES;
270+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
271+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
272+
COPY_PHASE_STRIP = NO;
273+
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
274+
ENABLE_NS_ASSERTIONS = NO;
275+
ENABLE_STRICT_OBJC_MSGSEND = YES;
276+
GCC_C_LANGUAGE_STANDARD = gnu99;
277+
GCC_NO_COMMON_BLOCKS = YES;
278+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
279+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
280+
GCC_WARN_UNDECLARED_SELECTOR = YES;
281+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
282+
GCC_WARN_UNUSED_FUNCTION = YES;
283+
GCC_WARN_UNUSED_VARIABLE = YES;
284+
IPHONEOS_DEPLOYMENT_TARGET = 8.3;
285+
MTL_ENABLE_DEBUG_INFO = NO;
286+
SDKROOT = iphoneos;
287+
VALIDATE_PRODUCT = YES;
288+
};
289+
name = Release;
290+
};
291+
01D1F3561B24D94A007B97BD /* Debug */ = {
292+
isa = XCBuildConfiguration;
293+
buildSettings = {
294+
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
295+
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
296+
INFOPLIST_FILE = FZAccordionTableViewExample/Info.plist;
297+
IPHONEOS_DEPLOYMENT_TARGET = 7.0;
298+
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
299+
PRODUCT_NAME = "$(TARGET_NAME)";
300+
TARGETED_DEVICE_FAMILY = 1;
301+
};
302+
name = Debug;
303+
};
304+
01D1F3571B24D94A007B97BD /* Release */ = {
305+
isa = XCBuildConfiguration;
306+
buildSettings = {
307+
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
308+
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
309+
INFOPLIST_FILE = FZAccordionTableViewExample/Info.plist;
310+
IPHONEOS_DEPLOYMENT_TARGET = 7.0;
311+
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
312+
PRODUCT_NAME = "$(TARGET_NAME)";
313+
TARGETED_DEVICE_FAMILY = 1;
314+
};
315+
name = Release;
316+
};
317+
/* End XCBuildConfiguration section */
318+
319+
/* Begin XCConfigurationList section */
320+
01D1F32A1B24D949007B97BD /* Build configuration list for PBXProject "FZAccordionTableViewExample" */ = {
321+
isa = XCConfigurationList;
322+
buildConfigurations = (
323+
01D1F3531B24D94A007B97BD /* Debug */,
324+
01D1F3541B24D94A007B97BD /* Release */,
325+
);
326+
defaultConfigurationIsVisible = 0;
327+
defaultConfigurationName = Release;
328+
};
329+
01D1F3551B24D94A007B97BD /* Build configuration list for PBXNativeTarget "FZAccordionTableViewExample" */ = {
330+
isa = XCConfigurationList;
331+
buildConfigurations = (
332+
01D1F3561B24D94A007B97BD /* Debug */,
333+
01D1F3571B24D94A007B97BD /* Release */,
334+
);
335+
defaultConfigurationIsVisible = 0;
336+
defaultConfigurationName = Release;
337+
};
338+
/* End XCConfigurationList section */
339+
};
340+
rootObject = 01D1F3271B24D949007B97BD /* Project object */;
341+
}

Example/Testing_Example/FZAccordionTableViewExample.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: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
//
2+
// AccordionHeaderView.h
3+
// FZAccordionTableViewExample
4+
//
5+
// Created by Krisjanis Gaidis on 6/7/15.
6+
// Copyright (c) 2015 Fuzz Productions, LLC. All rights reserved.
7+
//
8+
9+
#import "FZAccordionTableView.h"
10+
11+
static const CGFloat kDefaultAccordionHeaderViewHeight = 44.0;
12+
static NSString *const kAccordionHeaderViewReuseIdentifier = @"AccordionHeaderViewReuseIdentifier";
13+
14+
@interface AccordionHeaderView : FZAccordionTableViewHeaderView
15+
16+
@end
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
//
2+
// AccordionHeaderView.m
3+
// FZAccordionTableViewExample
4+
//
5+
// Created by Krisjanis Gaidis on 6/7/15.
6+
// Copyright (c) 2015 Fuzz Productions, LLC. All rights reserved.
7+
//
8+
9+
#import "AccordionHeaderView.h"
10+
11+
@implementation AccordionHeaderView
12+
13+
@end

0 commit comments

Comments
 (0)