Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc989ec8

Browse files
author
Jim Puls
committed
Initial implementation of objc-assetgen.
1 parentfe6d39f commitc989ec8

File tree

7 files changed

+234
-116
lines changed

7 files changed

+234
-116
lines changed

‎.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
xcuserdata

‎assetgen.xcodeproj/project.pbxproj

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
A89D8FE717CFFDCE0077F2B5 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A89D8FE617CFFDCE0077F2B5 /* Foundation.framework */; };
1111
A89D8FEA17CFFDCE0077F2B5 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = A89D8FE917CFFDCE0077F2B5 /* main.m */; };
1212
A89D8FEE17CFFDCE0077F2B5 /* assetgen.1 in CopyFiles */ = {isa = PBXBuildFile; fileRef = A89D8FED17CFFDCE0077F2B5 /* assetgen.1 */; };
13+
A89D8FF617CFFED90077F2B5 /* AGCatalogParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A89D8FF517CFFED90077F2B5 /* AGCatalogParser.m */; };
1314
/* End PBXBuildFile section */
1415

1516
/* Begin PBXCopyFilesBuildPhase section */
@@ -26,11 +27,13 @@
2627
/* End PBXCopyFilesBuildPhase section */
2728

2829
/* Begin PBXFileReference section */
29-
A89D8FE317CFFDCE0077F2B5 /* assetgen */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = assetgen; sourceTree = BUILT_PRODUCTS_DIR; };
30+
A89D8FE317CFFDCE0077F2B5 /*objc-assetgen */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path ="objc-assetgen"; sourceTree = BUILT_PRODUCTS_DIR; };
3031
A89D8FE617CFFDCE0077F2B5 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
3132
A89D8FE917CFFDCE0077F2B5 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
3233
A89D8FEC17CFFDCE0077F2B5 /* assetgen-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "assetgen-Prefix.pch"; sourceTree = "<group>"; };
3334
A89D8FED17CFFDCE0077F2B5 /* assetgen.1 */ = {isa = PBXFileReference; lastKnownFileType = text.man; path = assetgen.1; sourceTree = "<group>"; };
35+
A89D8FF417CFFED90077F2B5 /* AGCatalogParser.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AGCatalogParser.h; sourceTree = "<group>"; };
36+
A89D8FF517CFFED90077F2B5 /* AGCatalogParser.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AGCatalogParser.m; sourceTree = "<group>"; };
3437
/* End PBXFileReference section */
3538

3639
/* Begin PBXFrameworksBuildPhase section */
@@ -57,7 +60,7 @@
5760
A89D8FE417CFFDCE0077F2B5 /* Products */ = {
5861
isa = PBXGroup;
5962
children = (
60-
A89D8FE317CFFDCE0077F2B5 /* assetgen */,
63+
A89D8FE317CFFDCE0077F2B5 /*objc-assetgen */,
6164
);
6265
name = Products;
6366
sourceTree = "<group>";
@@ -73,6 +76,8 @@
7376
A89D8FE817CFFDCE0077F2B5 /* assetgen */ = {
7477
isa = PBXGroup;
7578
children = (
79+
A89D8FF417CFFED90077F2B5 /* AGCatalogParser.h */,
80+
A89D8FF517CFFED90077F2B5 /* AGCatalogParser.m */,
7681
A89D8FE917CFFDCE0077F2B5 /* main.m */,
7782
A89D8FED17CFFDCE0077F2B5 /* assetgen.1 */,
7883
A89D8FEB17CFFDCE0077F2B5 /* Supporting Files */,
@@ -105,7 +110,7 @@
105110
);
106111
name = assetgen;
107112
productName = assetgen;
108-
productReference = A89D8FE317CFFDCE0077F2B5 /* assetgen */;
113+
productReference = A89D8FE317CFFDCE0077F2B5 /*objc-assetgen */;
109114
productType = "com.apple.product-type.tool";
110115
};
111116
/* End PBXNativeTarget section */
@@ -139,6 +144,7 @@
139144
isa = PBXSourcesBuildPhase;
140145
buildActionMask = 2147483647;
141146
files = (
147+
A89D8FF617CFFED90077F2B5 /* AGCatalogParser.m in Sources */,
142148
A89D8FEA17CFFDCE0077F2B5 /* main.m in Sources */,
143149
);
144150
runOnlyForDeploymentPostprocessing = 0;
@@ -221,7 +227,7 @@
221227
buildSettings = {
222228
GCC_PRECOMPILE_PREFIX_HEADER = YES;
223229
GCC_PREFIX_HEADER = "assetgen/assetgen-Prefix.pch";
224-
PRODUCT_NAME = "$(TARGET_NAME)";
230+
PRODUCT_NAME = "objc-assetgen";
225231
};
226232
name = Debug;
227233
};
@@ -230,7 +236,7 @@
230236
buildSettings = {
231237
GCC_PRECOMPILE_PREFIX_HEADER = YES;
232238
GCC_PREFIX_HEADER = "assetgen/assetgen-Prefix.pch";
233-
PRODUCT_NAME = "$(TARGET_NAME)";
239+
PRODUCT_NAME = "objc-assetgen";
234240
};
235241
name = Release;
236242
};
@@ -253,6 +259,7 @@
253259
A89D8FF317CFFDCE0077F2B5 /* Release */,
254260
);
255261
defaultConfigurationIsVisible = 0;
262+
defaultConfigurationName = Release;
256263
};
257264
/* End XCConfigurationList section */
258265
};

‎assetgen.xcodeproj/xcuserdata/puls.xcuserdatad/xcschemes/assetgen.xcscheme

Lines changed: 0 additions & 86 deletions
This file was deleted.

‎assetgen.xcodeproj/xcuserdata/puls.xcuserdatad/xcschemes/xcschememanagement.plist

Lines changed: 0 additions & 22 deletions
This file was deleted.

‎assetgen/AGCatalogParser.h

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
//
2+
// AGCatalogParser.h
3+
// assetgen
4+
//
5+
// Created by Jim Puls on 8/29/13.
6+
// Copyright (c) 2013 Square, Inc. All rights reserved.
7+
//
8+
9+
#import<Foundation/Foundation.h>
10+
11+
@interfaceAGCatalogParser :NSObject
12+
13+
+ (instancetype)assetCatalogAtURL:(NSURL *)url;
14+
15+
@property (copy)NSString *classPrefix;
16+
17+
- (void)startWithCompletionHandler:(dispatch_block_t)completionBlock;
18+
19+
@end

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp