Skip to content

Commit 13d1e61

Browse files
author
Peter Steinberger
committed
refactors directory structure.
Now we have the folder "GMGridView" with the grid classes + an xcodeproj to build. Next, there is "Example" which uses the new GMGridView.xcodeproj to link against the project. This matches style with most other popular open source projects, and makes it easier to see what's the actual source code and what's the example. This was too mixed up previously.
1 parent 2738d5c commit 13d1e61

33 files changed

+663
-355
lines changed
Lines changed: 346 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,346 @@
1+
// !$*UTF8*$!
2+
{
3+
archiveVersion = 1;
4+
classes = {
5+
};
6+
objectVersion = 46;
7+
objects = {
8+
9+
/* Begin PBXBuildFile section */
10+
16275EF2144D26C10041AF02 /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 16275EF1144D26C10041AF02 /* QuartzCore.framework */; };
11+
16924B0C144156FE00E6E556 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 16924B0B144156FE00E6E556 /* UIKit.framework */; };
12+
16924B0E144156FE00E6E556 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 16924B0D144156FE00E6E556 /* Foundation.framework */; };
13+
16924B10144156FE00E6E556 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 16924B0F144156FE00E6E556 /* CoreGraphics.framework */; };
14+
785092D4149FABAC000787E4 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 785092CF149FABAC000787E4 /* AppDelegate.m */; };
15+
785092D5149FABAC000787E4 /* Demo1ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 785092D1149FABAC000787E4 /* Demo1ViewController.m */; };
16+
785092D6149FABAC000787E4 /* Demo2ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 785092D3149FABAC000787E4 /* Demo2ViewController.m */; };
17+
785092DB149FABB6000787E4 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 785092D9149FABB6000787E4 /* main.m */; };
18+
78509333149FAC52000787E4 /* libGMGridView.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 78509330149FAC48000787E4 /* libGMGridView.a */; };
19+
78509354149FAC81000787E4 /* close_x.png in Resources */ = {isa = PBXBuildFile; fileRef = 78509353149FAC81000787E4 /* close_x.png */; };
20+
7850936A149FADB4000787E4 /* OptionsViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 78509369149FADB4000787E4 /* OptionsViewController.m */; };
21+
/* End PBXBuildFile section */
22+
23+
/* Begin PBXContainerItemProxy section */
24+
7850932F149FAC48000787E4 /* PBXContainerItemProxy */ = {
25+
isa = PBXContainerItemProxy;
26+
containerPortal = 78509328149FAC48000787E4 /* GMGridView.xcodeproj */;
27+
proxyType = 2;
28+
remoteGlobalIDString = 78509312149FAC2E000787E4;
29+
remoteInfo = GMGridView;
30+
};
31+
78509331149FAC4F000787E4 /* PBXContainerItemProxy */ = {
32+
isa = PBXContainerItemProxy;
33+
containerPortal = 78509328149FAC48000787E4 /* GMGridView.xcodeproj */;
34+
proxyType = 1;
35+
remoteGlobalIDString = 78509311149FAC2E000787E4;
36+
remoteInfo = GMGridView;
37+
};
38+
/* End PBXContainerItemProxy section */
39+
40+
/* Begin PBXFileReference section */
41+
16275EF1144D26C10041AF02 /* QuartzCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = System/Library/Frameworks/QuartzCore.framework; sourceTree = SDKROOT; };
42+
16924B07144156FE00E6E556 /* GMGridView.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = GMGridView.app; sourceTree = BUILT_PRODUCTS_DIR; };
43+
16924B0B144156FE00E6E556 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
44+
16924B0D144156FE00E6E556 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
45+
16924B0F144156FE00E6E556 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
46+
785092CE149FABAC000787E4 /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = SOURCE_ROOT; };
47+
785092CF149FABAC000787E4 /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = SOURCE_ROOT; };
48+
785092D0149FABAC000787E4 /* Demo1ViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Demo1ViewController.h; sourceTree = SOURCE_ROOT; };
49+
785092D1149FABAC000787E4 /* Demo1ViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Demo1ViewController.m; sourceTree = SOURCE_ROOT; };
50+
785092D2149FABAC000787E4 /* Demo2ViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Demo2ViewController.h; sourceTree = SOURCE_ROOT; };
51+
785092D3149FABAC000787E4 /* Demo2ViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Demo2ViewController.m; sourceTree = SOURCE_ROOT; };
52+
785092D7149FABB6000787E4 /* GMGridView-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "GMGridView-Info.plist"; sourceTree = SOURCE_ROOT; };
53+
785092D8149FABB6000787E4 /* GMGridView-Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "GMGridView-Prefix.pch"; sourceTree = SOURCE_ROOT; };
54+
785092D9149FABB6000787E4 /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = SOURCE_ROOT; };
55+
78509328149FAC48000787E4 /* GMGridView.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = GMGridView.xcodeproj; path = ../GMGridView/GMGridView.xcodeproj; sourceTree = "<group>"; };
56+
78509353149FAC81000787E4 /* close_x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = close_x.png; path = Resources/close_x.png; sourceTree = SOURCE_ROOT; };
57+
78509368149FADB4000787E4 /* OptionsViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OptionsViewController.h; sourceTree = SOURCE_ROOT; };
58+
78509369149FADB4000787E4 /* OptionsViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OptionsViewController.m; sourceTree = SOURCE_ROOT; };
59+
/* End PBXFileReference section */
60+
61+
/* Begin PBXFrameworksBuildPhase section */
62+
16924B04144156FE00E6E556 /* Frameworks */ = {
63+
isa = PBXFrameworksBuildPhase;
64+
buildActionMask = 2147483647;
65+
files = (
66+
78509333149FAC52000787E4 /* libGMGridView.a in Frameworks */,
67+
16275EF2144D26C10041AF02 /* QuartzCore.framework in Frameworks */,
68+
16924B0C144156FE00E6E556 /* UIKit.framework in Frameworks */,
69+
16924B0E144156FE00E6E556 /* Foundation.framework in Frameworks */,
70+
16924B10144156FE00E6E556 /* CoreGraphics.framework in Frameworks */,
71+
);
72+
runOnlyForDeploymentPostprocessing = 0;
73+
};
74+
/* End PBXFrameworksBuildPhase section */
75+
76+
/* Begin PBXGroup section */
77+
16924AFC144156FD00E6E556 = {
78+
isa = PBXGroup;
79+
children = (
80+
16924B11144156FE00E6E556 /* Demo */,
81+
16955520146FA80200DECCA6 /* Resources */,
82+
16924B0A144156FE00E6E556 /* Frameworks */,
83+
16924B08144156FE00E6E556 /* Products */,
84+
);
85+
sourceTree = "<group>";
86+
};
87+
16924B08144156FE00E6E556 /* Products */ = {
88+
isa = PBXGroup;
89+
children = (
90+
16924B07144156FE00E6E556 /* GMGridView.app */,
91+
);
92+
name = Products;
93+
sourceTree = "<group>";
94+
};
95+
16924B0A144156FE00E6E556 /* Frameworks */ = {
96+
isa = PBXGroup;
97+
children = (
98+
78509328149FAC48000787E4 /* GMGridView.xcodeproj */,
99+
16275EF1144D26C10041AF02 /* QuartzCore.framework */,
100+
16924B0B144156FE00E6E556 /* UIKit.framework */,
101+
16924B0D144156FE00E6E556 /* Foundation.framework */,
102+
16924B0F144156FE00E6E556 /* CoreGraphics.framework */,
103+
);
104+
name = Frameworks;
105+
sourceTree = "<group>";
106+
};
107+
16924B11144156FE00E6E556 /* Demo */ = {
108+
isa = PBXGroup;
109+
children = (
110+
785092CE149FABAC000787E4 /* AppDelegate.h */,
111+
785092CF149FABAC000787E4 /* AppDelegate.m */,
112+
785092D0149FABAC000787E4 /* Demo1ViewController.h */,
113+
785092D1149FABAC000787E4 /* Demo1ViewController.m */,
114+
785092D2149FABAC000787E4 /* Demo2ViewController.h */,
115+
785092D3149FABAC000787E4 /* Demo2ViewController.m */,
116+
78509368149FADB4000787E4 /* OptionsViewController.h */,
117+
78509369149FADB4000787E4 /* OptionsViewController.m */,
118+
16924B12144156FE00E6E556 /* Supporting Files */,
119+
);
120+
name = Demo;
121+
path = DraggableGridView;
122+
sourceTree = "<group>";
123+
};
124+
16924B12144156FE00E6E556 /* Supporting Files */ = {
125+
isa = PBXGroup;
126+
children = (
127+
785092D7149FABB6000787E4 /* GMGridView-Info.plist */,
128+
785092D8149FABB6000787E4 /* GMGridView-Prefix.pch */,
129+
785092D9149FABB6000787E4 /* main.m */,
130+
);
131+
name = "Supporting Files";
132+
sourceTree = "<group>";
133+
};
134+
16955520146FA80200DECCA6 /* Resources */ = {
135+
isa = PBXGroup;
136+
children = (
137+
78509353149FAC81000787E4 /* close_x.png */,
138+
);
139+
name = Resources;
140+
path = GMGridView/Resources;
141+
sourceTree = "<group>";
142+
};
143+
78509329149FAC48000787E4 /* Products */ = {
144+
isa = PBXGroup;
145+
children = (
146+
78509330149FAC48000787E4 /* libGMGridView.a */,
147+
);
148+
name = Products;
149+
sourceTree = "<group>";
150+
};
151+
/* End PBXGroup section */
152+
153+
/* Begin PBXNativeTarget section */
154+
16924B06144156FE00E6E556 /* GMGridViewExample */ = {
155+
isa = PBXNativeTarget;
156+
buildConfigurationList = 16924B28144156FE00E6E556 /* Build configuration list for PBXNativeTarget "GMGridViewExample" */;
157+
buildPhases = (
158+
16924B03144156FE00E6E556 /* Sources */,
159+
16924B04144156FE00E6E556 /* Frameworks */,
160+
16924B05144156FE00E6E556 /* Resources */,
161+
);
162+
buildRules = (
163+
);
164+
dependencies = (
165+
78509332149FAC4F000787E4 /* PBXTargetDependency */,
166+
);
167+
name = GMGridViewExample;
168+
productName = DraggableGridView;
169+
productReference = 16924B07144156FE00E6E556 /* GMGridView.app */;
170+
productType = "com.apple.product-type.application";
171+
};
172+
/* End PBXNativeTarget section */
173+
174+
/* Begin PBXProject section */
175+
16924AFE144156FD00E6E556 /* Project object */ = {
176+
isa = PBXProject;
177+
attributes = {
178+
LastUpgradeCheck = 0420;
179+
ORGANIZATIONNAME = GMoledina.ca;
180+
};
181+
buildConfigurationList = 16924B01144156FD00E6E556 /* Build configuration list for PBXProject "GMGridViewExample" */;
182+
compatibilityVersion = "Xcode 3.2";
183+
developmentRegion = English;
184+
hasScannedForEncodings = 0;
185+
knownRegions = (
186+
en,
187+
);
188+
mainGroup = 16924AFC144156FD00E6E556;
189+
productRefGroup = 16924B08144156FE00E6E556 /* Products */;
190+
projectDirPath = "";
191+
projectReferences = (
192+
{
193+
ProductGroup = 78509329149FAC48000787E4 /* Products */;
194+
ProjectRef = 78509328149FAC48000787E4 /* GMGridView.xcodeproj */;
195+
},
196+
);
197+
projectRoot = "";
198+
targets = (
199+
16924B06144156FE00E6E556 /* GMGridViewExample */,
200+
);
201+
};
202+
/* End PBXProject section */
203+
204+
/* Begin PBXReferenceProxy section */
205+
78509330149FAC48000787E4 /* libGMGridView.a */ = {
206+
isa = PBXReferenceProxy;
207+
fileType = archive.ar;
208+
path = libGMGridView.a;
209+
remoteRef = 7850932F149FAC48000787E4 /* PBXContainerItemProxy */;
210+
sourceTree = BUILT_PRODUCTS_DIR;
211+
};
212+
/* End PBXReferenceProxy section */
213+
214+
/* Begin PBXResourcesBuildPhase section */
215+
16924B05144156FE00E6E556 /* Resources */ = {
216+
isa = PBXResourcesBuildPhase;
217+
buildActionMask = 2147483647;
218+
files = (
219+
78509354149FAC81000787E4 /* close_x.png in Resources */,
220+
);
221+
runOnlyForDeploymentPostprocessing = 0;
222+
};
223+
/* End PBXResourcesBuildPhase section */
224+
225+
/* Begin PBXSourcesBuildPhase section */
226+
16924B03144156FE00E6E556 /* Sources */ = {
227+
isa = PBXSourcesBuildPhase;
228+
buildActionMask = 2147483647;
229+
files = (
230+
785092D4149FABAC000787E4 /* AppDelegate.m in Sources */,
231+
785092D5149FABAC000787E4 /* Demo1ViewController.m in Sources */,
232+
785092D6149FABAC000787E4 /* Demo2ViewController.m in Sources */,
233+
785092DB149FABB6000787E4 /* main.m in Sources */,
234+
7850936A149FADB4000787E4 /* OptionsViewController.m in Sources */,
235+
);
236+
runOnlyForDeploymentPostprocessing = 0;
237+
};
238+
/* End PBXSourcesBuildPhase section */
239+
240+
/* Begin PBXTargetDependency section */
241+
78509332149FAC4F000787E4 /* PBXTargetDependency */ = {
242+
isa = PBXTargetDependency;
243+
name = GMGridView;
244+
targetProxy = 78509331149FAC4F000787E4 /* PBXContainerItemProxy */;
245+
};
246+
/* End PBXTargetDependency section */
247+
248+
/* Begin XCBuildConfiguration section */
249+
16924B26144156FE00E6E556 /* Debug */ = {
250+
isa = XCBuildConfiguration;
251+
buildSettings = {
252+
ALWAYS_SEARCH_USER_PATHS = NO;
253+
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
254+
CLANG_ENABLE_OBJC_ARC = YES;
255+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
256+
COPY_PHASE_STRIP = NO;
257+
GCC_C_LANGUAGE_STANDARD = gnu99;
258+
GCC_DYNAMIC_NO_PIC = NO;
259+
GCC_OPTIMIZATION_LEVEL = 0;
260+
GCC_PREPROCESSOR_DEFINITIONS = (
261+
"DEBUG=1",
262+
"$(inherited)",
263+
);
264+
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
265+
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
266+
GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
267+
GCC_WARN_ABOUT_RETURN_TYPE = YES;
268+
GCC_WARN_UNUSED_VARIABLE = YES;
269+
HEADER_SEARCH_PATHS = "../GMGridView/**";
270+
IPHONEOS_DEPLOYMENT_TARGET = 4.2;
271+
OTHER_LDFLAGS = "-ObjC";
272+
SDKROOT = iphoneos;
273+
TARGETED_DEVICE_FAMILY = "1,2";
274+
};
275+
name = Debug;
276+
};
277+
16924B27144156FE00E6E556 /* Release */ = {
278+
isa = XCBuildConfiguration;
279+
buildSettings = {
280+
ALWAYS_SEARCH_USER_PATHS = NO;
281+
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
282+
CLANG_ENABLE_OBJC_ARC = YES;
283+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
284+
COPY_PHASE_STRIP = YES;
285+
GCC_C_LANGUAGE_STANDARD = gnu99;
286+
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
287+
GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
288+
GCC_WARN_ABOUT_RETURN_TYPE = YES;
289+
GCC_WARN_UNUSED_VARIABLE = YES;
290+
HEADER_SEARCH_PATHS = "../GMGridView/**";
291+
IPHONEOS_DEPLOYMENT_TARGET = 4.2;
292+
OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1";
293+
OTHER_LDFLAGS = "-ObjC";
294+
SDKROOT = iphoneos;
295+
TARGETED_DEVICE_FAMILY = "1,2";
296+
VALIDATE_PRODUCT = YES;
297+
};
298+
name = Release;
299+
};
300+
16924B29144156FE00E6E556 /* Debug */ = {
301+
isa = XCBuildConfiguration;
302+
buildSettings = {
303+
GCC_PRECOMPILE_PREFIX_HEADER = YES;
304+
GCC_PREFIX_HEADER = "GMGridView-Prefix.pch";
305+
INFOPLIST_FILE = "GMGridView-Info.plist";
306+
PRODUCT_NAME = GMGridView;
307+
WRAPPER_EXTENSION = app;
308+
};
309+
name = Debug;
310+
};
311+
16924B2A144156FE00E6E556 /* Release */ = {
312+
isa = XCBuildConfiguration;
313+
buildSettings = {
314+
GCC_PRECOMPILE_PREFIX_HEADER = YES;
315+
GCC_PREFIX_HEADER = "GMGridView-Prefix.pch";
316+
INFOPLIST_FILE = "GMGridView-Info.plist";
317+
PRODUCT_NAME = GMGridView;
318+
WRAPPER_EXTENSION = app;
319+
};
320+
name = Release;
321+
};
322+
/* End XCBuildConfiguration section */
323+
324+
/* Begin XCConfigurationList section */
325+
16924B01144156FD00E6E556 /* Build configuration list for PBXProject "GMGridViewExample" */ = {
326+
isa = XCConfigurationList;
327+
buildConfigurations = (
328+
16924B26144156FE00E6E556 /* Debug */,
329+
16924B27144156FE00E6E556 /* Release */,
330+
);
331+
defaultConfigurationIsVisible = 0;
332+
defaultConfigurationName = Release;
333+
};
334+
16924B28144156FE00E6E556 /* Build configuration list for PBXNativeTarget "GMGridViewExample" */ = {
335+
isa = XCConfigurationList;
336+
buildConfigurations = (
337+
16924B29144156FE00E6E556 /* Debug */,
338+
16924B2A144156FE00E6E556 /* Release */,
339+
);
340+
defaultConfigurationIsVisible = 0;
341+
defaultConfigurationName = Release;
342+
};
343+
/* End XCConfigurationList section */
344+
};
345+
rootObject = 16924AFE144156FD00E6E556 /* Project object */;
346+
}

GMGridView.xcodeproj/project.xcworkspace/contents.xcworkspacedata renamed to Example/GMGridViewExample.xcodeproj/project.xcworkspace/contents.xcworkspacedata

File renamed without changes.

0 commit comments

Comments
 (0)