From 32c2b390c94ac4169137edc6f019e99f4ca6a362 Mon Sep 17 00:00:00 2001 From: huangyibiao Date: Tue, 29 Dec 2015 19:32:02 +0800 Subject: [PATCH] add project --- Podfile | 2 + Podfile.lock | 10 + .../NSArray+HYBUnicodeReadable.h | 23 + .../NSArray+HYBUnicodeReadable.m | 45 ++ .../NSDictionary+HYBUnicodeReadable.h | 23 + .../NSDictionary+HYBUnicodeReadable.m | 48 ++ .../NSSet+HYBUnicodeReadable.h | 23 + .../NSSet+HYBUnicodeReadable.m | 45 ++ Pods/HYBUnicodeReadable/LICENSE | 22 + Pods/HYBUnicodeReadable/README.md | 35 + .../NSArray+HYBUnicodeReadable.h | 1 + .../NSDictionary+HYBUnicodeReadable.h | 1 + .../NSSet+HYBUnicodeReadable.h | 1 + .../NSArray+HYBUnicodeReadable.h | 1 + .../NSDictionary+HYBUnicodeReadable.h | 1 + .../NSSet+HYBUnicodeReadable.h | 1 + Pods/Manifest.lock | 10 + Pods/Pods.xcodeproj/project.pbxproj | 452 +++++++++++++ .../xcschemes/HYBUnicodeReadable.xcscheme | 60 ++ .../xcschemes/Pods.xcscheme | 60 ++ .../xcschemes/xcschememanagement.plist | 32 + .../HYBUnicodeReadable-dummy.m | 5 + .../HYBUnicodeReadable-prefix.pch | 4 + .../HYBUnicodeReadable.xcconfig | 4 + .../Pods/Pods-acknowledgements.markdown | 29 + .../Pods/Pods-acknowledgements.plist | 59 ++ Pods/Target Support Files/Pods/Pods-dummy.m | 5 + .../Pods/Pods-frameworks.sh | 84 +++ .../Pods/Pods-resources.sh | 95 +++ .../Pods/Pods.debug.xcconfig | 5 + .../Pods/Pods.release.xcconfig | 5 + README.md | 22 + RuntimeDemo.xcodeproj/project.pbxproj | 627 ++++++++++++++++++ .../contents.xcworkspacedata | 7 + .../UserInterfaceState.xcuserstate | Bin 0 -> 28488 bytes .../xcdebugger/Breakpoints_v2.xcbkptlist | 5 + .../xcschemes/RuntimeDemo.xcscheme | 116 ++++ .../xcschemes/xcschememanagement.plist | 32 + .../contents.xcworkspacedata | 10 + .../UserInterfaceState.xcuserstate | Bin 0 -> 13856 bytes .../xcdebugger/Breakpoints_v2.xcbkptlist | 5 + RuntimeDemo/AppDelegate.h | 17 + RuntimeDemo/AppDelegate.m | 45 ++ .../AppIcon.appiconset/Contents.json | 38 ++ .../Base.lproj/LaunchScreen.storyboard | 27 + RuntimeDemo/Base.lproj/Main.storyboard | 26 + RuntimeDemo/HYBTestModel.h | 42 ++ RuntimeDemo/HYBTestModel.m | 172 +++++ RuntimeDemo/Info.plist | 40 ++ RuntimeDemo/UIControl+HYBBlock.h | 17 + RuntimeDemo/UIControl+HYBBlock.m | 45 ++ RuntimeDemo/ViewController.h | 15 + RuntimeDemo/ViewController.m | 34 + RuntimeDemo/main.m | 16 + RuntimeDemoTests/Info.plist | 24 + RuntimeDemoTests/RuntimeDemoTests.m | 39 ++ RuntimeDemoUITests/Info.plist | 24 + RuntimeDemoUITests/RuntimeDemoUITests.m | 40 ++ 58 files changed, 2676 insertions(+) create mode 100644 Podfile create mode 100644 Podfile.lock create mode 100644 Pods/HYBUnicodeReadable/HYBUnicodeReadable/NSArray+HYBUnicodeReadable.h create mode 100644 Pods/HYBUnicodeReadable/HYBUnicodeReadable/NSArray+HYBUnicodeReadable.m create mode 100644 Pods/HYBUnicodeReadable/HYBUnicodeReadable/NSDictionary+HYBUnicodeReadable.h create mode 100644 Pods/HYBUnicodeReadable/HYBUnicodeReadable/NSDictionary+HYBUnicodeReadable.m create mode 100644 Pods/HYBUnicodeReadable/HYBUnicodeReadable/NSSet+HYBUnicodeReadable.h create mode 100644 Pods/HYBUnicodeReadable/HYBUnicodeReadable/NSSet+HYBUnicodeReadable.m create mode 100644 Pods/HYBUnicodeReadable/LICENSE create mode 100644 Pods/HYBUnicodeReadable/README.md create mode 120000 Pods/Headers/Private/HYBUnicodeReadable/NSArray+HYBUnicodeReadable.h create mode 120000 Pods/Headers/Private/HYBUnicodeReadable/NSDictionary+HYBUnicodeReadable.h create mode 120000 Pods/Headers/Private/HYBUnicodeReadable/NSSet+HYBUnicodeReadable.h create mode 120000 Pods/Headers/Public/HYBUnicodeReadable/NSArray+HYBUnicodeReadable.h create mode 120000 Pods/Headers/Public/HYBUnicodeReadable/NSDictionary+HYBUnicodeReadable.h create mode 120000 Pods/Headers/Public/HYBUnicodeReadable/NSSet+HYBUnicodeReadable.h create mode 100644 Pods/Manifest.lock create mode 100644 Pods/Pods.xcodeproj/project.pbxproj create mode 100644 Pods/Pods.xcodeproj/xcuserdata/huangyibiao.xcuserdatad/xcschemes/HYBUnicodeReadable.xcscheme create mode 100644 Pods/Pods.xcodeproj/xcuserdata/huangyibiao.xcuserdatad/xcschemes/Pods.xcscheme create mode 100644 Pods/Pods.xcodeproj/xcuserdata/huangyibiao.xcuserdatad/xcschemes/xcschememanagement.plist create mode 100644 Pods/Target Support Files/HYBUnicodeReadable/HYBUnicodeReadable-dummy.m create mode 100644 Pods/Target Support Files/HYBUnicodeReadable/HYBUnicodeReadable-prefix.pch create mode 100644 Pods/Target Support Files/HYBUnicodeReadable/HYBUnicodeReadable.xcconfig create mode 100644 Pods/Target Support Files/Pods/Pods-acknowledgements.markdown create mode 100644 Pods/Target Support Files/Pods/Pods-acknowledgements.plist create mode 100644 Pods/Target Support Files/Pods/Pods-dummy.m create mode 100755 Pods/Target Support Files/Pods/Pods-frameworks.sh create mode 100755 Pods/Target Support Files/Pods/Pods-resources.sh create mode 100644 Pods/Target Support Files/Pods/Pods.debug.xcconfig create mode 100644 Pods/Target Support Files/Pods/Pods.release.xcconfig create mode 100644 RuntimeDemo.xcodeproj/project.pbxproj create mode 100644 RuntimeDemo.xcodeproj/project.xcworkspace/contents.xcworkspacedata create mode 100644 RuntimeDemo.xcodeproj/project.xcworkspace/xcuserdata/huangyibiao.xcuserdatad/UserInterfaceState.xcuserstate create mode 100644 RuntimeDemo.xcodeproj/xcuserdata/huangyibiao.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist create mode 100644 RuntimeDemo.xcodeproj/xcuserdata/huangyibiao.xcuserdatad/xcschemes/RuntimeDemo.xcscheme create mode 100644 RuntimeDemo.xcodeproj/xcuserdata/huangyibiao.xcuserdatad/xcschemes/xcschememanagement.plist create mode 100644 RuntimeDemo.xcworkspace/contents.xcworkspacedata create mode 100644 RuntimeDemo.xcworkspace/xcuserdata/huangyibiao.xcuserdatad/UserInterfaceState.xcuserstate create mode 100644 RuntimeDemo.xcworkspace/xcuserdata/huangyibiao.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist create mode 100644 RuntimeDemo/AppDelegate.h create mode 100644 RuntimeDemo/AppDelegate.m create mode 100644 RuntimeDemo/Assets.xcassets/AppIcon.appiconset/Contents.json create mode 100644 RuntimeDemo/Base.lproj/LaunchScreen.storyboard create mode 100644 RuntimeDemo/Base.lproj/Main.storyboard create mode 100644 RuntimeDemo/HYBTestModel.h create mode 100644 RuntimeDemo/HYBTestModel.m create mode 100644 RuntimeDemo/Info.plist create mode 100644 RuntimeDemo/UIControl+HYBBlock.h create mode 100644 RuntimeDemo/UIControl+HYBBlock.m create mode 100644 RuntimeDemo/ViewController.h create mode 100644 RuntimeDemo/ViewController.m create mode 100644 RuntimeDemo/main.m create mode 100644 RuntimeDemoTests/Info.plist create mode 100644 RuntimeDemoTests/RuntimeDemoTests.m create mode 100644 RuntimeDemoUITests/Info.plist create mode 100644 RuntimeDemoUITests/RuntimeDemoUITests.m diff --git a/Podfile b/Podfile new file mode 100644 index 0000000..4f6b2f4 --- /dev/null +++ b/Podfile @@ -0,0 +1,2 @@ + +pod 'HYBUnicodeReadable', '~> 0.0.1' diff --git a/Podfile.lock b/Podfile.lock new file mode 100644 index 0000000..330cb37 --- /dev/null +++ b/Podfile.lock @@ -0,0 +1,10 @@ +PODS: + - HYBUnicodeReadable (0.0.1) + +DEPENDENCIES: + - HYBUnicodeReadable (~> 0.0.1) + +SPEC CHECKSUMS: + HYBUnicodeReadable: 3ba06a721d27f08b9aaee9ae89173ef5d092b9d6 + +COCOAPODS: 0.39.0 diff --git a/Pods/HYBUnicodeReadable/HYBUnicodeReadable/NSArray+HYBUnicodeReadable.h b/Pods/HYBUnicodeReadable/HYBUnicodeReadable/NSArray+HYBUnicodeReadable.h new file mode 100644 index 0000000..8948278 --- /dev/null +++ b/Pods/HYBUnicodeReadable/HYBUnicodeReadable/NSArray+HYBUnicodeReadable.h @@ -0,0 +1,23 @@ +// +// NSArray+HYBUnicodeReadable.h +// demo +// +// Created by huangyibiao on 15/12/29. +// Copyright © 2015年 huangyibiao. All rights reserved. +// + +#import + +/*! + * @author 黄仪标, 16-12-29 10:12:52 + * + * 请不要删除作者信息 + * + * @blog article http://www.henishuo.com/ios-unicode-readable/ + * @github https://github.com/CoderJackyHuang/HYBUnicodeReadable + * @email huangyibiao520@163.com + * @sinaweibo 标哥Jacky + */ +@interface NSArray (HYBUnicodeReadable) + +@end diff --git a/Pods/HYBUnicodeReadable/HYBUnicodeReadable/NSArray+HYBUnicodeReadable.m b/Pods/HYBUnicodeReadable/HYBUnicodeReadable/NSArray+HYBUnicodeReadable.m new file mode 100644 index 0000000..ebac37b --- /dev/null +++ b/Pods/HYBUnicodeReadable/HYBUnicodeReadable/NSArray+HYBUnicodeReadable.m @@ -0,0 +1,45 @@ +// +// NSArray+HYBUnicodeReadable.m +// demo +// +// Created by huangyibiao on 15/12/29. +// Copyright © 2015年 huangyibiao. All rights reserved. +// + +#import "NSArray+HYBUnicodeReadable.h" + +@implementation NSArray (HYBUnicodeReadable) + +- (NSString *)descriptionWithLocale:(id)locale indent:(NSUInteger)level { + NSMutableString *desc = [NSMutableString string]; + + NSMutableString *tabString = [[NSMutableString alloc] initWithCapacity:level]; + for (NSUInteger i = 0; i < level; ++i) { + [tabString appendString:@"\t"]; + } + + NSString *tab = @""; + if (level > 0) { + tab = tabString; + } + [desc appendString:@"\t(\n"]; + + for (id obj in self) { + if ([obj isKindOfClass:[NSDictionary class]] + || [obj isKindOfClass:[NSArray class]] + || [obj isKindOfClass:[NSSet class]]) { + NSString *str = [((NSDictionary *)obj) descriptionWithLocale:locale indent:level + 1]; + [desc appendFormat:@"%@\t%@,\n", tab, str]; + } else if ([obj isKindOfClass:[NSString class]]) { + [desc appendFormat:@"%@\t\"%@\",\n", tab, obj]; + } else { + [desc appendFormat:@"%@\t%@,\n", tab, obj]; + } + } + + [desc appendFormat:@"%@)", tab]; + + return desc; +} + +@end diff --git a/Pods/HYBUnicodeReadable/HYBUnicodeReadable/NSDictionary+HYBUnicodeReadable.h b/Pods/HYBUnicodeReadable/HYBUnicodeReadable/NSDictionary+HYBUnicodeReadable.h new file mode 100644 index 0000000..16b2f4c --- /dev/null +++ b/Pods/HYBUnicodeReadable/HYBUnicodeReadable/NSDictionary+HYBUnicodeReadable.h @@ -0,0 +1,23 @@ +// +// NSDictionary+HYBUnicodeReadable.h +// demo +// +// Created by huangyibiao on 15/12/29. +// Copyright © 2015年 huangyibiao. All rights reserved. +// + +#import + +/*! + * @author 黄仪标, 16-12-29 10:12:52 + * + * 请不要删除作者信息 + * + * @blog article http://www.henishuo.com/ios-unicode-readable/ + * @github https://github.com/CoderJackyHuang/HYBUnicodeReadable + * @email huangyibiao520@163.com + * @sinaweibo 标哥Jacky + */ +@interface NSDictionary (HYBUnicodeReadable) + +@end diff --git a/Pods/HYBUnicodeReadable/HYBUnicodeReadable/NSDictionary+HYBUnicodeReadable.m b/Pods/HYBUnicodeReadable/HYBUnicodeReadable/NSDictionary+HYBUnicodeReadable.m new file mode 100644 index 0000000..d3edcee --- /dev/null +++ b/Pods/HYBUnicodeReadable/HYBUnicodeReadable/NSDictionary+HYBUnicodeReadable.m @@ -0,0 +1,48 @@ +// +// NSDictionary+HYBUnicodeReadable.m +// demo +// +// Created by huangyibiao on 15/12/29. +// Copyright © 2015年 huangyibiao. All rights reserved. +// + +#import "NSDictionary+HYBUnicodeReadable.h" + +@implementation NSDictionary (HYBUnicodeReadable) + +- (NSString *)descriptionWithLocale:(id)locale indent:(NSUInteger)level { + NSMutableString *desc = [NSMutableString string]; + + NSMutableString *tabString = [[NSMutableString alloc] initWithCapacity:level]; + for (NSUInteger i = 0; i < level; ++i) { + [tabString appendString:@"\t"]; + } + + NSString *tab = @""; + if (level > 0) { + tab = tabString; + } + + [desc appendString:@"\t{\n"]; + + // 遍历数组,self就是当前的数组 + for (id key in self.allKeys) { + id obj = [self objectForKey:key]; + + if ([obj isKindOfClass:[NSString class]]) { + [desc appendFormat:@"%@\t%@ = \"%@\",\n", tab, key, obj]; + } else if ([obj isKindOfClass:[NSArray class]] + || [obj isKindOfClass:[NSDictionary class]] + || [obj isKindOfClass:[NSSet class]]) { + [desc appendFormat:@"%@\t%@ = %@,\n", tab, key, [obj descriptionWithLocale:locale indent:level + 1]]; + } else { + [desc appendFormat:@"%@\t%@ = %@,\n", tab, key, obj]; + } + } + + [desc appendFormat:@"%@}", tab]; + + return desc; +} + +@end diff --git a/Pods/HYBUnicodeReadable/HYBUnicodeReadable/NSSet+HYBUnicodeReadable.h b/Pods/HYBUnicodeReadable/HYBUnicodeReadable/NSSet+HYBUnicodeReadable.h new file mode 100644 index 0000000..3c1f539 --- /dev/null +++ b/Pods/HYBUnicodeReadable/HYBUnicodeReadable/NSSet+HYBUnicodeReadable.h @@ -0,0 +1,23 @@ +// +// NSSet+HYBUnicodeReadable.h +// demo +// +// Created by huangyibiao on 15/12/29. +// Copyright © 2015年 huangyibiao. All rights reserved. +// + +#import + +/*! + * @author 黄仪标, 16-12-29 10:12:52 + * + * 请不要删除作者信息 + * + * @blog article http://www.henishuo.com/ios-unicode-readable/ + * @github https://github.com/CoderJackyHuang/HYBUnicodeReadable + * @email huangyibiao520@163.com + * @sinaweibo 标哥Jacky + */ +@interface NSSet (HYBUnicodeReadable) + +@end diff --git a/Pods/HYBUnicodeReadable/HYBUnicodeReadable/NSSet+HYBUnicodeReadable.m b/Pods/HYBUnicodeReadable/HYBUnicodeReadable/NSSet+HYBUnicodeReadable.m new file mode 100644 index 0000000..6855473 --- /dev/null +++ b/Pods/HYBUnicodeReadable/HYBUnicodeReadable/NSSet+HYBUnicodeReadable.m @@ -0,0 +1,45 @@ +// +// NSSet+HYBUnicodeReadable.m +// demo +// +// Created by huangyibiao on 15/12/29. +// Copyright © 2015年 huangyibiao. All rights reserved. +// + +#import "NSSet+HYBUnicodeReadable.h" + +@implementation NSSet (HYBUnicodeReadable) + +- (NSString *)descriptionWithLocale:(id)locale indent:(NSUInteger)level { + NSMutableString *desc = [NSMutableString string]; + + NSMutableString *tabString = [[NSMutableString alloc] initWithCapacity:level]; + for (NSUInteger i = 0; i < level; ++i) { + [tabString appendString:@"\t"]; + } + + NSString *tab = @"\t"; + if (level > 0) { + tab = tabString; + } + [desc appendString:@"\t{(\n"]; + + for (id obj in self) { + if ([obj isKindOfClass:[NSDictionary class]] + || [obj isKindOfClass:[NSArray class]] + || [obj isKindOfClass:[NSSet class]]) { + NSString *str = [((NSDictionary *)obj) descriptionWithLocale:locale indent:level + 1]; + [desc appendFormat:@"%@\t%@,\n", tab, str]; + } else if ([obj isKindOfClass:[NSString class]]) { + [desc appendFormat:@"%@\t\"%@\",\n", tab, obj]; + } else { + [desc appendFormat:@"%@\t%@,\n", tab, obj]; + } + } + + [desc appendFormat:@"%@)}", tab]; + + return desc; +} + +@end diff --git a/Pods/HYBUnicodeReadable/LICENSE b/Pods/HYBUnicodeReadable/LICENSE new file mode 100644 index 0000000..fb2c9dd --- /dev/null +++ b/Pods/HYBUnicodeReadable/LICENSE @@ -0,0 +1,22 @@ +The MIT License (MIT) + +Copyright (c) 2015 JackyHuang + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + diff --git a/Pods/HYBUnicodeReadable/README.md b/Pods/HYBUnicodeReadable/README.md new file mode 100644 index 0000000..fb89faa --- /dev/null +++ b/Pods/HYBUnicodeReadable/README.md @@ -0,0 +1,35 @@ +# HYBUnicodeReadable +解决打印日志对于Unicode编码不能正常显示中文的问题,只需要将文件导入工程,不需要引用,就能达到打印日志显示Unicode编码中文数据 + +#用途 + +在开发中,通常希望在console中打印出的信息能够显示出Unicode编码对应的中文,由此作者研究了一下如何解决此问题。 +在这里,将此解决方案贡献给大家,如果觉得有用,请给个star! + +#效果图 + +![image](https://github.com/CoderJackyHuang/HYBUnicodeReadable/blob/master/screenshot.gif) + +#讲解 + +为了更详细地说明如何使用,笔者写了一篇博文,大家可以阅读:[http://www.henishuo.com/ios-unicode-readable/](http://www.henishuo.com/ios-unicode-readable/) + +#维护 + +笔者会一直维护,如果使用过程中出现任何bug,请反馈给作者,谢谢您的支持!!! + +#关注我 + +如果在使用过程中遇到问题,或者想要与我交流,可加入有问必答**QQ群:[324400294]()** + +关注微信公众号:[**iOSDevShares**]() + +关注新浪微博账号:[标哥Jacky](http://weibo.com/u/5384637337) + +#支持并捐助 + +如果您觉得文章对您很有帮助,希望得到您的支持。您的捐肋将会给予我最大的鼓励,感谢您的支持! + +支付宝捐助 | 微信捐助 +------------- | ------------- +![image](http://www.henishuo.com/wp-content/uploads/2015/12/alipay-e1451124478416.jpg) | ![image](http://www.henishuo.com/wp-content/uploads/2015/12/weixin.jpg) diff --git a/Pods/Headers/Private/HYBUnicodeReadable/NSArray+HYBUnicodeReadable.h b/Pods/Headers/Private/HYBUnicodeReadable/NSArray+HYBUnicodeReadable.h new file mode 120000 index 0000000..405a851 --- /dev/null +++ b/Pods/Headers/Private/HYBUnicodeReadable/NSArray+HYBUnicodeReadable.h @@ -0,0 +1 @@ +../../../HYBUnicodeReadable/HYBUnicodeReadable/NSArray+HYBUnicodeReadable.h \ No newline at end of file diff --git a/Pods/Headers/Private/HYBUnicodeReadable/NSDictionary+HYBUnicodeReadable.h b/Pods/Headers/Private/HYBUnicodeReadable/NSDictionary+HYBUnicodeReadable.h new file mode 120000 index 0000000..b085a37 --- /dev/null +++ b/Pods/Headers/Private/HYBUnicodeReadable/NSDictionary+HYBUnicodeReadable.h @@ -0,0 +1 @@ +../../../HYBUnicodeReadable/HYBUnicodeReadable/NSDictionary+HYBUnicodeReadable.h \ No newline at end of file diff --git a/Pods/Headers/Private/HYBUnicodeReadable/NSSet+HYBUnicodeReadable.h b/Pods/Headers/Private/HYBUnicodeReadable/NSSet+HYBUnicodeReadable.h new file mode 120000 index 0000000..69eb788 --- /dev/null +++ b/Pods/Headers/Private/HYBUnicodeReadable/NSSet+HYBUnicodeReadable.h @@ -0,0 +1 @@ +../../../HYBUnicodeReadable/HYBUnicodeReadable/NSSet+HYBUnicodeReadable.h \ No newline at end of file diff --git a/Pods/Headers/Public/HYBUnicodeReadable/NSArray+HYBUnicodeReadable.h b/Pods/Headers/Public/HYBUnicodeReadable/NSArray+HYBUnicodeReadable.h new file mode 120000 index 0000000..405a851 --- /dev/null +++ b/Pods/Headers/Public/HYBUnicodeReadable/NSArray+HYBUnicodeReadable.h @@ -0,0 +1 @@ +../../../HYBUnicodeReadable/HYBUnicodeReadable/NSArray+HYBUnicodeReadable.h \ No newline at end of file diff --git a/Pods/Headers/Public/HYBUnicodeReadable/NSDictionary+HYBUnicodeReadable.h b/Pods/Headers/Public/HYBUnicodeReadable/NSDictionary+HYBUnicodeReadable.h new file mode 120000 index 0000000..b085a37 --- /dev/null +++ b/Pods/Headers/Public/HYBUnicodeReadable/NSDictionary+HYBUnicodeReadable.h @@ -0,0 +1 @@ +../../../HYBUnicodeReadable/HYBUnicodeReadable/NSDictionary+HYBUnicodeReadable.h \ No newline at end of file diff --git a/Pods/Headers/Public/HYBUnicodeReadable/NSSet+HYBUnicodeReadable.h b/Pods/Headers/Public/HYBUnicodeReadable/NSSet+HYBUnicodeReadable.h new file mode 120000 index 0000000..69eb788 --- /dev/null +++ b/Pods/Headers/Public/HYBUnicodeReadable/NSSet+HYBUnicodeReadable.h @@ -0,0 +1 @@ +../../../HYBUnicodeReadable/HYBUnicodeReadable/NSSet+HYBUnicodeReadable.h \ No newline at end of file diff --git a/Pods/Manifest.lock b/Pods/Manifest.lock new file mode 100644 index 0000000..330cb37 --- /dev/null +++ b/Pods/Manifest.lock @@ -0,0 +1,10 @@ +PODS: + - HYBUnicodeReadable (0.0.1) + +DEPENDENCIES: + - HYBUnicodeReadable (~> 0.0.1) + +SPEC CHECKSUMS: + HYBUnicodeReadable: 3ba06a721d27f08b9aaee9ae89173ef5d092b9d6 + +COCOAPODS: 0.39.0 diff --git a/Pods/Pods.xcodeproj/project.pbxproj b/Pods/Pods.xcodeproj/project.pbxproj new file mode 100644 index 0000000..fcaf446 --- /dev/null +++ b/Pods/Pods.xcodeproj/project.pbxproj @@ -0,0 +1,452 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 0836ADB4A8615AA972D4AA8F3FD08D98 /* NSArray+HYBUnicodeReadable.m in Sources */ = {isa = PBXBuildFile; fileRef = 6550073C3546412FB3B89D9A37B63719 /* NSArray+HYBUnicodeReadable.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; + 0FE229B87CA9013F5D29D56342988954 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3E4E89230EF59BC255123B67864ACF77 /* Foundation.framework */; }; + 34E4950A9C7F832530162B3E9BA07B28 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3E4E89230EF59BC255123B67864ACF77 /* Foundation.framework */; }; + 3EFF832C631B219CC3A25B5014B0F7D7 /* NSArray+HYBUnicodeReadable.h in Headers */ = {isa = PBXBuildFile; fileRef = 485FA14CF66122F2E82961B2E7A06012 /* NSArray+HYBUnicodeReadable.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 63BAB1E8B82160C8C263044A368AD178 /* NSSet+HYBUnicodeReadable.h in Headers */ = {isa = PBXBuildFile; fileRef = DE6C78569D6C9FD68B474D58F98A57EA /* NSSet+HYBUnicodeReadable.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 64149ACE6BE6681C7D1CBF075A29072C /* Pods-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 272643F56613CA0D336AE3DBF19DC404 /* Pods-dummy.m */; }; + 8601FF9D67997CFE59537E3267B85983 /* HYBUnicodeReadable-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 2CE0C1B260C895FD00F97ABCD56A6086 /* HYBUnicodeReadable-dummy.m */; }; + D6CF5F64F26778C15E00AFA7EB04B187 /* NSDictionary+HYBUnicodeReadable.h in Headers */ = {isa = PBXBuildFile; fileRef = 7FF804FBC98DD013A93E36316BA4E7B1 /* NSDictionary+HYBUnicodeReadable.h */; settings = {ATTRIBUTES = (Public, ); }; }; + D85BD2535FB39B1CBCDA28BE90977C8B /* NSSet+HYBUnicodeReadable.m in Sources */ = {isa = PBXBuildFile; fileRef = F22A2DB1CCEB27745D06342D44FD7E6D /* NSSet+HYBUnicodeReadable.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; + E31930CE730FEFA1B38764F329E11EDC /* NSDictionary+HYBUnicodeReadable.m in Sources */ = {isa = PBXBuildFile; fileRef = A1FFBC1E8A32BF1B14995D696E61A62A /* NSDictionary+HYBUnicodeReadable.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + D0075E5FB15D1916010EF23D1ABCF9FC /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; + proxyType = 1; + remoteGlobalIDString = CF4405E19DD99D7A6C6EF5065C000E2F; + remoteInfo = HYBUnicodeReadable; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 10834806BD7B412BC24F347361FA2C8E /* Pods-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-acknowledgements.plist"; sourceTree = ""; }; + 272643F56613CA0D336AE3DBF19DC404 /* Pods-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-dummy.m"; sourceTree = ""; }; + 2CE0C1B260C895FD00F97ABCD56A6086 /* HYBUnicodeReadable-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "HYBUnicodeReadable-dummy.m"; sourceTree = ""; }; + 37DB56D75062CC75FCB0966E1C6E8A8E /* Pods-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-acknowledgements.markdown"; sourceTree = ""; }; + 3E4E89230EF59BC255123B67864ACF77 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; + 472E13C1677239E7B9556F659CCE2B6F /* libPods.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libPods.a; sourceTree = BUILT_PRODUCTS_DIR; }; + 485FA14CF66122F2E82961B2E7A06012 /* NSArray+HYBUnicodeReadable.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "NSArray+HYBUnicodeReadable.h"; path = "HYBUnicodeReadable/NSArray+HYBUnicodeReadable.h"; sourceTree = ""; }; + 4E762F23EC34ED4A6FF3312D84E33A40 /* Pods.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Pods.debug.xcconfig; sourceTree = ""; }; + 6550073C3546412FB3B89D9A37B63719 /* NSArray+HYBUnicodeReadable.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "NSArray+HYBUnicodeReadable.m"; path = "HYBUnicodeReadable/NSArray+HYBUnicodeReadable.m"; sourceTree = ""; }; + 6911BECA35E7518D864239B7E898EEF3 /* Pods-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-frameworks.sh"; sourceTree = ""; }; + 7FF804FBC98DD013A93E36316BA4E7B1 /* NSDictionary+HYBUnicodeReadable.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "NSDictionary+HYBUnicodeReadable.h"; path = "HYBUnicodeReadable/NSDictionary+HYBUnicodeReadable.h"; sourceTree = ""; }; + 98C98CDFB3F20F2925F6CD1F141BB14F /* Pods.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Pods.release.xcconfig; sourceTree = ""; }; + A1A36D34413696BE466E2CA0AFF194DA /* Pods-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-resources.sh"; sourceTree = ""; }; + A1FFBC1E8A32BF1B14995D696E61A62A /* NSDictionary+HYBUnicodeReadable.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "NSDictionary+HYBUnicodeReadable.m"; path = "HYBUnicodeReadable/NSDictionary+HYBUnicodeReadable.m"; sourceTree = ""; }; + B8726015D23EC062A1D8D1006E66BE79 /* HYBUnicodeReadable.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = HYBUnicodeReadable.xcconfig; sourceTree = ""; }; + BA6428E9F66FD5A23C0A2E06ED26CD2F /* Podfile */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; + C3670D79FC08E6E1C580B7F3F84FCCB6 /* HYBUnicodeReadable-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "HYBUnicodeReadable-prefix.pch"; sourceTree = ""; }; + D56E885F96BC54B8BC1FBEB8A6630C00 /* libHYBUnicodeReadable.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libHYBUnicodeReadable.a; sourceTree = BUILT_PRODUCTS_DIR; }; + DE6C78569D6C9FD68B474D58F98A57EA /* NSSet+HYBUnicodeReadable.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "NSSet+HYBUnicodeReadable.h"; path = "HYBUnicodeReadable/NSSet+HYBUnicodeReadable.h"; sourceTree = ""; }; + F22A2DB1CCEB27745D06342D44FD7E6D /* NSSet+HYBUnicodeReadable.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "NSSet+HYBUnicodeReadable.m"; path = "HYBUnicodeReadable/NSSet+HYBUnicodeReadable.m"; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 666C99C66372B7C6C11E7C5FCCEA3835 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 34E4950A9C7F832530162B3E9BA07B28 /* Foundation.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + D7F9FC1C46AA18CA6AB1365F061DFB55 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 0FE229B87CA9013F5D29D56342988954 /* Foundation.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 037C0CA694176A3C0915F62C9D20B3E6 /* Targets Support Files */ = { + isa = PBXGroup; + children = ( + B3D1D13E0C6553800746CB8FD61CF946 /* Pods */, + ); + name = "Targets Support Files"; + sourceTree = ""; + }; + 6D501A69D7EB6EF0C0B5A157F85B9B2C /* Pods */ = { + isa = PBXGroup; + children = ( + BDF535FB72CAE3CC9847118992A08AA9 /* HYBUnicodeReadable */, + ); + name = Pods; + sourceTree = ""; + }; + 7DB346D0F39D3F0E887471402A8071AB = { + isa = PBXGroup; + children = ( + BA6428E9F66FD5A23C0A2E06ED26CD2F /* Podfile */, + BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */, + 6D501A69D7EB6EF0C0B5A157F85B9B2C /* Pods */, + F48ACADB7A11232E4852810D4D3C9775 /* Products */, + 037C0CA694176A3C0915F62C9D20B3E6 /* Targets Support Files */, + ); + sourceTree = ""; + }; + 9913DCF0DB50FB3AB6480D902FA24F2C /* Support Files */ = { + isa = PBXGroup; + children = ( + B8726015D23EC062A1D8D1006E66BE79 /* HYBUnicodeReadable.xcconfig */, + 2CE0C1B260C895FD00F97ABCD56A6086 /* HYBUnicodeReadable-dummy.m */, + C3670D79FC08E6E1C580B7F3F84FCCB6 /* HYBUnicodeReadable-prefix.pch */, + ); + name = "Support Files"; + path = "../Target Support Files/HYBUnicodeReadable"; + sourceTree = ""; + }; + B3D1D13E0C6553800746CB8FD61CF946 /* Pods */ = { + isa = PBXGroup; + children = ( + 37DB56D75062CC75FCB0966E1C6E8A8E /* Pods-acknowledgements.markdown */, + 10834806BD7B412BC24F347361FA2C8E /* Pods-acknowledgements.plist */, + 272643F56613CA0D336AE3DBF19DC404 /* Pods-dummy.m */, + 6911BECA35E7518D864239B7E898EEF3 /* Pods-frameworks.sh */, + A1A36D34413696BE466E2CA0AFF194DA /* Pods-resources.sh */, + 4E762F23EC34ED4A6FF3312D84E33A40 /* Pods.debug.xcconfig */, + 98C98CDFB3F20F2925F6CD1F141BB14F /* Pods.release.xcconfig */, + ); + name = Pods; + path = "Target Support Files/Pods"; + sourceTree = ""; + }; + BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */ = { + isa = PBXGroup; + children = ( + BF6342C8B29F4CEEA088EFF7AB4DE362 /* iOS */, + ); + name = Frameworks; + sourceTree = ""; + }; + BDF535FB72CAE3CC9847118992A08AA9 /* HYBUnicodeReadable */ = { + isa = PBXGroup; + children = ( + 485FA14CF66122F2E82961B2E7A06012 /* NSArray+HYBUnicodeReadable.h */, + 6550073C3546412FB3B89D9A37B63719 /* NSArray+HYBUnicodeReadable.m */, + 7FF804FBC98DD013A93E36316BA4E7B1 /* NSDictionary+HYBUnicodeReadable.h */, + A1FFBC1E8A32BF1B14995D696E61A62A /* NSDictionary+HYBUnicodeReadable.m */, + DE6C78569D6C9FD68B474D58F98A57EA /* NSSet+HYBUnicodeReadable.h */, + F22A2DB1CCEB27745D06342D44FD7E6D /* NSSet+HYBUnicodeReadable.m */, + 9913DCF0DB50FB3AB6480D902FA24F2C /* Support Files */, + ); + path = HYBUnicodeReadable; + sourceTree = ""; + }; + BF6342C8B29F4CEEA088EFF7AB4DE362 /* iOS */ = { + isa = PBXGroup; + children = ( + 3E4E89230EF59BC255123B67864ACF77 /* Foundation.framework */, + ); + name = iOS; + sourceTree = ""; + }; + F48ACADB7A11232E4852810D4D3C9775 /* Products */ = { + isa = PBXGroup; + children = ( + D56E885F96BC54B8BC1FBEB8A6630C00 /* libHYBUnicodeReadable.a */, + 472E13C1677239E7B9556F659CCE2B6F /* libPods.a */, + ); + name = Products; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXHeadersBuildPhase section */ + 46EFF4F3F6B37CC2F406116DEC1DDED8 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 3EFF832C631B219CC3A25B5014B0F7D7 /* NSArray+HYBUnicodeReadable.h in Headers */, + D6CF5F64F26778C15E00AFA7EB04B187 /* NSDictionary+HYBUnicodeReadable.h in Headers */, + 63BAB1E8B82160C8C263044A368AD178 /* NSSet+HYBUnicodeReadable.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + +/* Begin PBXNativeTarget section */ + CF4405E19DD99D7A6C6EF5065C000E2F /* HYBUnicodeReadable */ = { + isa = PBXNativeTarget; + buildConfigurationList = 9BB837112B60D79DDB79D5B3FFF500EF /* Build configuration list for PBXNativeTarget "HYBUnicodeReadable" */; + buildPhases = ( + A7FEB46B46AE1919A5C998CCCA4EE403 /* Sources */, + 666C99C66372B7C6C11E7C5FCCEA3835 /* Frameworks */, + 46EFF4F3F6B37CC2F406116DEC1DDED8 /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = HYBUnicodeReadable; + productName = HYBUnicodeReadable; + productReference = D56E885F96BC54B8BC1FBEB8A6630C00 /* libHYBUnicodeReadable.a */; + productType = "com.apple.product-type.library.static"; + }; + F8CAB9B6D2C4FDA32742464BEB5285A3 /* Pods */ = { + isa = PBXNativeTarget; + buildConfigurationList = 71A242FC789E85E96DE2F75C218F22E8 /* Build configuration list for PBXNativeTarget "Pods" */; + buildPhases = ( + BB3B285DD84F275545480BE93D58318F /* Sources */, + D7F9FC1C46AA18CA6AB1365F061DFB55 /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + 559D5354550EDE7E5961D6D7F8F06848 /* PBXTargetDependency */, + ); + name = Pods; + productName = Pods; + productReference = 472E13C1677239E7B9556F659CCE2B6F /* libPods.a */; + productType = "com.apple.product-type.library.static"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { + isa = PBXProject; + attributes = { + LastSwiftUpdateCheck = 0700; + LastUpgradeCheck = 0700; + }; + buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = 7DB346D0F39D3F0E887471402A8071AB; + productRefGroup = F48ACADB7A11232E4852810D4D3C9775 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + CF4405E19DD99D7A6C6EF5065C000E2F /* HYBUnicodeReadable */, + F8CAB9B6D2C4FDA32742464BEB5285A3 /* Pods */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXSourcesBuildPhase section */ + A7FEB46B46AE1919A5C998CCCA4EE403 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 8601FF9D67997CFE59537E3267B85983 /* HYBUnicodeReadable-dummy.m in Sources */, + 0836ADB4A8615AA972D4AA8F3FD08D98 /* NSArray+HYBUnicodeReadable.m in Sources */, + E31930CE730FEFA1B38764F329E11EDC /* NSDictionary+HYBUnicodeReadable.m in Sources */, + D85BD2535FB39B1CBCDA28BE90977C8B /* NSSet+HYBUnicodeReadable.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BB3B285DD84F275545480BE93D58318F /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 64149ACE6BE6681C7D1CBF075A29072C /* Pods-dummy.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 559D5354550EDE7E5961D6D7F8F06848 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = HYBUnicodeReadable; + target = CF4405E19DD99D7A6C6EF5065C000E2F /* HYBUnicodeReadable */; + targetProxy = D0075E5FB15D1916010EF23D1ABCF9FC /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + 1C0529148E15DCB4C38B599ED3738A85 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 98C98CDFB3F20F2925F6CD1F141BB14F /* Pods.release.xcconfig */; + buildSettings = { + ENABLE_STRICT_OBJC_MSGSEND = YES; + IPHONEOS_DEPLOYMENT_TARGET = 9.2; + MACH_O_TYPE = staticlib; + MTL_ENABLE_DEBUG_INFO = NO; + OTHER_LDFLAGS = ""; + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + }; + name = Release; + }; + 1F2746E94657BC5C602AE4F59E41F20C /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = B8726015D23EC062A1D8D1006E66BE79 /* HYBUnicodeReadable.xcconfig */; + buildSettings = { + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_PREFIX_HEADER = "Target Support Files/HYBUnicodeReadable/HYBUnicodeReadable-prefix.pch"; + IPHONEOS_DEPLOYMENT_TARGET = 9.2; + MTL_ENABLE_DEBUG_INFO = YES; + OTHER_LDFLAGS = ""; + OTHER_LIBTOOLFLAGS = ""; + PRIVATE_HEADERS_FOLDER_PATH = ""; + PRODUCT_NAME = "$(TARGET_NAME)"; + PUBLIC_HEADERS_FOLDER_PATH = ""; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + }; + name = Debug; + }; + 3EF48C0125CCAEA8850C969B5F44C051 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 4E762F23EC34ED4A6FF3312D84E33A40 /* Pods.debug.xcconfig */; + buildSettings = { + ENABLE_STRICT_OBJC_MSGSEND = YES; + IPHONEOS_DEPLOYMENT_TARGET = 9.2; + MACH_O_TYPE = staticlib; + MTL_ENABLE_DEBUG_INFO = YES; + OTHER_LDFLAGS = ""; + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + }; + name = Debug; + }; + 8D1534490D941DCA47C62AC4314182AF /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 9.2; + ONLY_ACTIVE_ARCH = YES; + STRIP_INSTALLED_PRODUCT = NO; + SYMROOT = "${SRCROOT}/../build"; + }; + name = Debug; + }; + C5A18280E9321A9268D1C80B7DA43967 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = YES; + ENABLE_NS_ASSERTIONS = NO; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_PREPROCESSOR_DEFINITIONS = "RELEASE=1"; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 9.2; + STRIP_INSTALLED_PRODUCT = NO; + SYMROOT = "${SRCROOT}/../build"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + C5FB4DE8334E0461EF191F3B84B342C8 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = B8726015D23EC062A1D8D1006E66BE79 /* HYBUnicodeReadable.xcconfig */; + buildSettings = { + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_PREFIX_HEADER = "Target Support Files/HYBUnicodeReadable/HYBUnicodeReadable-prefix.pch"; + IPHONEOS_DEPLOYMENT_TARGET = 9.2; + MTL_ENABLE_DEBUG_INFO = NO; + OTHER_LDFLAGS = ""; + OTHER_LIBTOOLFLAGS = ""; + PRIVATE_HEADERS_FOLDER_PATH = ""; + PRODUCT_NAME = "$(TARGET_NAME)"; + PUBLIC_HEADERS_FOLDER_PATH = ""; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 8D1534490D941DCA47C62AC4314182AF /* Debug */, + C5A18280E9321A9268D1C80B7DA43967 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 71A242FC789E85E96DE2F75C218F22E8 /* Build configuration list for PBXNativeTarget "Pods" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 3EF48C0125CCAEA8850C969B5F44C051 /* Debug */, + 1C0529148E15DCB4C38B599ED3738A85 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 9BB837112B60D79DDB79D5B3FFF500EF /* Build configuration list for PBXNativeTarget "HYBUnicodeReadable" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1F2746E94657BC5C602AE4F59E41F20C /* Debug */, + C5FB4DE8334E0461EF191F3B84B342C8 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; +} diff --git a/Pods/Pods.xcodeproj/xcuserdata/huangyibiao.xcuserdatad/xcschemes/HYBUnicodeReadable.xcscheme b/Pods/Pods.xcodeproj/xcuserdata/huangyibiao.xcuserdatad/xcschemes/HYBUnicodeReadable.xcscheme new file mode 100644 index 0000000..117de64 --- /dev/null +++ b/Pods/Pods.xcodeproj/xcuserdata/huangyibiao.xcuserdatad/xcschemes/HYBUnicodeReadable.xcscheme @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Pods/Pods.xcodeproj/xcuserdata/huangyibiao.xcuserdatad/xcschemes/Pods.xcscheme b/Pods/Pods.xcodeproj/xcuserdata/huangyibiao.xcuserdatad/xcschemes/Pods.xcscheme new file mode 100644 index 0000000..85b9ac4 --- /dev/null +++ b/Pods/Pods.xcodeproj/xcuserdata/huangyibiao.xcuserdatad/xcschemes/Pods.xcscheme @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Pods/Pods.xcodeproj/xcuserdata/huangyibiao.xcuserdatad/xcschemes/xcschememanagement.plist b/Pods/Pods.xcodeproj/xcuserdata/huangyibiao.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..822375c --- /dev/null +++ b/Pods/Pods.xcodeproj/xcuserdata/huangyibiao.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,32 @@ + + + + + SchemeUserState + + HYBUnicodeReadable.xcscheme + + isShown + + + Pods.xcscheme + + isShown + + + + SuppressBuildableAutocreation + + CF4405E19DD99D7A6C6EF5065C000E2F + + primary + + + F8CAB9B6D2C4FDA32742464BEB5285A3 + + primary + + + + + diff --git a/Pods/Target Support Files/HYBUnicodeReadable/HYBUnicodeReadable-dummy.m b/Pods/Target Support Files/HYBUnicodeReadable/HYBUnicodeReadable-dummy.m new file mode 100644 index 0000000..54d6880 --- /dev/null +++ b/Pods/Target Support Files/HYBUnicodeReadable/HYBUnicodeReadable-dummy.m @@ -0,0 +1,5 @@ +#import +@interface PodsDummy_HYBUnicodeReadable : NSObject +@end +@implementation PodsDummy_HYBUnicodeReadable +@end diff --git a/Pods/Target Support Files/HYBUnicodeReadable/HYBUnicodeReadable-prefix.pch b/Pods/Target Support Files/HYBUnicodeReadable/HYBUnicodeReadable-prefix.pch new file mode 100644 index 0000000..aa992a4 --- /dev/null +++ b/Pods/Target Support Files/HYBUnicodeReadable/HYBUnicodeReadable-prefix.pch @@ -0,0 +1,4 @@ +#ifdef __OBJC__ +#import +#endif + diff --git a/Pods/Target Support Files/HYBUnicodeReadable/HYBUnicodeReadable.xcconfig b/Pods/Target Support Files/HYBUnicodeReadable/HYBUnicodeReadable.xcconfig new file mode 100644 index 0000000..01a4e5e --- /dev/null +++ b/Pods/Target Support Files/HYBUnicodeReadable/HYBUnicodeReadable.xcconfig @@ -0,0 +1,4 @@ +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/HYBUnicodeReadable" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/HYBUnicodeReadable" +PODS_ROOT = ${SRCROOT} +SKIP_INSTALL = YES \ No newline at end of file diff --git a/Pods/Target Support Files/Pods/Pods-acknowledgements.markdown b/Pods/Target Support Files/Pods/Pods-acknowledgements.markdown new file mode 100644 index 0000000..95d1a29 --- /dev/null +++ b/Pods/Target Support Files/Pods/Pods-acknowledgements.markdown @@ -0,0 +1,29 @@ +# Acknowledgements +This application makes use of the following third party libraries: + +## HYBUnicodeReadable + +The MIT License (MIT) + +Copyright (c) 2015 JackyHuang + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +Generated by CocoaPods - http://cocoapods.org diff --git a/Pods/Target Support Files/Pods/Pods-acknowledgements.plist b/Pods/Target Support Files/Pods/Pods-acknowledgements.plist new file mode 100644 index 0000000..4ed2eac --- /dev/null +++ b/Pods/Target Support Files/Pods/Pods-acknowledgements.plist @@ -0,0 +1,59 @@ + + + + + PreferenceSpecifiers + + + FooterText + This application makes use of the following third party libraries: + Title + Acknowledgements + Type + PSGroupSpecifier + + + FooterText + The MIT License (MIT) + +Copyright (c) 2015 JackyHuang + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + + Title + HYBUnicodeReadable + Type + PSGroupSpecifier + + + FooterText + Generated by CocoaPods - http://cocoapods.org + Title + + Type + PSGroupSpecifier + + + StringsTable + Acknowledgements + Title + Acknowledgements + + diff --git a/Pods/Target Support Files/Pods/Pods-dummy.m b/Pods/Target Support Files/Pods/Pods-dummy.m new file mode 100644 index 0000000..ade64bd --- /dev/null +++ b/Pods/Target Support Files/Pods/Pods-dummy.m @@ -0,0 +1,5 @@ +#import +@interface PodsDummy_Pods : NSObject +@end +@implementation PodsDummy_Pods +@end diff --git a/Pods/Target Support Files/Pods/Pods-frameworks.sh b/Pods/Target Support Files/Pods/Pods-frameworks.sh new file mode 100755 index 0000000..6f76344 --- /dev/null +++ b/Pods/Target Support Files/Pods/Pods-frameworks.sh @@ -0,0 +1,84 @@ +#!/bin/sh +set -e + +echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" +mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + +SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" + +install_framework() +{ + if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then + local source="${BUILT_PRODUCTS_DIR}/$1" + elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then + local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" + elif [ -r "$1" ]; then + local source="$1" + fi + + local destination="${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + + if [ -L "${source}" ]; then + echo "Symlinked..." + source="$(readlink "${source}")" + fi + + # use filter instead of exclude so missing patterns dont' throw errors + echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" + rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" + + local basename + basename="$(basename -s .framework "$1")" + binary="${destination}/${basename}.framework/${basename}" + if ! [ -r "$binary" ]; then + binary="${destination}/${basename}" + fi + + # Strip invalid architectures so "fat" simulator / device frameworks work on device + if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then + strip_invalid_archs "$binary" + fi + + # Resign the code if required by the build settings to avoid unstable apps + code_sign_if_enabled "${destination}/$(basename "$1")" + + # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. + if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then + local swift_runtime_libs + swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) + for lib in $swift_runtime_libs; do + echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" + rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" + code_sign_if_enabled "${destination}/${lib}" + done + fi +} + +# Signs a framework with the provided identity +code_sign_if_enabled() { + if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then + # Use the current code_sign_identitiy + echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" + echo "/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements \"$1\"" + /usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements "$1" + fi +} + +# Strip invalid architectures +strip_invalid_archs() { + binary="$1" + # Get architectures for current file + archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" + stripped="" + for arch in $archs; do + if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then + # Strip non-valid architectures in-place + lipo -remove "$arch" -output "$binary" "$binary" || exit 1 + stripped="$stripped $arch" + fi + done + if [[ "$stripped" ]]; then + echo "Stripped $binary of architectures:$stripped" + fi +} + diff --git a/Pods/Target Support Files/Pods/Pods-resources.sh b/Pods/Target Support Files/Pods/Pods-resources.sh new file mode 100755 index 0000000..16774fb --- /dev/null +++ b/Pods/Target Support Files/Pods/Pods-resources.sh @@ -0,0 +1,95 @@ +#!/bin/sh +set -e + +mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" + +RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt +> "$RESOURCES_TO_COPY" + +XCASSET_FILES=() + +realpath() { + DIRECTORY="$(cd "${1%/*}" && pwd)" + FILENAME="${1##*/}" + echo "$DIRECTORY/$FILENAME" +} + +install_resource() +{ + case $1 in + *.storyboard) + echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc ${PODS_ROOT}/$1 --sdk ${SDKROOT}" + ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc" "${PODS_ROOT}/$1" --sdk "${SDKROOT}" + ;; + *.xib) + echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}" + ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib" "${PODS_ROOT}/$1" --sdk "${SDKROOT}" + ;; + *.framework) + echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + echo "rsync -av ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + rsync -av "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + ;; + *.xcdatamodel) + echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1"`.mom\"" + xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodel`.mom" + ;; + *.xcdatamodeld) + echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd\"" + xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd" + ;; + *.xcmappingmodel) + echo "xcrun mapc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm\"" + xcrun mapc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm" + ;; + *.xcassets) + ABSOLUTE_XCASSET_FILE=$(realpath "${PODS_ROOT}/$1") + XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") + ;; + /*) + echo "$1" + echo "$1" >> "$RESOURCES_TO_COPY" + ;; + *) + echo "${PODS_ROOT}/$1" + echo "${PODS_ROOT}/$1" >> "$RESOURCES_TO_COPY" + ;; + esac +} + +mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then + mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" + rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +fi +rm -f "$RESOURCES_TO_COPY" + +if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] +then + case "${TARGETED_DEVICE_FAMILY}" in + 1,2) + TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" + ;; + 1) + TARGET_DEVICE_ARGS="--target-device iphone" + ;; + 2) + TARGET_DEVICE_ARGS="--target-device ipad" + ;; + *) + TARGET_DEVICE_ARGS="--target-device mac" + ;; + esac + + # Find all other xcassets (this unfortunately includes those of path pods and other targets). + OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) + while read line; do + if [[ $line != "`realpath $PODS_ROOT`*" ]]; then + XCASSET_FILES+=("$line") + fi + done <<<"$OTHER_XCASSETS" + + printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${IPHONEOS_DEPLOYMENT_TARGET}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +fi diff --git a/Pods/Target Support Files/Pods/Pods.debug.xcconfig b/Pods/Target Support Files/Pods/Pods.debug.xcconfig new file mode 100644 index 0000000..aea3502 --- /dev/null +++ b/Pods/Target Support Files/Pods/Pods.debug.xcconfig @@ -0,0 +1,5 @@ +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/HYBUnicodeReadable" +OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/HYBUnicodeReadable" +OTHER_LDFLAGS = $(inherited) -ObjC -l"HYBUnicodeReadable" +PODS_ROOT = ${SRCROOT}/Pods \ No newline at end of file diff --git a/Pods/Target Support Files/Pods/Pods.release.xcconfig b/Pods/Target Support Files/Pods/Pods.release.xcconfig new file mode 100644 index 0000000..aea3502 --- /dev/null +++ b/Pods/Target Support Files/Pods/Pods.release.xcconfig @@ -0,0 +1,5 @@ +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/HYBUnicodeReadable" +OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/HYBUnicodeReadable" +OTHER_LDFLAGS = $(inherited) -ObjC -l"HYBUnicodeReadable" +PODS_ROOT = ${SRCROOT}/Pods \ No newline at end of file diff --git a/README.md b/README.md index 96bb033..eb5b5c5 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,24 @@ # RuntimeDemo 学习Runtime + +#文章讲解 + +[标哥的技术博客](http://www.henishuo.com/runtime-model-dictionary-convert/) + +#关注我 + + +如果在使用过程中遇到问题,或者想要与我交流,可加入有问必答**QQ群:[324400294]()** + +关注微信公众号:[**iOSDevShares**]() + + 关注新浪微博账号:[标哥Jacky](http://weibo.com/u/5384637337) + +#支持并捐助 + + 如果您觉得文章对您很有帮助,希望得到您的支持。您的捐肋将会给予我最大的鼓励,感谢您的支持! + + 支付宝捐助 | 微信捐助 + ------------- | ------------- + ![image](http://www.henishuo.com/wp-content/uploads/2015/12/alipay-e1451124478416.jpg) | ![image](http://www.henishuo.com/wp-content/uploads/2015/12/weixin.jpg) + diff --git a/RuntimeDemo.xcodeproj/project.pbxproj b/RuntimeDemo.xcodeproj/project.pbxproj new file mode 100644 index 0000000..3e7f0e0 --- /dev/null +++ b/RuntimeDemo.xcodeproj/project.pbxproj @@ -0,0 +1,627 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 303C7F5F03832071E9D4019A /* libPods.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 38B8A79A2F4B8D8AA2D898F1 /* libPods.a */; }; + 69654F5B1C2CDE6600FFB5AC /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 69654F5A1C2CDE6600FFB5AC /* main.m */; }; + 69654F5E1C2CDE6600FFB5AC /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 69654F5D1C2CDE6600FFB5AC /* AppDelegate.m */; }; + 69654F611C2CDE6600FFB5AC /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 69654F601C2CDE6600FFB5AC /* ViewController.m */; }; + 69654F641C2CDE6600FFB5AC /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 69654F621C2CDE6600FFB5AC /* Main.storyboard */; }; + 69654F661C2CDE6600FFB5AC /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 69654F651C2CDE6600FFB5AC /* Assets.xcassets */; }; + 69654F691C2CDE6600FFB5AC /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 69654F671C2CDE6600FFB5AC /* LaunchScreen.storyboard */; }; + 69654F741C2CDE6600FFB5AC /* RuntimeDemoTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 69654F731C2CDE6600FFB5AC /* RuntimeDemoTests.m */; }; + 69654F7F1C2CDE6600FFB5AC /* RuntimeDemoUITests.m in Sources */ = {isa = PBXBuildFile; fileRef = 69654F7E1C2CDE6600FFB5AC /* RuntimeDemoUITests.m */; }; + 69654F931C30214500FFB5AC /* UIControl+HYBBlock.m in Sources */ = {isa = PBXBuildFile; fileRef = 69654F921C30214500FFB5AC /* UIControl+HYBBlock.m */; }; + 69654F941C30214500FFB5AC /* UIControl+HYBBlock.m in Sources */ = {isa = PBXBuildFile; fileRef = 69654F921C30214500FFB5AC /* UIControl+HYBBlock.m */; }; + 69654F951C30214500FFB5AC /* UIControl+HYBBlock.m in Sources */ = {isa = PBXBuildFile; fileRef = 69654F921C30214500FFB5AC /* UIControl+HYBBlock.m */; }; + 6980598D1C30D6070021085B /* HYBTestModel.m in Sources */ = {isa = PBXBuildFile; fileRef = 6980598C1C30D6070021085B /* HYBTestModel.m */; }; + 6980598E1C30D6070021085B /* HYBTestModel.m in Sources */ = {isa = PBXBuildFile; fileRef = 6980598C1C30D6070021085B /* HYBTestModel.m */; }; + 6980598F1C30D6070021085B /* HYBTestModel.m in Sources */ = {isa = PBXBuildFile; fileRef = 6980598C1C30D6070021085B /* HYBTestModel.m */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 69654F701C2CDE6600FFB5AC /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 69654F4E1C2CDE6600FFB5AC /* Project object */; + proxyType = 1; + remoteGlobalIDString = 69654F551C2CDE6600FFB5AC; + remoteInfo = RuntimeDemo; + }; + 69654F7B1C2CDE6600FFB5AC /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 69654F4E1C2CDE6600FFB5AC /* Project object */; + proxyType = 1; + remoteGlobalIDString = 69654F551C2CDE6600FFB5AC; + remoteInfo = RuntimeDemo; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 2BDAA9539E871117ED795ADE /* Pods.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = Pods.release.xcconfig; path = "Pods/Target Support Files/Pods/Pods.release.xcconfig"; sourceTree = ""; }; + 38B8A79A2F4B8D8AA2D898F1 /* libPods.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libPods.a; sourceTree = BUILT_PRODUCTS_DIR; }; + 54494B247380150E00DCBCF2 /* Pods.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = Pods.debug.xcconfig; path = "Pods/Target Support Files/Pods/Pods.debug.xcconfig"; sourceTree = ""; }; + 69654F561C2CDE6600FFB5AC /* RuntimeDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = RuntimeDemo.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 69654F5A1C2CDE6600FFB5AC /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; + 69654F5C1C2CDE6600FFB5AC /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; + 69654F5D1C2CDE6600FFB5AC /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; + 69654F5F1C2CDE6600FFB5AC /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; }; + 69654F601C2CDE6600FFB5AC /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; }; + 69654F631C2CDE6600FFB5AC /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; + 69654F651C2CDE6600FFB5AC /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + 69654F681C2CDE6600FFB5AC /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; + 69654F6A1C2CDE6600FFB5AC /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 69654F6F1C2CDE6600FFB5AC /* RuntimeDemoTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RuntimeDemoTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 69654F731C2CDE6600FFB5AC /* RuntimeDemoTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RuntimeDemoTests.m; sourceTree = ""; }; + 69654F751C2CDE6600FFB5AC /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 69654F7A1C2CDE6600FFB5AC /* RuntimeDemoUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RuntimeDemoUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 69654F7E1C2CDE6600FFB5AC /* RuntimeDemoUITests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RuntimeDemoUITests.m; sourceTree = ""; }; + 69654F801C2CDE6600FFB5AC /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 69654F911C30214500FFB5AC /* UIControl+HYBBlock.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIControl+HYBBlock.h"; sourceTree = ""; }; + 69654F921C30214500FFB5AC /* UIControl+HYBBlock.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIControl+HYBBlock.m"; sourceTree = ""; }; + 6980598B1C30D6070021085B /* HYBTestModel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HYBTestModel.h; sourceTree = ""; }; + 6980598C1C30D6070021085B /* HYBTestModel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = HYBTestModel.m; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 69654F531C2CDE6600FFB5AC /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 303C7F5F03832071E9D4019A /* libPods.a in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 69654F6C1C2CDE6600FFB5AC /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 69654F771C2CDE6600FFB5AC /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 1574F27037C5422C34CA2FA9 /* Pods */ = { + isa = PBXGroup; + children = ( + 54494B247380150E00DCBCF2 /* Pods.debug.xcconfig */, + 2BDAA9539E871117ED795ADE /* Pods.release.xcconfig */, + ); + name = Pods; + sourceTree = ""; + }; + 69654F4D1C2CDE6600FFB5AC = { + isa = PBXGroup; + children = ( + 69654F581C2CDE6600FFB5AC /* RuntimeDemo */, + 69654F721C2CDE6600FFB5AC /* RuntimeDemoTests */, + 69654F7D1C2CDE6600FFB5AC /* RuntimeDemoUITests */, + 69654F571C2CDE6600FFB5AC /* Products */, + 1574F27037C5422C34CA2FA9 /* Pods */, + A4EC37D5D490197569607E30 /* Frameworks */, + ); + sourceTree = ""; + }; + 69654F571C2CDE6600FFB5AC /* Products */ = { + isa = PBXGroup; + children = ( + 69654F561C2CDE6600FFB5AC /* RuntimeDemo.app */, + 69654F6F1C2CDE6600FFB5AC /* RuntimeDemoTests.xctest */, + 69654F7A1C2CDE6600FFB5AC /* RuntimeDemoUITests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + 69654F581C2CDE6600FFB5AC /* RuntimeDemo */ = { + isa = PBXGroup; + children = ( + 6980598A1C30D5E90021085B /* Dict-Model */, + 69654F5C1C2CDE6600FFB5AC /* AppDelegate.h */, + 69654F5D1C2CDE6600FFB5AC /* AppDelegate.m */, + 69654F5F1C2CDE6600FFB5AC /* ViewController.h */, + 69654F601C2CDE6600FFB5AC /* ViewController.m */, + 69654F621C2CDE6600FFB5AC /* Main.storyboard */, + 69654F651C2CDE6600FFB5AC /* Assets.xcassets */, + 69654F671C2CDE6600FFB5AC /* LaunchScreen.storyboard */, + 69654F6A1C2CDE6600FFB5AC /* Info.plist */, + 69654F591C2CDE6600FFB5AC /* Supporting Files */, + 69654F911C30214500FFB5AC /* UIControl+HYBBlock.h */, + 69654F921C30214500FFB5AC /* UIControl+HYBBlock.m */, + ); + path = RuntimeDemo; + sourceTree = ""; + }; + 69654F591C2CDE6600FFB5AC /* Supporting Files */ = { + isa = PBXGroup; + children = ( + 69654F5A1C2CDE6600FFB5AC /* main.m */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; + 69654F721C2CDE6600FFB5AC /* RuntimeDemoTests */ = { + isa = PBXGroup; + children = ( + 69654F731C2CDE6600FFB5AC /* RuntimeDemoTests.m */, + 69654F751C2CDE6600FFB5AC /* Info.plist */, + ); + path = RuntimeDemoTests; + sourceTree = ""; + }; + 69654F7D1C2CDE6600FFB5AC /* RuntimeDemoUITests */ = { + isa = PBXGroup; + children = ( + 69654F7E1C2CDE6600FFB5AC /* RuntimeDemoUITests.m */, + 69654F801C2CDE6600FFB5AC /* Info.plist */, + ); + path = RuntimeDemoUITests; + sourceTree = ""; + }; + 6980598A1C30D5E90021085B /* Dict-Model */ = { + isa = PBXGroup; + children = ( + 6980598B1C30D6070021085B /* HYBTestModel.h */, + 6980598C1C30D6070021085B /* HYBTestModel.m */, + ); + name = "Dict-Model"; + sourceTree = ""; + }; + A4EC37D5D490197569607E30 /* Frameworks */ = { + isa = PBXGroup; + children = ( + 38B8A79A2F4B8D8AA2D898F1 /* libPods.a */, + ); + name = Frameworks; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 69654F551C2CDE6600FFB5AC /* RuntimeDemo */ = { + isa = PBXNativeTarget; + buildConfigurationList = 69654F831C2CDE6600FFB5AC /* Build configuration list for PBXNativeTarget "RuntimeDemo" */; + buildPhases = ( + E8F35A7A0E95DED9B0C66F9F /* Check Pods Manifest.lock */, + 69654F521C2CDE6600FFB5AC /* Sources */, + 69654F531C2CDE6600FFB5AC /* Frameworks */, + 69654F541C2CDE6600FFB5AC /* Resources */, + 89BB4FA307D36FC42F0BE172 /* Embed Pods Frameworks */, + 64E012AA1CA97E018A940BB2 /* Copy Pods Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = RuntimeDemo; + productName = RuntimeDemo; + productReference = 69654F561C2CDE6600FFB5AC /* RuntimeDemo.app */; + productType = "com.apple.product-type.application"; + }; + 69654F6E1C2CDE6600FFB5AC /* RuntimeDemoTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 69654F861C2CDE6600FFB5AC /* Build configuration list for PBXNativeTarget "RuntimeDemoTests" */; + buildPhases = ( + 69654F6B1C2CDE6600FFB5AC /* Sources */, + 69654F6C1C2CDE6600FFB5AC /* Frameworks */, + 69654F6D1C2CDE6600FFB5AC /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 69654F711C2CDE6600FFB5AC /* PBXTargetDependency */, + ); + name = RuntimeDemoTests; + productName = RuntimeDemoTests; + productReference = 69654F6F1C2CDE6600FFB5AC /* RuntimeDemoTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; + 69654F791C2CDE6600FFB5AC /* RuntimeDemoUITests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 69654F891C2CDE6600FFB5AC /* Build configuration list for PBXNativeTarget "RuntimeDemoUITests" */; + buildPhases = ( + 69654F761C2CDE6600FFB5AC /* Sources */, + 69654F771C2CDE6600FFB5AC /* Frameworks */, + 69654F781C2CDE6600FFB5AC /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 69654F7C1C2CDE6600FFB5AC /* PBXTargetDependency */, + ); + name = RuntimeDemoUITests; + productName = RuntimeDemoUITests; + productReference = 69654F7A1C2CDE6600FFB5AC /* RuntimeDemoUITests.xctest */; + productType = "com.apple.product-type.bundle.ui-testing"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 69654F4E1C2CDE6600FFB5AC /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0720; + ORGANIZATIONNAME = huangyibiao; + TargetAttributes = { + 69654F551C2CDE6600FFB5AC = { + CreatedOnToolsVersion = 7.2; + }; + 69654F6E1C2CDE6600FFB5AC = { + CreatedOnToolsVersion = 7.2; + TestTargetID = 69654F551C2CDE6600FFB5AC; + }; + 69654F791C2CDE6600FFB5AC = { + CreatedOnToolsVersion = 7.2; + TestTargetID = 69654F551C2CDE6600FFB5AC; + }; + }; + }; + buildConfigurationList = 69654F511C2CDE6600FFB5AC /* Build configuration list for PBXProject "RuntimeDemo" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 69654F4D1C2CDE6600FFB5AC; + productRefGroup = 69654F571C2CDE6600FFB5AC /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 69654F551C2CDE6600FFB5AC /* RuntimeDemo */, + 69654F6E1C2CDE6600FFB5AC /* RuntimeDemoTests */, + 69654F791C2CDE6600FFB5AC /* RuntimeDemoUITests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 69654F541C2CDE6600FFB5AC /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 69654F691C2CDE6600FFB5AC /* LaunchScreen.storyboard in Resources */, + 69654F661C2CDE6600FFB5AC /* Assets.xcassets in Resources */, + 69654F641C2CDE6600FFB5AC /* Main.storyboard in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 69654F6D1C2CDE6600FFB5AC /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 69654F781C2CDE6600FFB5AC /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXShellScriptBuildPhase section */ + 64E012AA1CA97E018A940BB2 /* Copy Pods Resources */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "Copy Pods Resources"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods/Pods-resources.sh\"\n"; + showEnvVarsInLog = 0; + }; + 89BB4FA307D36FC42F0BE172 /* Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "Embed Pods Frameworks"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods/Pods-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + E8F35A7A0E95DED9B0C66F9F /* Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "Check Pods Manifest.lock"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n"; + showEnvVarsInLog = 0; + }; +/* End PBXShellScriptBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 69654F521C2CDE6600FFB5AC /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 69654F611C2CDE6600FFB5AC /* ViewController.m in Sources */, + 69654F5E1C2CDE6600FFB5AC /* AppDelegate.m in Sources */, + 69654F5B1C2CDE6600FFB5AC /* main.m in Sources */, + 6980598D1C30D6070021085B /* HYBTestModel.m in Sources */, + 69654F931C30214500FFB5AC /* UIControl+HYBBlock.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 69654F6B1C2CDE6600FFB5AC /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 69654F741C2CDE6600FFB5AC /* RuntimeDemoTests.m in Sources */, + 69654F941C30214500FFB5AC /* UIControl+HYBBlock.m in Sources */, + 6980598E1C30D6070021085B /* HYBTestModel.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 69654F761C2CDE6600FFB5AC /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 69654F7F1C2CDE6600FFB5AC /* RuntimeDemoUITests.m in Sources */, + 69654F951C30214500FFB5AC /* UIControl+HYBBlock.m in Sources */, + 6980598F1C30D6070021085B /* HYBTestModel.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 69654F711C2CDE6600FFB5AC /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 69654F551C2CDE6600FFB5AC /* RuntimeDemo */; + targetProxy = 69654F701C2CDE6600FFB5AC /* PBXContainerItemProxy */; + }; + 69654F7C1C2CDE6600FFB5AC /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 69654F551C2CDE6600FFB5AC /* RuntimeDemo */; + targetProxy = 69654F7B1C2CDE6600FFB5AC /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin PBXVariantGroup section */ + 69654F621C2CDE6600FFB5AC /* Main.storyboard */ = { + isa = PBXVariantGroup; + children = ( + 69654F631C2CDE6600FFB5AC /* Base */, + ); + name = Main.storyboard; + sourceTree = ""; + }; + 69654F671C2CDE6600FFB5AC /* LaunchScreen.storyboard */ = { + isa = PBXVariantGroup; + children = ( + 69654F681C2CDE6600FFB5AC /* Base */, + ); + name = LaunchScreen.storyboard; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + 69654F811C2CDE6600FFB5AC /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 9.2; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + }; + name = Debug; + }; + 69654F821C2CDE6600FFB5AC /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 9.2; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = iphoneos; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + 69654F841C2CDE6600FFB5AC /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 54494B247380150E00DCBCF2 /* Pods.debug.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + INFOPLIST_FILE = RuntimeDemo/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = com.huangyibiao.RuntimeDemo; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 69654F851C2CDE6600FFB5AC /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 2BDAA9539E871117ED795ADE /* Pods.release.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + INFOPLIST_FILE = RuntimeDemo/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = com.huangyibiao.RuntimeDemo; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 69654F871C2CDE6600FFB5AC /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + INFOPLIST_FILE = RuntimeDemoTests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = com.huangyibiao.RuntimeDemoTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/RuntimeDemo.app/RuntimeDemo"; + }; + name = Debug; + }; + 69654F881C2CDE6600FFB5AC /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + INFOPLIST_FILE = RuntimeDemoTests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = com.huangyibiao.RuntimeDemoTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/RuntimeDemo.app/RuntimeDemo"; + }; + name = Release; + }; + 69654F8A1C2CDE6600FFB5AC /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = RuntimeDemoUITests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = com.huangyibiao.RuntimeDemoUITests; + PRODUCT_NAME = "$(TARGET_NAME)"; + TEST_TARGET_NAME = RuntimeDemo; + USES_XCTRUNNER = YES; + }; + name = Debug; + }; + 69654F8B1C2CDE6600FFB5AC /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = RuntimeDemoUITests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = com.huangyibiao.RuntimeDemoUITests; + PRODUCT_NAME = "$(TARGET_NAME)"; + TEST_TARGET_NAME = RuntimeDemo; + USES_XCTRUNNER = YES; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 69654F511C2CDE6600FFB5AC /* Build configuration list for PBXProject "RuntimeDemo" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 69654F811C2CDE6600FFB5AC /* Debug */, + 69654F821C2CDE6600FFB5AC /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 69654F831C2CDE6600FFB5AC /* Build configuration list for PBXNativeTarget "RuntimeDemo" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 69654F841C2CDE6600FFB5AC /* Debug */, + 69654F851C2CDE6600FFB5AC /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 69654F861C2CDE6600FFB5AC /* Build configuration list for PBXNativeTarget "RuntimeDemoTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 69654F871C2CDE6600FFB5AC /* Debug */, + 69654F881C2CDE6600FFB5AC /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 69654F891C2CDE6600FFB5AC /* Build configuration list for PBXNativeTarget "RuntimeDemoUITests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 69654F8A1C2CDE6600FFB5AC /* Debug */, + 69654F8B1C2CDE6600FFB5AC /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 69654F4E1C2CDE6600FFB5AC /* Project object */; +} diff --git a/RuntimeDemo.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/RuntimeDemo.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..c0a7d5e --- /dev/null +++ b/RuntimeDemo.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/RuntimeDemo.xcodeproj/project.xcworkspace/xcuserdata/huangyibiao.xcuserdatad/UserInterfaceState.xcuserstate b/RuntimeDemo.xcodeproj/project.xcworkspace/xcuserdata/huangyibiao.xcuserdatad/UserInterfaceState.xcuserstate new file mode 100644 index 0000000000000000000000000000000000000000..df77bbe8e1ca3149e8a28f8a5bcedcfdf13a84b5 GIT binary patch literal 28488 zcmdsg349bq(|32z&P)!IY&IteVUz48T)FRi?GOQA-^=fpWOt_L-&NIB)zvlC zO=CxEi=!(k=^(<0AO^`0i#Yxp{!E>Ex~dpRSJmQfD3P6D<2n|KU&~P*YjYM%M9wi_%8ifi`5h_L{s1%i+vZD?(9nC;<(LA&W-GCOO8_`m<2KAt|XdPOQ?nfKYM)UyMik?Q# zpl8uGv>m;GUPZgnYv^_KCOVAXLm!|I(JAyX`V4)AzDD1mGw4Tj4*iOL!x$6HU_UI! z{#bznuo6e&C>)JdcsL$`N8)6hf-|uOYq1XNu>qIhQe1||;A&it$Ky$ODsI77;!f?>vd>6hCug4GK$MF+*3*L@*;5YCd{3hOu-@WB52efluO7_+$JD z{t|zM&*Ja#5BL}S2SJ1*UPMh|NGusjhLPc91Q|)?xa$fM**@)X%ho+i(cm&qRTCfQ5gA&1Eka*P}&pOMeW7vxLw75SQc$H*9#;TWFr zU_2Qw#+wOZf|(E|lo`TAGb&~%GlQAKT+L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eX?^LE(v77% zOJ6TNRC=WJXz7Qg$4gI@eo}h2^nB@WWvGlP^D6Txla~dQ1(g+)wU(_cTT`~NY)jeB zvfX8Gl@@va)9CK#O*)hLXcvbjUgjU2MI&5CRH?5*eVuRY_52>lBv9+GO#kDGO}`bWm08&WnE=`<>X3x zWoKnq<@CyHDj%=hQn|JA*~%T2FI2u%xvTQE$~~2DRqn4mRC%QGXyu2M$16`(ep2~a z<(HM;RDM_aL*>tv=d1WC&noXK->QjK)2iC4>{XprFI2r*^;Xrss)N;G)kCX?SC6bt zsD8P6U-g0NL)AxW+G=LkTwOD-MyL&{jjmPK#?}t6-B!E1_VwC5wQr4`Jk~L`d+dy{ zv+DxuqUuz2F?GZ0p0C?ex3})?x&!0d$ITfxcic7O=GTYRtLtOyht-d)|Dyiq`t$X_ z*8eg7it)bV<>Ld!zc>E$_|L|FG5+fbPfU1W!iy7Lp73fzc*C%U5e;z-i4E5_+|qDs z!)*;K8csKS-|%C@&kes!oIi2t#AOqgPrSpTvZPybEL!O`G9l7m{;b<;Wn|I+A5zRP AoB#j- literal 0 HcmV?d00001 diff --git a/RuntimeDemo.xcodeproj/xcuserdata/huangyibiao.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist b/RuntimeDemo.xcodeproj/xcuserdata/huangyibiao.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist new file mode 100644 index 0000000..fe2b454 --- /dev/null +++ b/RuntimeDemo.xcodeproj/xcuserdata/huangyibiao.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist @@ -0,0 +1,5 @@ + + + diff --git a/RuntimeDemo.xcodeproj/xcuserdata/huangyibiao.xcuserdatad/xcschemes/RuntimeDemo.xcscheme b/RuntimeDemo.xcodeproj/xcuserdata/huangyibiao.xcuserdatad/xcschemes/RuntimeDemo.xcscheme new file mode 100644 index 0000000..ce49102 --- /dev/null +++ b/RuntimeDemo.xcodeproj/xcuserdata/huangyibiao.xcuserdatad/xcschemes/RuntimeDemo.xcscheme @@ -0,0 +1,116 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/RuntimeDemo.xcodeproj/xcuserdata/huangyibiao.xcuserdatad/xcschemes/xcschememanagement.plist b/RuntimeDemo.xcodeproj/xcuserdata/huangyibiao.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..f304504 --- /dev/null +++ b/RuntimeDemo.xcodeproj/xcuserdata/huangyibiao.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,32 @@ + + + + + SchemeUserState + + RuntimeDemo.xcscheme + + orderHint + 0 + + + SuppressBuildableAutocreation + + 69654F551C2CDE6600FFB5AC + + primary + + + 69654F6E1C2CDE6600FFB5AC + + primary + + + 69654F791C2CDE6600FFB5AC + + primary + + + + + diff --git a/RuntimeDemo.xcworkspace/contents.xcworkspacedata b/RuntimeDemo.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..79241be --- /dev/null +++ b/RuntimeDemo.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,10 @@ + + + + + + + diff --git a/RuntimeDemo.xcworkspace/xcuserdata/huangyibiao.xcuserdatad/UserInterfaceState.xcuserstate b/RuntimeDemo.xcworkspace/xcuserdata/huangyibiao.xcuserdatad/UserInterfaceState.xcuserstate new file mode 100644 index 0000000000000000000000000000000000000000..fe6f64bfdac58743cc08042dc7eb1299123c3e39 GIT binary patch literal 13856 zcmdUVd3=-A(*IeWrp?kOX|uF}(j-mNK-0anYyw@Otd%Z6SxVZbZ6Hlbk^;3NCxD2E zh`U$3N?VZSx}c&ciio)2F8dMlz>!7jna@64MsyyIF5HIQ*n`{gLhQv$a3@}d8D4{Lz-#f1 z_-5RTH{s3re!K;5#oO?9{13bfKZ&2hyYbWb8N3HSix1#e@Z0zpK91kP@8OT|8T=Xk z0)Ks}2YrM- zN*|+7(cScE`Z7I0U!kwk*XZl?4SJ9sqQ~fI`cL{U{f>T5f1p3opXkr@JpF}Upcm<{ z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~|OOs`xWr?NB za*ZWmS#7z&vd(g|w1a7<(mqH#n|8s9t(-O5DzPf9Dy!D2vktVHt!dT_>j-O+wbVM!I>CCS zwc0w}T4$YYby!=ierv$G+IoX^o%LqxUDgfOd#&BpUh8)2W7enB_35eUw)7F{Md{tJ1GeUz@%zeSP{Z>ATWT+eEf(+i+WvZGvsGt=2Zj z)?iy@g6&UQY8e~Ivy LTM>zWZ5RF@yZVE@ literal 0 HcmV?d00001 diff --git a/RuntimeDemo.xcworkspace/xcuserdata/huangyibiao.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist b/RuntimeDemo.xcworkspace/xcuserdata/huangyibiao.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist new file mode 100644 index 0000000..ed9a9b4 --- /dev/null +++ b/RuntimeDemo.xcworkspace/xcuserdata/huangyibiao.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist @@ -0,0 +1,5 @@ + + + diff --git a/RuntimeDemo/AppDelegate.h b/RuntimeDemo/AppDelegate.h new file mode 100644 index 0000000..e01b8fa --- /dev/null +++ b/RuntimeDemo/AppDelegate.h @@ -0,0 +1,17 @@ +// +// AppDelegate.h +// RuntimeDemo +// +// Created by huangyibiao on 15/12/25. +// Copyright © 2015年 huangyibiao. All rights reserved. +// + +#import + +@interface AppDelegate : UIResponder + +@property (strong, nonatomic) UIWindow *window; + + +@end + diff --git a/RuntimeDemo/AppDelegate.m b/RuntimeDemo/AppDelegate.m new file mode 100644 index 0000000..d44025f --- /dev/null +++ b/RuntimeDemo/AppDelegate.m @@ -0,0 +1,45 @@ +// +// AppDelegate.m +// RuntimeDemo +// +// Created by huangyibiao on 15/12/25. +// Copyright © 2015年 huangyibiao. All rights reserved. +// + +#import "AppDelegate.h" + +@interface AppDelegate () + +@end + +@implementation AppDelegate + + +- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { + // Override point for customization after application launch. + return YES; +} + +- (void)applicationWillResignActive:(UIApplication *)application { + // 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. + // 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. +} + +- (void)applicationDidEnterBackground:(UIApplication *)application { + // 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. + // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. +} + +- (void)applicationWillEnterForeground:(UIApplication *)application { + // 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. +} + +- (void)applicationDidBecomeActive:(UIApplication *)application { + // 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. +} + +- (void)applicationWillTerminate:(UIApplication *)application { + // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. +} + +@end diff --git a/RuntimeDemo/Assets.xcassets/AppIcon.appiconset/Contents.json b/RuntimeDemo/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..118c98f --- /dev/null +++ b/RuntimeDemo/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,38 @@ +{ + "images" : [ + { + "idiom" : "iphone", + "size" : "29x29", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "29x29", + "scale" : "3x" + }, + { + "idiom" : "iphone", + "size" : "40x40", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "40x40", + "scale" : "3x" + }, + { + "idiom" : "iphone", + "size" : "60x60", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "60x60", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/RuntimeDemo/Base.lproj/LaunchScreen.storyboard b/RuntimeDemo/Base.lproj/LaunchScreen.storyboard new file mode 100644 index 0000000..2e721e1 --- /dev/null +++ b/RuntimeDemo/Base.lproj/LaunchScreen.storyboard @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/RuntimeDemo/Base.lproj/Main.storyboard b/RuntimeDemo/Base.lproj/Main.storyboard new file mode 100644 index 0000000..be3f204 --- /dev/null +++ b/RuntimeDemo/Base.lproj/Main.storyboard @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/RuntimeDemo/HYBTestModel.h b/RuntimeDemo/HYBTestModel.h new file mode 100644 index 0000000..0a9023e --- /dev/null +++ b/RuntimeDemo/HYBTestModel.h @@ -0,0 +1,42 @@ +// +// HYBTestModel.h +// RuntimeDemo +// +// Created by huangyibiao on 15/12/28. +// Copyright © 2015年 huangyibiao. All rights reserved. +// + +#import + +@protocol HYBEmptyPropertyProperty + +// 设置默认值,若为空,则取出来的就是默认值 +- (NSDictionary *)defaultValueForEmptyProperty; + +@end + +@interface HYBTestModel : NSObject + +@property (nonatomic, copy) NSString *name; +@property (nonatomic, copy) NSString *title; +@property (nonatomic, strong) NSNumber *count; +@property (nonatomic, assign) int commentCount; +@property (nonatomic, strong) NSArray *summaries; +@property (nonatomic, strong) NSDictionary *parameters; +@property (nonatomic, strong) NSSet *results; + +@property (nonatomic, strong) HYBTestModel *testModel; + +// 只读属性 +@property (nonatomic, assign, readonly) NSString *classVersion; + +// 通过这个方法来实现自动生成model +- (instancetype)initWithDictionary:(NSDictionary *)dictionary; + +// 转换成字典 +- (NSDictionary *)toDictionary; + +// 测试 ++ (void)test; + +@end diff --git a/RuntimeDemo/HYBTestModel.m b/RuntimeDemo/HYBTestModel.m new file mode 100644 index 0000000..3286bf7 --- /dev/null +++ b/RuntimeDemo/HYBTestModel.m @@ -0,0 +1,172 @@ +// +// HYBTestModel.m +// RuntimeDemo +// +// Created by huangyibiao on 15/12/28. +// Copyright © 2015年 huangyibiao. All rights reserved. +// + +#import "HYBTestModel.h" +#import +#import + +@implementation HYBTestModel + +- (instancetype)initWithDictionary:(NSDictionary *)dictionary { + if (self = [super init]) { + for (NSString *key in dictionary.allKeys) { + id value = [dictionary objectForKey:key]; + + if ([key isEqualToString:@"testModel"]) { + HYBTestModel *testModel = [[HYBTestModel alloc] initWithDictionary:value]; + value = testModel; + self.testModel = testModel; + + continue; + } + + SEL setter = [self propertySetterWithKey:key]; + if (setter != nil) { + ((void (*)(id, SEL, id))objc_msgSend)(self, setter, value); + } + } + } + + return self; +} + +- (NSDictionary *)toDictionary { + unsigned int outCount = 0; + objc_property_t *properties = class_copyPropertyList([self class], &outCount); + + if (outCount != 0) { + NSMutableDictionary *dict = [[NSMutableDictionary alloc] initWithCapacity:outCount]; + + for (unsigned int i = 0; i < outCount; ++i) { + objc_property_t property = properties[i]; + const void *propertyName = property_getName(property); + NSString *key = [NSString stringWithUTF8String:propertyName]; + + // 继承于NSObject的类都会有这几个在NSObject中的属性 + if ([key isEqualToString:@"description"] + || [key isEqualToString:@"debugDescription"] + || [key isEqualToString:@"hash"] + || [key isEqualToString:@"superclass"]) { + continue; + } + + // 我们只是测试,不做通用封装,因此这里不额外写方法做通用处理,只是写死测试一下效果 + if ([key isEqualToString:@"testModel"]) { + if ([self respondsToSelector:@selector(toDictionary)]) { + id testModel = [self.testModel toDictionary]; + if (testModel != nil) { + [dict setObject:testModel forKey:key]; + } + continue; + } + } + + SEL getter = [self propertyGetterWithKey:key]; + if (getter != nil) { + // 获取方法的签名 + NSMethodSignature *signature = [self methodSignatureForSelector:getter]; + + // 根据方法签名获取NSInvocation对象 + NSInvocation *invocation = [NSInvocation invocationWithMethodSignature:signature]; + // 设置target + [invocation setTarget:self]; + // 设置selector + [invocation setSelector:getter]; + + // 方法调用 + [invocation invoke]; + + // 接收返回的值 + __unsafe_unretained NSObject *propertyValue = nil; + [invocation getReturnValue:&propertyValue]; + + // id propertyValue = [self performSelector:getter]; + + if (propertyValue == nil) { + if ([self respondsToSelector:@selector(defaultValueForEmptyProperty)]) { + NSDictionary *defaultValueDict = [self defaultValueForEmptyProperty]; + + id defaultValue = [defaultValueDict objectForKey:key]; + propertyValue = defaultValue; + } + } + + if (propertyValue != nil) { + [dict setObject:propertyValue forKey:key]; + } + } + } + + free(properties); + + return dict; + } + + free(properties); + return nil; +} + +- (SEL)propertyGetterWithKey:(NSString *)key { + if (key != nil) { + SEL getter = NSSelectorFromString(key); + + if ([self respondsToSelector:getter]) { + return getter; + } + } + + return nil; +} + +- (SEL)propertySetterWithKey:(NSString *)key { + NSString *propertySetter = key.capitalizedString; + propertySetter = [NSString stringWithFormat:@"set%@:", propertySetter]; + + // 生成setter方法 + SEL setter = NSSelectorFromString(propertySetter); + + if ([self respondsToSelector:setter]) { + return setter; + } + + return nil; +} + +#pragma mark - HYBEmptyPropertyProperty +- (NSDictionary *)defaultValueForEmptyProperty { + return @{@"name" : [NSNull null], + @"title" : [NSNull null], + @"count" : @(1), + @"commentCount" : @(1), + @"classVersion" : @"0.0.1"}; +} + ++ (void)test { + NSMutableSet *set = [NSMutableSet setWithArray:@[@"可变集合", @"字典->不可变集合->可变集合"]]; + NSDictionary *dict = @{@"name" : @"标哥的技术博客", + @"title" : @"http://www.henishuo.com", + @"count" : @(11), + @"results" : [NSSet setWithObjects:@"集合值1", @"集合值2", set , nil], + @"summaries" : @[@"sm1", @"sm2", @{@"keysm": @{@"stkey": @"字典->数组->字典->字典"}}], + @"parameters" : @{@"key1" : @"value1", @"key2": @{@"key11" : @"value11", @"key12" : @[@"三层", @"字典->字典->数组"]}}, + @"classVersion" : @(1.1), + @"testModel" : @{@"name" : @"标哥的技术博客", + @"title" : @"http://www.henishuo.com", + @"count" : @(11), + @"results" : [NSSet setWithObjects:@"集合值1", @"集合值2", set , nil], + @"summaries" : @[@"sm1", @"sm2", @{@"keysm": @{@"stkey": @"字典->数组->字典->字典"}}], + @"parameters" : @{@"key1" : @"value1", @"key2": @{@"key11" : @"value11", @"key12" : @[@"三层", @"字典->字典->数组"]}}, + @"classVersion" : @(1.1)}}; + HYBTestModel *model = [[HYBTestModel alloc] initWithDictionary:dict]; + + NSLog(@"%@", model); + + NSLog(@"model->dict: %@", [model toDictionary]); +} + +@end diff --git a/RuntimeDemo/Info.plist b/RuntimeDemo/Info.plist new file mode 100644 index 0000000..6905cc6 --- /dev/null +++ b/RuntimeDemo/Info.plist @@ -0,0 +1,40 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + APPL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1 + LSRequiresIPhoneOS + + UILaunchStoryboardName + LaunchScreen + UIMainStoryboardFile + Main + UIRequiredDeviceCapabilities + + armv7 + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + + diff --git a/RuntimeDemo/UIControl+HYBBlock.h b/RuntimeDemo/UIControl+HYBBlock.h new file mode 100644 index 0000000..90c8795 --- /dev/null +++ b/RuntimeDemo/UIControl+HYBBlock.h @@ -0,0 +1,17 @@ +// +// UIControl+HYBBlock.h +// RuntimeDemo +// +// Created by huangyibiao on 15/12/27. +// Copyright © 2015年 huangyibiao. All rights reserved. +// + +#import + +typedef void (^HYBTouchUpBlock)(id sender); + +@interface UIControl (HYBBlock) + +@property (nonatomic, copy) HYBTouchUpBlock hyb_touchUpBlock; + +@end diff --git a/RuntimeDemo/UIControl+HYBBlock.m b/RuntimeDemo/UIControl+HYBBlock.m new file mode 100644 index 0000000..6013515 --- /dev/null +++ b/RuntimeDemo/UIControl+HYBBlock.m @@ -0,0 +1,45 @@ +// +// UIControl+HYBBlock.m +// RuntimeDemo +// +// Created by huangyibiao on 15/12/27. +// Copyright © 2015年 huangyibiao. All rights reserved. +// + +#import "UIControl+HYBBlock.h" +#import + +static const void *sHYBUIControlTouchUpEventBlockKey = "sHYBUIControlTouchUpEventBlockKey"; + +@implementation UIControl (HYBBlock) + +- (void)setHyb_touchUpBlock:(HYBTouchUpBlock)hyb_touchUpBlock { + objc_setAssociatedObject(self, + sHYBUIControlTouchUpEventBlockKey, + hyb_touchUpBlock, + OBJC_ASSOCIATION_COPY); + + [self removeTarget:self + action:@selector(hybOnTouchUp:) + forControlEvents:UIControlEventTouchUpInside]; + + if (hyb_touchUpBlock) { + [self addTarget:self + action:@selector(hybOnTouchUp:) + forControlEvents:UIControlEventTouchUpInside]; + } +} + +- (HYBTouchUpBlock)hyb_touchUpBlock { + return objc_getAssociatedObject(self, sHYBUIControlTouchUpEventBlockKey); +} + +- (void)hybOnTouchUp:(UIButton *)sender { + HYBTouchUpBlock touchUp = self.hyb_touchUpBlock; + + if (touchUp) { + touchUp(sender); + } +} + +@end diff --git a/RuntimeDemo/ViewController.h b/RuntimeDemo/ViewController.h new file mode 100644 index 0000000..5362bfe --- /dev/null +++ b/RuntimeDemo/ViewController.h @@ -0,0 +1,15 @@ +// +// ViewController.h +// RuntimeDemo +// +// Created by huangyibiao on 15/12/25. +// Copyright © 2015年 huangyibiao. All rights reserved. +// + +#import + +@interface ViewController : UIViewController + + +@end + diff --git a/RuntimeDemo/ViewController.m b/RuntimeDemo/ViewController.m new file mode 100644 index 0000000..50a3ca2 --- /dev/null +++ b/RuntimeDemo/ViewController.m @@ -0,0 +1,34 @@ +// +// ViewController.m +// RuntimeDemo +// +// Created by huangyibiao on 15/12/25. +// Copyright © 2015年 huangyibiao. All rights reserved. +// + +#import "ViewController.h" +#import +#import +#import "HYBTestModel.h" + +@interface ViewController () + + + +@end + +@implementation ViewController + +- (void)viewDidLoad { + [super viewDidLoad]; + // Do any additional setup after loading the view, typically from a nib. + + [HYBTestModel test]; +} + +- (void)didReceiveMemoryWarning { + [super didReceiveMemoryWarning]; + // Dispose of any resources that can be recreated. +} + +@end diff --git a/RuntimeDemo/main.m b/RuntimeDemo/main.m new file mode 100644 index 0000000..63b3e99 --- /dev/null +++ b/RuntimeDemo/main.m @@ -0,0 +1,16 @@ +// +// main.m +// RuntimeDemo +// +// Created by huangyibiao on 15/12/25. +// Copyright © 2015年 huangyibiao. All rights reserved. +// + +#import +#import "AppDelegate.h" + +int main(int argc, char * argv[]) { + @autoreleasepool { + return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); + } +} diff --git a/RuntimeDemoTests/Info.plist b/RuntimeDemoTests/Info.plist new file mode 100644 index 0000000..ba72822 --- /dev/null +++ b/RuntimeDemoTests/Info.plist @@ -0,0 +1,24 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + BNDL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1 + + diff --git a/RuntimeDemoTests/RuntimeDemoTests.m b/RuntimeDemoTests/RuntimeDemoTests.m new file mode 100644 index 0000000..b2ba9fd --- /dev/null +++ b/RuntimeDemoTests/RuntimeDemoTests.m @@ -0,0 +1,39 @@ +// +// RuntimeDemoTests.m +// RuntimeDemoTests +// +// Created by huangyibiao on 15/12/25. +// Copyright © 2015年 huangyibiao. All rights reserved. +// + +#import + +@interface RuntimeDemoTests : XCTestCase + +@end + +@implementation RuntimeDemoTests + +- (void)setUp { + [super setUp]; + // Put setup code here. This method is called before the invocation of each test method in the class. +} + +- (void)tearDown { + // Put teardown code here. This method is called after the invocation of each test method in the class. + [super tearDown]; +} + +- (void)testExample { + // This is an example of a functional test case. + // Use XCTAssert and related functions to verify your tests produce the correct results. +} + +- (void)testPerformanceExample { + // This is an example of a performance test case. + [self measureBlock:^{ + // Put the code you want to measure the time of here. + }]; +} + +@end diff --git a/RuntimeDemoUITests/Info.plist b/RuntimeDemoUITests/Info.plist new file mode 100644 index 0000000..ba72822 --- /dev/null +++ b/RuntimeDemoUITests/Info.plist @@ -0,0 +1,24 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + BNDL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1 + + diff --git a/RuntimeDemoUITests/RuntimeDemoUITests.m b/RuntimeDemoUITests/RuntimeDemoUITests.m new file mode 100644 index 0000000..b138240 --- /dev/null +++ b/RuntimeDemoUITests/RuntimeDemoUITests.m @@ -0,0 +1,40 @@ +// +// RuntimeDemoUITests.m +// RuntimeDemoUITests +// +// Created by huangyibiao on 15/12/25. +// Copyright © 2015年 huangyibiao. All rights reserved. +// + +#import + +@interface RuntimeDemoUITests : XCTestCase + +@end + +@implementation RuntimeDemoUITests + +- (void)setUp { + [super setUp]; + + // Put setup code here. This method is called before the invocation of each test method in the class. + + // In UI tests it is usually best to stop immediately when a failure occurs. + self.continueAfterFailure = NO; + // UI tests must launch the application that they test. Doing this in setup will make sure it happens for each test method. + [[[XCUIApplication alloc] init] launch]; + + // In UI tests it’s important to set the initial state - such as interface orientation - required for your tests before they run. The setUp method is a good place to do this. +} + +- (void)tearDown { + // Put teardown code here. This method is called after the invocation of each test method in the class. + [super tearDown]; +} + +- (void)testExample { + // Use recording to get started writing UI tests. + // Use XCTAssert and related functions to verify your tests produce the correct results. +} + +@end