├── 1224·2.gif
├── IconFont
├── iconfonts.ttf
├── ViewController.h
├── UIButton+XS.h
├── AppDelegate.h
├── main.m
├── UIButton+XS.m
├── FontCodes.h
├── Images.xcassets
│ └── AppIcon.appiconset
│ │ └── Contents.json
├── FontCodes.m
├── Info.plist
├── Base.lproj
│ ├── Main.storyboard
│ └── LaunchScreen.xib
├── AppDelegate.m
└── ViewController.m
├── IconFont.xcodeproj
├── xcuserdata
│ └── Ariel.xcuserdatad
│ │ ├── xcdebugger
│ │ └── Breakpoints_v2.xcbkptlist
│ │ └── xcschemes
│ │ ├── xcschememanagement.plist
│ │ └── IconFont.xcscheme
├── project.xcworkspace
│ ├── contents.xcworkspacedata
│ └── xcuserdata
│ │ └── Ariel.xcuserdatad
│ │ ├── UserInterfaceState.xcuserstate
│ │ └── WorkspaceSettings.xcsettings
└── project.pbxproj
├── IconFontTests
├── Info.plist
└── IconFontTests.m
└── README.md
/1224·2.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CoderXSLee/IconFont/HEAD/1224·2.gif
--------------------------------------------------------------------------------
/IconFont/iconfonts.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CoderXSLee/IconFont/HEAD/IconFont/iconfonts.ttf
--------------------------------------------------------------------------------
/IconFont.xcodeproj/xcuserdata/Ariel.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
--------------------------------------------------------------------------------
/IconFont.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/IconFont.xcodeproj/project.xcworkspace/xcuserdata/Ariel.xcuserdatad/UserInterfaceState.xcuserstate:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CoderXSLee/IconFont/HEAD/IconFont.xcodeproj/project.xcworkspace/xcuserdata/Ariel.xcuserdatad/UserInterfaceState.xcuserstate
--------------------------------------------------------------------------------
/IconFont/ViewController.h:
--------------------------------------------------------------------------------
1 | //
2 | // ViewController.h
3 | // IconFont
4 | //
5 | // Created by Ariel on 15/7/22.
6 | // Copyright (c) 2015年 李雪松. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface ViewController : UIViewController
12 |
13 |
14 | @end
15 |
16 |
--------------------------------------------------------------------------------
/IconFont/UIButton+XS.h:
--------------------------------------------------------------------------------
1 | //
2 | // UIButton+XS.h
3 | // IconFont
4 | //
5 | // Created by Ariel on 15/7/22.
6 | // Copyright (c) 2015年 李雪松. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface UIButton (XS)
12 |
13 | // 自定义字体 需要传入字体的大小
14 | - (void)setTitleFontSize:(CGFloat)size;
15 |
16 | @end
17 |
--------------------------------------------------------------------------------
/IconFont/AppDelegate.h:
--------------------------------------------------------------------------------
1 | //
2 | // AppDelegate.h
3 | // IconFont
4 | //
5 | // Created by Ariel on 15/7/22.
6 | // Copyright (c) 2015年 李雪松. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface AppDelegate : UIResponder
12 |
13 | @property (strong, nonatomic) UIWindow *window;
14 |
15 |
16 | @end
17 |
18 |
--------------------------------------------------------------------------------
/IconFont/main.m:
--------------------------------------------------------------------------------
1 | //
2 | // main.m
3 | // IconFont
4 | //
5 | // Created by Ariel on 15/7/22.
6 | // Copyright (c) 2015年 李雪松. All rights reserved.
7 | //
8 |
9 | #import
10 | #import "AppDelegate.h"
11 |
12 | int main(int argc, char * argv[]) {
13 | @autoreleasepool {
14 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/IconFont.xcodeproj/project.xcworkspace/xcuserdata/Ariel.xcuserdatad/WorkspaceSettings.xcsettings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | HasAskedToTakeAutomaticSnapshotBeforeSignificantChanges
6 |
7 | SnapshotAutomaticallyBeforeSignificantChanges
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/IconFont/UIButton+XS.m:
--------------------------------------------------------------------------------
1 | //
2 | // UIButton+XS.m
3 | // IconFont
4 | //
5 | // Created by Ariel on 15/7/22.
6 | // Copyright (c) 2015年 李雪松. All rights reserved.
7 | //
8 |
9 | #import "UIButton+XS.h"
10 |
11 | #pragma mark - 字体名称
12 | NSString * const iconFontName = @"iconfonts";
13 |
14 | @implementation UIButton (XS)
15 |
16 | - (void)setTitleFontSize:(CGFloat)size {
17 | self.titleLabel.font = [UIFont fontWithName:iconFontName size:size];
18 | }
19 |
20 | @end
21 |
--------------------------------------------------------------------------------
/IconFont/FontCodes.h:
--------------------------------------------------------------------------------
1 | /**************************************************************
2 | 文件名称:FontCodes.h
3 | 作 者:李雪松
4 | 备 注:
5 | 创建时间:15/4/29.
6 | 修改历史:
7 | 版权信息: Copyright (c) 2015年 skye. All rights reserved.
8 | ***************************************************************/
9 |
10 | #import
11 |
12 | @interface FontCodes : NSObject
13 |
14 | #pragma mark -
15 |
16 | extern NSString * const videoFont;
17 | extern NSString * const photoFont;
18 | extern NSString * const cameraFont;
19 | extern NSString * const setupFont;
20 | extern NSString * const personFont;
21 | extern NSString * const githubIconFont;
22 | extern NSString * const weChatFriendFont;
23 | extern NSString * const daJuHuaFont;
24 |
25 | @end
26 |
--------------------------------------------------------------------------------
/IconFont.xcodeproj/xcuserdata/Ariel.xcuserdatad/xcschemes/xcschememanagement.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SchemeUserState
6 |
7 | IconFont.xcscheme
8 |
9 | orderHint
10 | 0
11 |
12 |
13 | SuppressBuildableAutocreation
14 |
15 | B0D6AADF1B5F282A007E0FA9
16 |
17 | primary
18 |
19 |
20 | B0D6AAF81B5F282A007E0FA9
21 |
22 | primary
23 |
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/IconFont/Images.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "iphone",
5 | "size" : "29x29",
6 | "scale" : "2x"
7 | },
8 | {
9 | "idiom" : "iphone",
10 | "size" : "29x29",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "40x40",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "40x40",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "60x60",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "60x60",
31 | "scale" : "3x"
32 | }
33 | ],
34 | "info" : {
35 | "version" : 1,
36 | "author" : "xcode"
37 | }
38 | }
--------------------------------------------------------------------------------
/IconFont/FontCodes.m:
--------------------------------------------------------------------------------
1 | /**************************************************************
2 | 文件名称:FontCodes.m
3 | 作 者:李雪松
4 | 备 注:
5 | 创建时间:15/4/29.
6 | 修改历史:
7 | 版权信息: Copyright (c) 2015年 skye. All rights reserved.
8 | ***************************************************************/
9 |
10 | #import "FontCodes.h"
11 |
12 | @implementation FontCodes
13 |
14 | NSString * const videoFont = @"\U0000E80A";
15 | NSString * const photoFont = @"\U0000E80C";
16 | NSString * const cameraFont = @"\U0000E808";
17 | NSString * const setupFont = @"\U0000E80D";
18 | NSString * const personFont = @"\U0000E804";
19 | NSString * const githubIconFont = @"\U0000E802";
20 | NSString * const weChatFriendFont = @"\U0000E803";
21 | NSString * const daJuHuaFont = @"\U0000E80F";
22 |
23 | @end
24 |
--------------------------------------------------------------------------------
/IconFontTests/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | com.imooc.$(PRODUCT_NAME:rfc1034identifier)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | BNDL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 |
24 |
25 |
--------------------------------------------------------------------------------
/IconFontTests/IconFontTests.m:
--------------------------------------------------------------------------------
1 | //
2 | // IconFontTests.m
3 | // IconFontTests
4 | //
5 | // Created by Ariel on 15/7/22.
6 | // Copyright (c) 2015年 李雪松. All rights reserved.
7 | //
8 |
9 | #import
10 | #import
11 |
12 | @interface IconFontTests : XCTestCase
13 |
14 | @end
15 |
16 | @implementation IconFontTests
17 |
18 | - (void)setUp {
19 | [super setUp];
20 | // Put setup code here. This method is called before the invocation of each test method in the class.
21 | }
22 |
23 | - (void)tearDown {
24 | // Put teardown code here. This method is called after the invocation of each test method in the class.
25 | [super tearDown];
26 | }
27 |
28 | - (void)testExample {
29 | // This is an example of a functional test case.
30 | XCTAssert(YES, @"Pass");
31 | }
32 |
33 | - (void)testPerformanceExample {
34 | // This is an example of a performance test case.
35 | [self measureBlock:^{
36 | // Put the code you want to measure the time of here.
37 | }];
38 | }
39 |
40 | @end
41 |
--------------------------------------------------------------------------------
/IconFont/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | UIAppFonts
6 |
7 | iconfonts.ttf
8 |
9 | CFBundleDevelopmentRegion
10 | en
11 | CFBundleExecutable
12 | $(EXECUTABLE_NAME)
13 | CFBundleIdentifier
14 | com.imooc.$(PRODUCT_NAME:rfc1034identifier)
15 | CFBundleInfoDictionaryVersion
16 | 6.0
17 | CFBundleName
18 | $(PRODUCT_NAME)
19 | CFBundlePackageType
20 | APPL
21 | CFBundleShortVersionString
22 | 1.0
23 | CFBundleSignature
24 | ????
25 | CFBundleVersion
26 | 1
27 | LSRequiresIPhoneOS
28 |
29 | UILaunchStoryboardName
30 | LaunchScreen
31 | UIMainStoryboardFile
32 | Main
33 | UIRequiredDeviceCapabilities
34 |
35 | armv7
36 |
37 | UISupportedInterfaceOrientations
38 |
39 | UIInterfaceOrientationPortrait
40 | UIInterfaceOrientationLandscapeLeft
41 | UIInterfaceOrientationLandscapeRight
42 |
43 |
44 |
45 |
--------------------------------------------------------------------------------
/IconFont/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 |
--------------------------------------------------------------------------------
/IconFont/AppDelegate.m:
--------------------------------------------------------------------------------
1 | //
2 | // AppDelegate.m
3 | // IconFont
4 | //
5 | // Created by Ariel on 15/7/22.
6 | // Copyright (c) 2015年 李雪松. All rights reserved.
7 | //
8 |
9 | #import "AppDelegate.h"
10 |
11 | @interface AppDelegate ()
12 |
13 | @end
14 |
15 | @implementation AppDelegate
16 |
17 |
18 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
19 | // Override point for customization after application launch.
20 | return YES;
21 | }
22 |
23 | - (void)applicationWillResignActive:(UIApplication *)application {
24 | // 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.
25 | // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.
26 | }
27 |
28 | - (void)applicationDidEnterBackground:(UIApplication *)application {
29 | // 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.
30 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
31 | }
32 |
33 | - (void)applicationWillEnterForeground:(UIApplication *)application {
34 | // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.
35 | }
36 |
37 | - (void)applicationDidBecomeActive:(UIApplication *)application {
38 | // 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.
39 | }
40 |
41 | - (void)applicationWillTerminate:(UIApplication *)application {
42 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
43 | }
44 |
45 | @end
46 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # IconFont 文字图标
2 | 你说什么?这玩意有什么用?
3 |
4 | 如果你的公司连美工都没有!(真的有这样的公司!) 如果你是自己写一些app玩、
5 |
6 | 或者如果你的项目中图片过多,恰好又支持夜间模式,那么仅仅是一个按钮,你可能会需要如下 8 套图
7 |
8 | 日间模式: @2x一张、@3x一张、normal一张、selected 或者 highlighted一张、
9 |
10 | 夜间模式: @2x一张、@3x一张、normal一张、selected 或者 highlighted一张、
11 |
12 | 因此共计8张图片...
13 |
14 | 当项目比较复杂,界面元素比较多!到处使用图片,即便是压缩图片,你的资源包依旧很大...
15 |
16 | 那么!你可以试试这个方法!兴许你会喜欢上它!
17 |
18 | 一些简单的按钮、Logo、等图标、从此告别图片。(项目做完,你会发现资源包会比以前小很多哦~)
19 |
20 | 并且你想要多大就可以多大,不需要@2x、@3x等图片来适配..
21 |
22 | UIbutton、UILabel 等 均可使用!
23 |
24 |
25 | ### 说多都是废话,看图便知
26 | 
27 |
28 | ## 使用用法超级简单!请看下面!
29 | 
30 |
31 | * 第1步:
32 | 打开 [图标字体库1](http://www.iconfont.cn/collections/index?spm=a313x.7781069.1998910419.5&type=2)
33 | 或者
34 | [图标字体库2](http://www.iconfont.cn/repositories/)
35 | [图标字体库3](http://www.fontello.com/)
36 | 海量的图标,会有你所用到的!
37 | (如果没有你需要的,你还可以使用自定义的图标、比如你公司的logo等、都是可以的哦~)
38 |
39 | 找到自己需要的图标,然后依次加入下载列表,点击右上角的 Download webFont 下载字体。
40 |
41 | 还可以做自己的svg来生成相对应的字体!(这里先不用这种方法)
42 |
43 | 下载完成后,找到font文件夹中的字体、iOS是支持ttf格式的字体、这里使用ttf格式的。
44 |
45 | * 第2步 将其字体导入你的项目中!还是看图吧!
46 |
47 | 
48 | * 第3步:在 info.plist 中配置字体 没什么好说的,看图2吧!
49 | 
50 | ![(图3)]
51 | * 第4步:Create a UIButton Category
52 | 创建一个UIButton 的分类 添加一个设置字体大小的方法
53 | ```objc
54 | // .h中
55 | - (void)setTitleFontSize:(CGFloat)size;
56 |
57 | // .m中
58 | - (void)setTitleFontSize:(CGFloat)size {
59 | self.titleLabel.font = [UIFont fontWithName:iconFontName size:size];
60 | }
61 | ```
62 |
63 | * 看图!
64 |
65 | 
66 |
67 |
68 | #### Let's Go
69 | ```objc
70 | UIButton *setupBtn = [[UIButton alloc] init];
71 | setupBtn.frame = CGRectMake(50, 100, 44, 44);
72 | setupBtn.backgroundColor = [UIColor clearColor];
73 | // 按钮文字的大需用此方法设置。内部设置了字体
74 | [setupBtn setTitleFontSize:30];
75 | [setupBtn setTitleColor:UIColorFromRGB(62, 68, 79) forState:UIControlStateNormal];
76 | [setupBtn setTitle:setupFont forState:UIControlStateNormal];
77 | [setupBtn setTitleColor:UIColorFromRGB(248, 55, 10) forState:UIControlStateSelected];
78 | [setupBtn addTarget:self action:@selector(setupBtnClick:) forControlEvents:UIControlEventTouchUpInside];
79 | [self.view addSubview:_setupBtn];
80 | ```
81 | Command + R 大功告成!
82 |
83 |
84 |
85 | #### 联系方式
86 | Q Q:1363852560
87 | Mail:1363852560@qq.com
88 |
--------------------------------------------------------------------------------
/IconFont/Base.lproj/LaunchScreen.xib:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
20 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
--------------------------------------------------------------------------------
/IconFont/ViewController.m:
--------------------------------------------------------------------------------
1 | //
2 | // ViewController.m
3 | // IconFont
4 | //
5 | // Created by Ariel on 15/7/22.
6 | // Copyright (c) 2015年 李雪松. All rights reserved.
7 | //
8 |
9 | #ifdef DEBUG
10 | #define XSLog(...) NSLog(__VA_ARGS__)
11 | #else
12 | #define XSLog(...)
13 | #endif
14 |
15 | //#define IOS7 ([[[[UIDevice currentDevice]systemVersion]substringToIndex:1] doubleValue]>=7)
16 | //
17 | #define APP_SCREEN_BOUNDS [[UIScreen mainScreen] bounds]
18 | //#define APP_SCREEN_HEIGHT (APP_SCREEN_BOUNDS.size.height)
19 | #define APP_CONTENT_WIDTH (APP_SCREEN_BOUNDS.size.width)
20 | //#define APP_STATUS_FRAME [UIApplication sharedApplication].statusBarFrame
21 | //#define APP_CONTENT_HEIGHT (IOS7?(APP_SCREEN_BOUNDS.size.height):(APP_SCREEN_BOUNDS.size.height-APP_STATUS_FRAME.size.height))
22 |
23 | //RGB 三个参数数值相同
24 | #define UIColorFromSameRGB(r) \
25 | [UIColor colorWithRed:(r)/255.0f green:(r)/255.0f blue:(r)/255.0f alpha:1]
26 |
27 | //RGB 三个参数数值相同带alpha
28 | #define UIColorFromSameRGBA(r,a) \
29 | [UIColor colorWithRed:(r)/255.0f green:(r)/255.0f blue:(r)/255.0f alpha:(a)]
30 |
31 | //RGB 三个参数数值不相同
32 | #define UIColorFromRGB(r,g,b) \
33 | [UIColor colorWithRed:(r)/255.0f green:(g)/255.0f blue:(b)/255.0f alpha:1]
34 |
35 | //RGB 三个参数数值不相同带alpha
36 | #define UIColorFromRGBA(r,g,b,a) \
37 | [UIColor colorWithRed:(r)/255.0f green:(g)/255.0f blue:(b)/255.0f alpha:(a)]
38 |
39 |
40 |
41 |
42 | #import "ViewController.h"
43 | #import "FontCodes.h"
44 | #import "UIButton+XS.h"
45 |
46 | @interface ViewController ()
47 | {
48 | UIButton *_setupBtn;
49 | UILabel *_label3;
50 | UILabel *_label2;
51 | }
52 | @end
53 |
54 | @implementation ViewController
55 |
56 | - (void)viewDidLoad {
57 | [super viewDidLoad];
58 |
59 | self.view.backgroundColor = UIColorFromRGB(187,210,198);
60 |
61 | UIButton *setupBtn = [[UIButton alloc] init];
62 | setupBtn.frame = CGRectMake(50, 100, 44, 44);
63 | setupBtn.backgroundColor = [UIColor clearColor];
64 | [setupBtn setTitleFontSize:30]; // 按钮文字的大需用此方法设置。内部设置了字体
65 | [setupBtn setTitleColor:UIColorFromRGB(62, 68, 79) forState:UIControlStateNormal];
66 | [setupBtn setTitle:setupFont forState:UIControlStateNormal];
67 | [setupBtn setTitleColor:UIColorFromRGB(248, 55, 10) forState:UIControlStateSelected];
68 | [setupBtn addTarget:self action:@selector(setupBtnClick:) forControlEvents:UIControlEventTouchUpInside];
69 | _setupBtn = setupBtn;
70 | [self.view addSubview:_setupBtn];
71 |
72 | UILabel *label = [[UILabel alloc] init];
73 | label.frame = CGRectMake(APP_CONTENT_WIDTH-150, 300, 44, 44);
74 | label.backgroundColor = [UIColor clearColor];
75 | label.font = [UIFont fontWithName:@"iconfonts" size:30];
76 | label.text = videoFont;
77 | [self.view addSubview:label];
78 |
79 | UILabel *label2 = [[UILabel alloc] init];
80 | label2.frame = CGRectMake(50, 200, APP_CONTENT_WIDTH, 44);
81 | label2.backgroundColor = [UIColor clearColor];
82 | label2.textColor = [UIColor grayColor];
83 | label2.font = [UIFont fontWithName:@"iconfonts" size:30];
84 | label2.text = [NSString stringWithFormat:@"%@ %@ %@", personFont, githubIconFont, weChatFriendFont];
85 | _label2 = label2;
86 | [self.view addSubview:_label2];
87 |
88 | UILabel *label3 = [[UILabel alloc] init];
89 | label3.hidden = YES;
90 | label3.frame = CGRectMake(50, 250, APP_CONTENT_WIDTH, 44);
91 | label3.backgroundColor = [UIColor clearColor];
92 | label3.text = @"我们都是字体,并非图片哦~";
93 | _label3 = label3;
94 | [self.view addSubview:_label3];
95 |
96 | }
97 |
98 |
99 | - (void)setupBtnClick:(UIButton *)sender {
100 | sender.selected = !sender.selected;
101 | _label3.hidden = !_label3.hidden;
102 | if (_label2.textColor == [UIColor grayColor]) {
103 | _label2.textColor = [UIColor blackColor];
104 | }else {
105 | _label2.textColor = [UIColor grayColor];
106 | }
107 |
108 | XSLog(@"setupBtnClick!");
109 | }
110 |
111 | @end
112 |
--------------------------------------------------------------------------------
/IconFont.xcodeproj/xcuserdata/Ariel.xcuserdatad/xcschemes/IconFont.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
29 |
35 |
36 |
37 |
38 |
39 |
44 |
45 |
47 |
53 |
54 |
55 |
56 |
57 |
63 |
64 |
65 |
66 |
75 |
77 |
83 |
84 |
85 |
86 |
87 |
88 |
94 |
96 |
102 |
103 |
104 |
105 |
107 |
108 |
111 |
112 |
113 |
--------------------------------------------------------------------------------
/IconFont.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 46;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | B078A8371B5F396800BE50B0 /* FontCodes.m in Sources */ = {isa = PBXBuildFile; fileRef = B078A8361B5F396800BE50B0 /* FontCodes.m */; };
11 | B078A8391B5F44C100BE50B0 /* iconfonts.ttf in Resources */ = {isa = PBXBuildFile; fileRef = B078A8381B5F44C100BE50B0 /* iconfonts.ttf */; };
12 | B078A83C1B5F4BC900BE50B0 /* UIButton+XS.m in Sources */ = {isa = PBXBuildFile; fileRef = B078A83B1B5F4BC900BE50B0 /* UIButton+XS.m */; };
13 | B0D6AAE61B5F282A007E0FA9 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = B0D6AAE51B5F282A007E0FA9 /* main.m */; };
14 | B0D6AAE91B5F282A007E0FA9 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = B0D6AAE81B5F282A007E0FA9 /* AppDelegate.m */; };
15 | B0D6AAEC1B5F282A007E0FA9 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = B0D6AAEB1B5F282A007E0FA9 /* ViewController.m */; };
16 | B0D6AAEF1B5F282A007E0FA9 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = B0D6AAED1B5F282A007E0FA9 /* Main.storyboard */; };
17 | B0D6AAF11B5F282A007E0FA9 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = B0D6AAF01B5F282A007E0FA9 /* Images.xcassets */; };
18 | B0D6AAF41B5F282A007E0FA9 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = B0D6AAF21B5F282A007E0FA9 /* LaunchScreen.xib */; };
19 | B0D6AB001B5F282A007E0FA9 /* IconFontTests.m in Sources */ = {isa = PBXBuildFile; fileRef = B0D6AAFF1B5F282A007E0FA9 /* IconFontTests.m */; };
20 | /* End PBXBuildFile section */
21 |
22 | /* Begin PBXContainerItemProxy section */
23 | B0D6AAFA1B5F282A007E0FA9 /* PBXContainerItemProxy */ = {
24 | isa = PBXContainerItemProxy;
25 | containerPortal = B0D6AAD81B5F282A007E0FA9 /* Project object */;
26 | proxyType = 1;
27 | remoteGlobalIDString = B0D6AADF1B5F282A007E0FA9;
28 | remoteInfo = IconFont;
29 | };
30 | /* End PBXContainerItemProxy section */
31 |
32 | /* Begin PBXFileReference section */
33 | B078A8351B5F396800BE50B0 /* FontCodes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FontCodes.h; sourceTree = ""; };
34 | B078A8361B5F396800BE50B0 /* FontCodes.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = FontCodes.m; sourceTree = ""; };
35 | B078A8381B5F44C100BE50B0 /* iconfonts.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; path = iconfonts.ttf; sourceTree = ""; };
36 | B078A83A1B5F4BC900BE50B0 /* UIButton+XS.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIButton+XS.h"; sourceTree = ""; };
37 | B078A83B1B5F4BC900BE50B0 /* UIButton+XS.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIButton+XS.m"; sourceTree = ""; };
38 | B0D6AAE01B5F282A007E0FA9 /* IconFont.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = IconFont.app; sourceTree = BUILT_PRODUCTS_DIR; };
39 | B0D6AAE41B5F282A007E0FA9 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
40 | B0D6AAE51B5F282A007E0FA9 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; };
41 | B0D6AAE71B5F282A007E0FA9 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; };
42 | B0D6AAE81B5F282A007E0FA9 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; };
43 | B0D6AAEA1B5F282A007E0FA9 /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; };
44 | B0D6AAEB1B5F282A007E0FA9 /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; };
45 | B0D6AAEE1B5F282A007E0FA9 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
46 | B0D6AAF01B5F282A007E0FA9 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; };
47 | B0D6AAF31B5F282A007E0FA9 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; };
48 | B0D6AAF91B5F282A007E0FA9 /* IconFontTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = IconFontTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
49 | B0D6AAFE1B5F282A007E0FA9 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
50 | B0D6AAFF1B5F282A007E0FA9 /* IconFontTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = IconFontTests.m; sourceTree = ""; };
51 | /* End PBXFileReference section */
52 |
53 | /* Begin PBXFrameworksBuildPhase section */
54 | B0D6AADD1B5F282A007E0FA9 /* Frameworks */ = {
55 | isa = PBXFrameworksBuildPhase;
56 | buildActionMask = 2147483647;
57 | files = (
58 | );
59 | runOnlyForDeploymentPostprocessing = 0;
60 | };
61 | B0D6AAF61B5F282A007E0FA9 /* Frameworks */ = {
62 | isa = PBXFrameworksBuildPhase;
63 | buildActionMask = 2147483647;
64 | files = (
65 | );
66 | runOnlyForDeploymentPostprocessing = 0;
67 | };
68 | /* End PBXFrameworksBuildPhase section */
69 |
70 | /* Begin PBXGroup section */
71 | B0D6AAD71B5F282A007E0FA9 = {
72 | isa = PBXGroup;
73 | children = (
74 | B0D6AAE21B5F282A007E0FA9 /* IconFont */,
75 | B0D6AAFC1B5F282A007E0FA9 /* IconFontTests */,
76 | B0D6AAE11B5F282A007E0FA9 /* Products */,
77 | );
78 | sourceTree = "";
79 | };
80 | B0D6AAE11B5F282A007E0FA9 /* Products */ = {
81 | isa = PBXGroup;
82 | children = (
83 | B0D6AAE01B5F282A007E0FA9 /* IconFont.app */,
84 | B0D6AAF91B5F282A007E0FA9 /* IconFontTests.xctest */,
85 | );
86 | name = Products;
87 | sourceTree = "";
88 | };
89 | B0D6AAE21B5F282A007E0FA9 /* IconFont */ = {
90 | isa = PBXGroup;
91 | children = (
92 | B078A8351B5F396800BE50B0 /* FontCodes.h */,
93 | B078A8361B5F396800BE50B0 /* FontCodes.m */,
94 | B0D6AAE71B5F282A007E0FA9 /* AppDelegate.h */,
95 | B0D6AAE81B5F282A007E0FA9 /* AppDelegate.m */,
96 | B0D6AAEA1B5F282A007E0FA9 /* ViewController.h */,
97 | B0D6AAEB1B5F282A007E0FA9 /* ViewController.m */,
98 | B0D6AAED1B5F282A007E0FA9 /* Main.storyboard */,
99 | B0D6AAF01B5F282A007E0FA9 /* Images.xcassets */,
100 | B0D6AAF21B5F282A007E0FA9 /* LaunchScreen.xib */,
101 | B0D6AAE31B5F282A007E0FA9 /* Supporting Files */,
102 | B078A83A1B5F4BC900BE50B0 /* UIButton+XS.h */,
103 | B078A83B1B5F4BC900BE50B0 /* UIButton+XS.m */,
104 | );
105 | path = IconFont;
106 | sourceTree = "";
107 | };
108 | B0D6AAE31B5F282A007E0FA9 /* Supporting Files */ = {
109 | isa = PBXGroup;
110 | children = (
111 | B078A8381B5F44C100BE50B0 /* iconfonts.ttf */,
112 | B0D6AAE41B5F282A007E0FA9 /* Info.plist */,
113 | B0D6AAE51B5F282A007E0FA9 /* main.m */,
114 | );
115 | name = "Supporting Files";
116 | sourceTree = "";
117 | };
118 | B0D6AAFC1B5F282A007E0FA9 /* IconFontTests */ = {
119 | isa = PBXGroup;
120 | children = (
121 | B0D6AAFF1B5F282A007E0FA9 /* IconFontTests.m */,
122 | B0D6AAFD1B5F282A007E0FA9 /* Supporting Files */,
123 | );
124 | path = IconFontTests;
125 | sourceTree = "";
126 | };
127 | B0D6AAFD1B5F282A007E0FA9 /* Supporting Files */ = {
128 | isa = PBXGroup;
129 | children = (
130 | B0D6AAFE1B5F282A007E0FA9 /* Info.plist */,
131 | );
132 | name = "Supporting Files";
133 | sourceTree = "";
134 | };
135 | /* End PBXGroup section */
136 |
137 | /* Begin PBXNativeTarget section */
138 | B0D6AADF1B5F282A007E0FA9 /* IconFont */ = {
139 | isa = PBXNativeTarget;
140 | buildConfigurationList = B0D6AB031B5F282A007E0FA9 /* Build configuration list for PBXNativeTarget "IconFont" */;
141 | buildPhases = (
142 | B0D6AADC1B5F282A007E0FA9 /* Sources */,
143 | B0D6AADD1B5F282A007E0FA9 /* Frameworks */,
144 | B0D6AADE1B5F282A007E0FA9 /* Resources */,
145 | );
146 | buildRules = (
147 | );
148 | dependencies = (
149 | );
150 | name = IconFont;
151 | productName = IconFont;
152 | productReference = B0D6AAE01B5F282A007E0FA9 /* IconFont.app */;
153 | productType = "com.apple.product-type.application";
154 | };
155 | B0D6AAF81B5F282A007E0FA9 /* IconFontTests */ = {
156 | isa = PBXNativeTarget;
157 | buildConfigurationList = B0D6AB061B5F282A007E0FA9 /* Build configuration list for PBXNativeTarget "IconFontTests" */;
158 | buildPhases = (
159 | B0D6AAF51B5F282A007E0FA9 /* Sources */,
160 | B0D6AAF61B5F282A007E0FA9 /* Frameworks */,
161 | B0D6AAF71B5F282A007E0FA9 /* Resources */,
162 | );
163 | buildRules = (
164 | );
165 | dependencies = (
166 | B0D6AAFB1B5F282A007E0FA9 /* PBXTargetDependency */,
167 | );
168 | name = IconFontTests;
169 | productName = IconFontTests;
170 | productReference = B0D6AAF91B5F282A007E0FA9 /* IconFontTests.xctest */;
171 | productType = "com.apple.product-type.bundle.unit-test";
172 | };
173 | /* End PBXNativeTarget section */
174 |
175 | /* Begin PBXProject section */
176 | B0D6AAD81B5F282A007E0FA9 /* Project object */ = {
177 | isa = PBXProject;
178 | attributes = {
179 | LastUpgradeCheck = 0640;
180 | ORGANIZATIONNAME = "李雪松";
181 | TargetAttributes = {
182 | B0D6AADF1B5F282A007E0FA9 = {
183 | CreatedOnToolsVersion = 6.4;
184 | };
185 | B0D6AAF81B5F282A007E0FA9 = {
186 | CreatedOnToolsVersion = 6.4;
187 | TestTargetID = B0D6AADF1B5F282A007E0FA9;
188 | };
189 | };
190 | };
191 | buildConfigurationList = B0D6AADB1B5F282A007E0FA9 /* Build configuration list for PBXProject "IconFont" */;
192 | compatibilityVersion = "Xcode 3.2";
193 | developmentRegion = English;
194 | hasScannedForEncodings = 0;
195 | knownRegions = (
196 | en,
197 | Base,
198 | );
199 | mainGroup = B0D6AAD71B5F282A007E0FA9;
200 | productRefGroup = B0D6AAE11B5F282A007E0FA9 /* Products */;
201 | projectDirPath = "";
202 | projectRoot = "";
203 | targets = (
204 | B0D6AADF1B5F282A007E0FA9 /* IconFont */,
205 | B0D6AAF81B5F282A007E0FA9 /* IconFontTests */,
206 | );
207 | };
208 | /* End PBXProject section */
209 |
210 | /* Begin PBXResourcesBuildPhase section */
211 | B0D6AADE1B5F282A007E0FA9 /* Resources */ = {
212 | isa = PBXResourcesBuildPhase;
213 | buildActionMask = 2147483647;
214 | files = (
215 | B078A8391B5F44C100BE50B0 /* iconfonts.ttf in Resources */,
216 | B0D6AAEF1B5F282A007E0FA9 /* Main.storyboard in Resources */,
217 | B0D6AAF41B5F282A007E0FA9 /* LaunchScreen.xib in Resources */,
218 | B0D6AAF11B5F282A007E0FA9 /* Images.xcassets in Resources */,
219 | );
220 | runOnlyForDeploymentPostprocessing = 0;
221 | };
222 | B0D6AAF71B5F282A007E0FA9 /* Resources */ = {
223 | isa = PBXResourcesBuildPhase;
224 | buildActionMask = 2147483647;
225 | files = (
226 | );
227 | runOnlyForDeploymentPostprocessing = 0;
228 | };
229 | /* End PBXResourcesBuildPhase section */
230 |
231 | /* Begin PBXSourcesBuildPhase section */
232 | B0D6AADC1B5F282A007E0FA9 /* Sources */ = {
233 | isa = PBXSourcesBuildPhase;
234 | buildActionMask = 2147483647;
235 | files = (
236 | B0D6AAEC1B5F282A007E0FA9 /* ViewController.m in Sources */,
237 | B0D6AAE91B5F282A007E0FA9 /* AppDelegate.m in Sources */,
238 | B0D6AAE61B5F282A007E0FA9 /* main.m in Sources */,
239 | B078A8371B5F396800BE50B0 /* FontCodes.m in Sources */,
240 | B078A83C1B5F4BC900BE50B0 /* UIButton+XS.m in Sources */,
241 | );
242 | runOnlyForDeploymentPostprocessing = 0;
243 | };
244 | B0D6AAF51B5F282A007E0FA9 /* Sources */ = {
245 | isa = PBXSourcesBuildPhase;
246 | buildActionMask = 2147483647;
247 | files = (
248 | B0D6AB001B5F282A007E0FA9 /* IconFontTests.m in Sources */,
249 | );
250 | runOnlyForDeploymentPostprocessing = 0;
251 | };
252 | /* End PBXSourcesBuildPhase section */
253 |
254 | /* Begin PBXTargetDependency section */
255 | B0D6AAFB1B5F282A007E0FA9 /* PBXTargetDependency */ = {
256 | isa = PBXTargetDependency;
257 | target = B0D6AADF1B5F282A007E0FA9 /* IconFont */;
258 | targetProxy = B0D6AAFA1B5F282A007E0FA9 /* PBXContainerItemProxy */;
259 | };
260 | /* End PBXTargetDependency section */
261 |
262 | /* Begin PBXVariantGroup section */
263 | B0D6AAED1B5F282A007E0FA9 /* Main.storyboard */ = {
264 | isa = PBXVariantGroup;
265 | children = (
266 | B0D6AAEE1B5F282A007E0FA9 /* Base */,
267 | );
268 | name = Main.storyboard;
269 | sourceTree = "";
270 | };
271 | B0D6AAF21B5F282A007E0FA9 /* LaunchScreen.xib */ = {
272 | isa = PBXVariantGroup;
273 | children = (
274 | B0D6AAF31B5F282A007E0FA9 /* Base */,
275 | );
276 | name = LaunchScreen.xib;
277 | sourceTree = "";
278 | };
279 | /* End PBXVariantGroup section */
280 |
281 | /* Begin XCBuildConfiguration section */
282 | B0D6AB011B5F282A007E0FA9 /* Debug */ = {
283 | isa = XCBuildConfiguration;
284 | buildSettings = {
285 | ALWAYS_SEARCH_USER_PATHS = NO;
286 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
287 | CLANG_CXX_LIBRARY = "libc++";
288 | CLANG_ENABLE_MODULES = YES;
289 | CLANG_ENABLE_OBJC_ARC = YES;
290 | CLANG_WARN_BOOL_CONVERSION = YES;
291 | CLANG_WARN_CONSTANT_CONVERSION = YES;
292 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
293 | CLANG_WARN_EMPTY_BODY = YES;
294 | CLANG_WARN_ENUM_CONVERSION = YES;
295 | CLANG_WARN_INT_CONVERSION = YES;
296 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
297 | CLANG_WARN_UNREACHABLE_CODE = YES;
298 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
299 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
300 | COPY_PHASE_STRIP = NO;
301 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
302 | ENABLE_STRICT_OBJC_MSGSEND = YES;
303 | GCC_C_LANGUAGE_STANDARD = gnu99;
304 | GCC_DYNAMIC_NO_PIC = NO;
305 | GCC_NO_COMMON_BLOCKS = YES;
306 | GCC_OPTIMIZATION_LEVEL = 0;
307 | GCC_PREPROCESSOR_DEFINITIONS = (
308 | "DEBUG=1",
309 | "$(inherited)",
310 | );
311 | GCC_SYMBOLS_PRIVATE_EXTERN = NO;
312 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
313 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
314 | GCC_WARN_UNDECLARED_SELECTOR = YES;
315 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
316 | GCC_WARN_UNUSED_FUNCTION = YES;
317 | GCC_WARN_UNUSED_VARIABLE = YES;
318 | IPHONEOS_DEPLOYMENT_TARGET = 8.4;
319 | MTL_ENABLE_DEBUG_INFO = YES;
320 | ONLY_ACTIVE_ARCH = YES;
321 | SDKROOT = iphoneos;
322 | };
323 | name = Debug;
324 | };
325 | B0D6AB021B5F282A007E0FA9 /* Release */ = {
326 | isa = XCBuildConfiguration;
327 | buildSettings = {
328 | ALWAYS_SEARCH_USER_PATHS = NO;
329 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
330 | CLANG_CXX_LIBRARY = "libc++";
331 | CLANG_ENABLE_MODULES = YES;
332 | CLANG_ENABLE_OBJC_ARC = YES;
333 | CLANG_WARN_BOOL_CONVERSION = YES;
334 | CLANG_WARN_CONSTANT_CONVERSION = YES;
335 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
336 | CLANG_WARN_EMPTY_BODY = YES;
337 | CLANG_WARN_ENUM_CONVERSION = YES;
338 | CLANG_WARN_INT_CONVERSION = YES;
339 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
340 | CLANG_WARN_UNREACHABLE_CODE = YES;
341 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
342 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
343 | COPY_PHASE_STRIP = NO;
344 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
345 | ENABLE_NS_ASSERTIONS = NO;
346 | ENABLE_STRICT_OBJC_MSGSEND = YES;
347 | GCC_C_LANGUAGE_STANDARD = gnu99;
348 | GCC_NO_COMMON_BLOCKS = YES;
349 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
350 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
351 | GCC_WARN_UNDECLARED_SELECTOR = YES;
352 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
353 | GCC_WARN_UNUSED_FUNCTION = YES;
354 | GCC_WARN_UNUSED_VARIABLE = YES;
355 | IPHONEOS_DEPLOYMENT_TARGET = 8.4;
356 | MTL_ENABLE_DEBUG_INFO = NO;
357 | SDKROOT = iphoneos;
358 | VALIDATE_PRODUCT = YES;
359 | };
360 | name = Release;
361 | };
362 | B0D6AB041B5F282A007E0FA9 /* Debug */ = {
363 | isa = XCBuildConfiguration;
364 | buildSettings = {
365 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
366 | INFOPLIST_FILE = IconFont/Info.plist;
367 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
368 | PRODUCT_NAME = "$(TARGET_NAME)";
369 | };
370 | name = Debug;
371 | };
372 | B0D6AB051B5F282A007E0FA9 /* Release */ = {
373 | isa = XCBuildConfiguration;
374 | buildSettings = {
375 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
376 | INFOPLIST_FILE = IconFont/Info.plist;
377 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
378 | PRODUCT_NAME = "$(TARGET_NAME)";
379 | };
380 | name = Release;
381 | };
382 | B0D6AB071B5F282A007E0FA9 /* Debug */ = {
383 | isa = XCBuildConfiguration;
384 | buildSettings = {
385 | BUNDLE_LOADER = "$(TEST_HOST)";
386 | FRAMEWORK_SEARCH_PATHS = (
387 | "$(SDKROOT)/Developer/Library/Frameworks",
388 | "$(inherited)",
389 | );
390 | GCC_PREPROCESSOR_DEFINITIONS = (
391 | "DEBUG=1",
392 | "$(inherited)",
393 | );
394 | INFOPLIST_FILE = IconFontTests/Info.plist;
395 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
396 | PRODUCT_NAME = "$(TARGET_NAME)";
397 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/IconFont.app/IconFont";
398 | };
399 | name = Debug;
400 | };
401 | B0D6AB081B5F282A007E0FA9 /* Release */ = {
402 | isa = XCBuildConfiguration;
403 | buildSettings = {
404 | BUNDLE_LOADER = "$(TEST_HOST)";
405 | FRAMEWORK_SEARCH_PATHS = (
406 | "$(SDKROOT)/Developer/Library/Frameworks",
407 | "$(inherited)",
408 | );
409 | INFOPLIST_FILE = IconFontTests/Info.plist;
410 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
411 | PRODUCT_NAME = "$(TARGET_NAME)";
412 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/IconFont.app/IconFont";
413 | };
414 | name = Release;
415 | };
416 | /* End XCBuildConfiguration section */
417 |
418 | /* Begin XCConfigurationList section */
419 | B0D6AADB1B5F282A007E0FA9 /* Build configuration list for PBXProject "IconFont" */ = {
420 | isa = XCConfigurationList;
421 | buildConfigurations = (
422 | B0D6AB011B5F282A007E0FA9 /* Debug */,
423 | B0D6AB021B5F282A007E0FA9 /* Release */,
424 | );
425 | defaultConfigurationIsVisible = 0;
426 | defaultConfigurationName = Release;
427 | };
428 | B0D6AB031B5F282A007E0FA9 /* Build configuration list for PBXNativeTarget "IconFont" */ = {
429 | isa = XCConfigurationList;
430 | buildConfigurations = (
431 | B0D6AB041B5F282A007E0FA9 /* Debug */,
432 | B0D6AB051B5F282A007E0FA9 /* Release */,
433 | );
434 | defaultConfigurationIsVisible = 0;
435 | defaultConfigurationName = Release;
436 | };
437 | B0D6AB061B5F282A007E0FA9 /* Build configuration list for PBXNativeTarget "IconFontTests" */ = {
438 | isa = XCConfigurationList;
439 | buildConfigurations = (
440 | B0D6AB071B5F282A007E0FA9 /* Debug */,
441 | B0D6AB081B5F282A007E0FA9 /* Release */,
442 | );
443 | defaultConfigurationIsVisible = 0;
444 | defaultConfigurationName = Release;
445 | };
446 | /* End XCConfigurationList section */
447 | };
448 | rootObject = B0D6AAD81B5F282A007E0FA9 /* Project object */;
449 | }
450 |
--------------------------------------------------------------------------------