Skip to content
This repository was archived by the owner on Nov 19, 2023. It is now read-only.

Commit ef76b64

Browse files
committed
initial release
0 parents  commit ef76b64

File tree

17 files changed

+1152
-0
lines changed

17 files changed

+1152
-0
lines changed

CollectionView.podspec

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
Pod::Spec.new do |s|
2+
s.name = 'CollectionView'
3+
s.version = '1.0.0'
4+
s.summary = 'CollectionViews with ease.'
5+
s.description = <<-DESC
6+
A view model framework around collection views.
7+
DESC
8+
9+
s.homepage = 'https://theswiftdev.com/'
10+
s.license = { :type => 'WTFPL', :file => 'LICENSE' }
11+
s.author = { 'Tibor Bödecs' => '[email protected]' }
12+
s.source = { :git => 'https://github.com/CoreKit/CollectionView.git', :tag => s.version.to_s }
13+
s.social_media_url = 'https://twitter.com/tiborbodecs'
14+
15+
s.ios.deployment_target = '11.0'
16+
17+
s.swift_version = '4.2'
18+
s.source_files = 'Sources/**/*'
19+
s.frameworks = 'UIKit'
20+
end
Lines changed: 371 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,371 @@
1+
// !$*UTF8*$!
2+
{
3+
archiveVersion = 1;
4+
classes = {
5+
};
6+
objectVersion = 50;
7+
objects = {
8+
9+
/* Begin PBXBuildFile section */
10+
162ED40D2211ACA000D44AEB /* CollectionViewViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 162ED4032211ACA000D44AEB /* CollectionViewViewModel.swift */; };
11+
162ED40E2211ACA000D44AEB /* CollectionViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 162ED4042211ACA000D44AEB /* CollectionViewCell.swift */; };
12+
162ED40F2211ACA000D44AEB /* CollectionViewSection.swift in Sources */ = {isa = PBXBuildFile; fileRef = 162ED4052211ACA000D44AEB /* CollectionViewSection.swift */; };
13+
162ED4102211ACA000D44AEB /* CollectionViewCell+Reuse.swift in Sources */ = {isa = PBXBuildFile; fileRef = 162ED4062211ACA000D44AEB /* CollectionViewCell+Reuse.swift */; };
14+
162ED4112211ACA000D44AEB /* Grid.swift in Sources */ = {isa = PBXBuildFile; fileRef = 162ED4072211ACA000D44AEB /* Grid.swift */; };
15+
162ED4122211ACA000D44AEB /* CollectionViewSource.swift in Sources */ = {isa = PBXBuildFile; fileRef = 162ED4082211ACA000D44AEB /* CollectionViewSource.swift */; };
16+
162ED4132211ACA000D44AEB /* CollectionViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 162ED4092211ACA000D44AEB /* CollectionViewController.swift */; };
17+
162ED4142211ACA000D44AEB /* CollectionView.h in Headers */ = {isa = PBXBuildFile; fileRef = 162ED40B2211ACA000D44AEB /* CollectionView.h */; settings = {ATTRIBUTES = (Public, ); }; };
18+
/* End PBXBuildFile section */
19+
20+
/* Begin PBXFileReference section */
21+
162ED4032211ACA000D44AEB /* CollectionViewViewModel.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CollectionViewViewModel.swift; sourceTree = "<group>"; };
22+
162ED4042211ACA000D44AEB /* CollectionViewCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CollectionViewCell.swift; sourceTree = "<group>"; };
23+
162ED4052211ACA000D44AEB /* CollectionViewSection.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CollectionViewSection.swift; sourceTree = "<group>"; };
24+
162ED4062211ACA000D44AEB /* CollectionViewCell+Reuse.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "CollectionViewCell+Reuse.swift"; sourceTree = "<group>"; };
25+
162ED4072211ACA000D44AEB /* Grid.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Grid.swift; sourceTree = "<group>"; };
26+
162ED4082211ACA000D44AEB /* CollectionViewSource.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CollectionViewSource.swift; sourceTree = "<group>"; };
27+
162ED4092211ACA000D44AEB /* CollectionViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CollectionViewController.swift; sourceTree = "<group>"; };
28+
162ED40B2211ACA000D44AEB /* CollectionView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CollectionView.h; sourceTree = "<group>"; };
29+
162ED40C2211ACA000D44AEB /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
30+
16B94D542211AC7400247232 /* CollectionView.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = CollectionView.framework; sourceTree = BUILT_PRODUCTS_DIR; };
31+
/* End PBXFileReference section */
32+
33+
/* Begin PBXFrameworksBuildPhase section */
34+
16B94D512211AC7400247232 /* Frameworks */ = {
35+
isa = PBXFrameworksBuildPhase;
36+
buildActionMask = 2147483647;
37+
files = (
38+
);
39+
runOnlyForDeploymentPostprocessing = 0;
40+
};
41+
/* End PBXFrameworksBuildPhase section */
42+
43+
/* Begin PBXGroup section */
44+
162ED4022211ACA000D44AEB /* Sources */ = {
45+
isa = PBXGroup;
46+
children = (
47+
162ED4072211ACA000D44AEB /* Grid.swift */,
48+
162ED4042211ACA000D44AEB /* CollectionViewCell.swift */,
49+
162ED4062211ACA000D44AEB /* CollectionViewCell+Reuse.swift */,
50+
162ED4032211ACA000D44AEB /* CollectionViewViewModel.swift */,
51+
162ED4052211ACA000D44AEB /* CollectionViewSection.swift */,
52+
162ED4082211ACA000D44AEB /* CollectionViewSource.swift */,
53+
162ED4092211ACA000D44AEB /* CollectionViewController.swift */,
54+
);
55+
path = Sources;
56+
sourceTree = "<group>";
57+
};
58+
162ED40A2211ACA000D44AEB /* iOS */ = {
59+
isa = PBXGroup;
60+
children = (
61+
162ED40B2211ACA000D44AEB /* CollectionView.h */,
62+
162ED40C2211ACA000D44AEB /* Info.plist */,
63+
);
64+
path = iOS;
65+
sourceTree = "<group>";
66+
};
67+
16B94D4A2211AC7400247232 = {
68+
isa = PBXGroup;
69+
children = (
70+
162ED40A2211ACA000D44AEB /* iOS */,
71+
162ED4022211ACA000D44AEB /* Sources */,
72+
16B94D552211AC7400247232 /* Products */,
73+
);
74+
sourceTree = "<group>";
75+
};
76+
16B94D552211AC7400247232 /* Products */ = {
77+
isa = PBXGroup;
78+
children = (
79+
16B94D542211AC7400247232 /* CollectionView.framework */,
80+
);
81+
name = Products;
82+
sourceTree = "<group>";
83+
};
84+
/* End PBXGroup section */
85+
86+
/* Begin PBXHeadersBuildPhase section */
87+
16B94D4F2211AC7400247232 /* Headers */ = {
88+
isa = PBXHeadersBuildPhase;
89+
buildActionMask = 2147483647;
90+
files = (
91+
162ED4142211ACA000D44AEB /* CollectionView.h in Headers */,
92+
);
93+
runOnlyForDeploymentPostprocessing = 0;
94+
};
95+
/* End PBXHeadersBuildPhase section */
96+
97+
/* Begin PBXNativeTarget section */
98+
16B94D532211AC7400247232 /* CollectionView */ = {
99+
isa = PBXNativeTarget;
100+
buildConfigurationList = 16B94D5C2211AC7400247232 /* Build configuration list for PBXNativeTarget "CollectionView" */;
101+
buildPhases = (
102+
16B94D4F2211AC7400247232 /* Headers */,
103+
16B94D502211AC7400247232 /* Sources */,
104+
16B94D512211AC7400247232 /* Frameworks */,
105+
16B94D522211AC7400247232 /* Resources */,
106+
);
107+
buildRules = (
108+
);
109+
dependencies = (
110+
);
111+
name = CollectionView;
112+
productName = CollectionView;
113+
productReference = 16B94D542211AC7400247232 /* CollectionView.framework */;
114+
productType = "com.apple.product-type.framework";
115+
};
116+
/* End PBXNativeTarget section */
117+
118+
/* Begin PBXProject section */
119+
16B94D4B2211AC7400247232 /* Project object */ = {
120+
isa = PBXProject;
121+
attributes = {
122+
LastUpgradeCheck = 1010;
123+
ORGANIZATIONNAME = "Tibor Bödecs";
124+
TargetAttributes = {
125+
16B94D532211AC7400247232 = {
126+
CreatedOnToolsVersion = 10.1;
127+
};
128+
};
129+
};
130+
buildConfigurationList = 16B94D4E2211AC7400247232 /* Build configuration list for PBXProject "CollectionView" */;
131+
compatibilityVersion = "Xcode 9.3";
132+
developmentRegion = en;
133+
hasScannedForEncodings = 0;
134+
knownRegions = (
135+
en,
136+
);
137+
mainGroup = 16B94D4A2211AC7400247232;
138+
productRefGroup = 16B94D552211AC7400247232 /* Products */;
139+
projectDirPath = "";
140+
projectRoot = "";
141+
targets = (
142+
16B94D532211AC7400247232 /* CollectionView */,
143+
);
144+
};
145+
/* End PBXProject section */
146+
147+
/* Begin PBXResourcesBuildPhase section */
148+
16B94D522211AC7400247232 /* Resources */ = {
149+
isa = PBXResourcesBuildPhase;
150+
buildActionMask = 2147483647;
151+
files = (
152+
);
153+
runOnlyForDeploymentPostprocessing = 0;
154+
};
155+
/* End PBXResourcesBuildPhase section */
156+
157+
/* Begin PBXSourcesBuildPhase section */
158+
16B94D502211AC7400247232 /* Sources */ = {
159+
isa = PBXSourcesBuildPhase;
160+
buildActionMask = 2147483647;
161+
files = (
162+
162ED40F2211ACA000D44AEB /* CollectionViewSection.swift in Sources */,
163+
162ED40E2211ACA000D44AEB /* CollectionViewCell.swift in Sources */,
164+
162ED40D2211ACA000D44AEB /* CollectionViewViewModel.swift in Sources */,
165+
162ED4122211ACA000D44AEB /* CollectionViewSource.swift in Sources */,
166+
162ED4132211ACA000D44AEB /* CollectionViewController.swift in Sources */,
167+
162ED4112211ACA000D44AEB /* Grid.swift in Sources */,
168+
162ED4102211ACA000D44AEB /* CollectionViewCell+Reuse.swift in Sources */,
169+
);
170+
runOnlyForDeploymentPostprocessing = 0;
171+
};
172+
/* End PBXSourcesBuildPhase section */
173+
174+
/* Begin XCBuildConfiguration section */
175+
16B94D5A2211AC7400247232 /* Debug */ = {
176+
isa = XCBuildConfiguration;
177+
buildSettings = {
178+
ALWAYS_SEARCH_USER_PATHS = NO;
179+
CLANG_ANALYZER_NONNULL = YES;
180+
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
181+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
182+
CLANG_CXX_LIBRARY = "libc++";
183+
CLANG_ENABLE_MODULES = YES;
184+
CLANG_ENABLE_OBJC_ARC = YES;
185+
CLANG_ENABLE_OBJC_WEAK = YES;
186+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
187+
CLANG_WARN_BOOL_CONVERSION = YES;
188+
CLANG_WARN_COMMA = YES;
189+
CLANG_WARN_CONSTANT_CONVERSION = YES;
190+
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
191+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
192+
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
193+
CLANG_WARN_EMPTY_BODY = YES;
194+
CLANG_WARN_ENUM_CONVERSION = YES;
195+
CLANG_WARN_INFINITE_RECURSION = YES;
196+
CLANG_WARN_INT_CONVERSION = YES;
197+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
198+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
199+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
200+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
201+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
202+
CLANG_WARN_STRICT_PROTOTYPES = YES;
203+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
204+
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
205+
CLANG_WARN_UNREACHABLE_CODE = YES;
206+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
207+
CODE_SIGN_IDENTITY = "iPhone Developer";
208+
COPY_PHASE_STRIP = NO;
209+
CURRENT_PROJECT_VERSION = 1;
210+
DEBUG_INFORMATION_FORMAT = dwarf;
211+
ENABLE_STRICT_OBJC_MSGSEND = YES;
212+
ENABLE_TESTABILITY = YES;
213+
GCC_C_LANGUAGE_STANDARD = gnu11;
214+
GCC_DYNAMIC_NO_PIC = NO;
215+
GCC_NO_COMMON_BLOCKS = YES;
216+
GCC_OPTIMIZATION_LEVEL = 0;
217+
GCC_PREPROCESSOR_DEFINITIONS = (
218+
"DEBUG=1",
219+
"$(inherited)",
220+
);
221+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
222+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
223+
GCC_WARN_UNDECLARED_SELECTOR = YES;
224+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
225+
GCC_WARN_UNUSED_FUNCTION = YES;
226+
GCC_WARN_UNUSED_VARIABLE = YES;
227+
IPHONEOS_DEPLOYMENT_TARGET = 12.1;
228+
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
229+
MTL_FAST_MATH = YES;
230+
ONLY_ACTIVE_ARCH = YES;
231+
SDKROOT = iphoneos;
232+
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
233+
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
234+
VERSIONING_SYSTEM = "apple-generic";
235+
VERSION_INFO_PREFIX = "";
236+
};
237+
name = Debug;
238+
};
239+
16B94D5B2211AC7400247232 /* Release */ = {
240+
isa = XCBuildConfiguration;
241+
buildSettings = {
242+
ALWAYS_SEARCH_USER_PATHS = NO;
243+
CLANG_ANALYZER_NONNULL = YES;
244+
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
245+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
246+
CLANG_CXX_LIBRARY = "libc++";
247+
CLANG_ENABLE_MODULES = YES;
248+
CLANG_ENABLE_OBJC_ARC = YES;
249+
CLANG_ENABLE_OBJC_WEAK = YES;
250+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
251+
CLANG_WARN_BOOL_CONVERSION = YES;
252+
CLANG_WARN_COMMA = YES;
253+
CLANG_WARN_CONSTANT_CONVERSION = YES;
254+
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
255+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
256+
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
257+
CLANG_WARN_EMPTY_BODY = YES;
258+
CLANG_WARN_ENUM_CONVERSION = YES;
259+
CLANG_WARN_INFINITE_RECURSION = YES;
260+
CLANG_WARN_INT_CONVERSION = YES;
261+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
262+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
263+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
264+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
265+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
266+
CLANG_WARN_STRICT_PROTOTYPES = YES;
267+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
268+
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
269+
CLANG_WARN_UNREACHABLE_CODE = YES;
270+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
271+
CODE_SIGN_IDENTITY = "iPhone Developer";
272+
COPY_PHASE_STRIP = NO;
273+
CURRENT_PROJECT_VERSION = 1;
274+
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
275+
ENABLE_NS_ASSERTIONS = NO;
276+
ENABLE_STRICT_OBJC_MSGSEND = YES;
277+
GCC_C_LANGUAGE_STANDARD = gnu11;
278+
GCC_NO_COMMON_BLOCKS = YES;
279+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
280+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
281+
GCC_WARN_UNDECLARED_SELECTOR = YES;
282+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
283+
GCC_WARN_UNUSED_FUNCTION = YES;
284+
GCC_WARN_UNUSED_VARIABLE = YES;
285+
IPHONEOS_DEPLOYMENT_TARGET = 12.1;
286+
MTL_ENABLE_DEBUG_INFO = NO;
287+
MTL_FAST_MATH = YES;
288+
SDKROOT = iphoneos;
289+
SWIFT_COMPILATION_MODE = wholemodule;
290+
SWIFT_OPTIMIZATION_LEVEL = "-O";
291+
VALIDATE_PRODUCT = YES;
292+
VERSIONING_SYSTEM = "apple-generic";
293+
VERSION_INFO_PREFIX = "";
294+
};
295+
name = Release;
296+
};
297+
16B94D5D2211AC7400247232 /* Debug */ = {
298+
isa = XCBuildConfiguration;
299+
buildSettings = {
300+
CODE_SIGN_IDENTITY = "";
301+
CODE_SIGN_STYLE = Automatic;
302+
DEFINES_MODULE = YES;
303+
DEVELOPMENT_TEAM = XL2GSHMUDQ;
304+
DYLIB_COMPATIBILITY_VERSION = 1;
305+
DYLIB_CURRENT_VERSION = 1;
306+
DYLIB_INSTALL_NAME_BASE = "@rpath";
307+
INFOPLIST_FILE = "$(SRCROOT)/iOS/Info.plist";
308+
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
309+
LD_RUNPATH_SEARCH_PATHS = (
310+
"$(inherited)",
311+
"@executable_path/Frameworks",
312+
"@loader_path/Frameworks",
313+
);
314+
PRODUCT_BUNDLE_IDENTIFIER = com.tiborbodecs.CollectionView;
315+
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
316+
SKIP_INSTALL = YES;
317+
SWIFT_VERSION = 4.2;
318+
TARGETED_DEVICE_FAMILY = "1,2";
319+
};
320+
name = Debug;
321+
};
322+
16B94D5E2211AC7400247232 /* Release */ = {
323+
isa = XCBuildConfiguration;
324+
buildSettings = {
325+
CODE_SIGN_IDENTITY = "";
326+
CODE_SIGN_STYLE = Automatic;
327+
DEFINES_MODULE = YES;
328+
DEVELOPMENT_TEAM = XL2GSHMUDQ;
329+
DYLIB_COMPATIBILITY_VERSION = 1;
330+
DYLIB_CURRENT_VERSION = 1;
331+
DYLIB_INSTALL_NAME_BASE = "@rpath";
332+
INFOPLIST_FILE = "$(SRCROOT)/iOS/Info.plist";
333+
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
334+
LD_RUNPATH_SEARCH_PATHS = (
335+
"$(inherited)",
336+
"@executable_path/Frameworks",
337+
"@loader_path/Frameworks",
338+
);
339+
PRODUCT_BUNDLE_IDENTIFIER = com.tiborbodecs.CollectionView;
340+
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
341+
SKIP_INSTALL = YES;
342+
SWIFT_VERSION = 4.2;
343+
TARGETED_DEVICE_FAMILY = "1,2";
344+
};
345+
name = Release;
346+
};
347+
/* End XCBuildConfiguration section */
348+
349+
/* Begin XCConfigurationList section */
350+
16B94D4E2211AC7400247232 /* Build configuration list for PBXProject "CollectionView" */ = {
351+
isa = XCConfigurationList;
352+
buildConfigurations = (
353+
16B94D5A2211AC7400247232 /* Debug */,
354+
16B94D5B2211AC7400247232 /* Release */,
355+
);
356+
defaultConfigurationIsVisible = 0;
357+
defaultConfigurationName = Release;
358+
};
359+
16B94D5C2211AC7400247232 /* Build configuration list for PBXNativeTarget "CollectionView" */ = {
360+
isa = XCConfigurationList;
361+
buildConfigurations = (
362+
16B94D5D2211AC7400247232 /* Debug */,
363+
16B94D5E2211AC7400247232 /* Release */,
364+
);
365+
defaultConfigurationIsVisible = 0;
366+
defaultConfigurationName = Release;
367+
};
368+
/* End XCConfigurationList section */
369+
};
370+
rootObject = 16B94D4B2211AC7400247232 /* Project object */;
371+
}

0 commit comments

Comments
 (0)