Skip to content
Browse files

Initial Commit

  • Loading branch information...
0 parents commit ff020d99d2d033077fe48e83228c52c3097784c4 @dongle dongle committed Jan 30, 2013
Showing with 1,534 additions and 0 deletions.
  1. +12 −0 .gitignore
  2. +475 −0 Example/NSStringEmojize.xcodeproj/project.pbxproj
  3. +7 −0 Example/NSStringEmojize.xcodeproj/project.xcworkspace/contents.xcworkspacedata
  4. +15 −0 Example/NSStringEmojize/DIYAppDelegate.h
  5. +49 −0 Example/NSStringEmojize/DIYAppDelegate.m
  6. +13 −0 Example/NSStringEmojize/DIYViewController.h
  7. +34 −0 Example/NSStringEmojize/DIYViewController.m
  8. BIN Example/NSStringEmojize/Default-568h@2x.png
  9. BIN Example/NSStringEmojize/Default.png
  10. BIN Example/NSStringEmojize/Default@2x.png
  11. +38 −0 Example/NSStringEmojize/NSStringEmojize-Info.plist
  12. +14 −0 Example/NSStringEmojize/NSStringEmojize-Prefix.pch
  13. +2 −0 Example/NSStringEmojize/en.lproj/InfoPlist.strings
  14. +18 −0 Example/NSStringEmojize/main.m
  15. +22 −0 Example/NSStringEmojizeTests/NSStringEmojizeTests-Info.plist
  16. +13 −0 Example/NSStringEmojizeTests/NSStringEmojizeTests.h
  17. +21 −0 Example/NSStringEmojizeTests/NSStringEmojizeTests.m
  18. +2 −0 Example/NSStringEmojizeTests/en.lproj/InfoPlist.strings
  19. +13 −0 LICENSE.md
  20. +14 −0 NSStringEmojize.podspec
  21. +17 −0 NSStringEmojize/NSString+Emojize.h
  22. +69 −0 NSStringEmojize/NSString+Emojize.m
  23. +451 −0 NSStringEmojize/NSStringEmojize.xcodeproj/project.pbxproj
  24. +15 −0 NSStringEmojize/NSStringEmojize/DIYAppDelegate.h
  25. +49 −0 NSStringEmojize/NSStringEmojize/DIYAppDelegate.m
  26. BIN NSStringEmojize/NSStringEmojize/Default-568h@2x.png
  27. BIN NSStringEmojize/NSStringEmojize/Default.png
  28. BIN NSStringEmojize/NSStringEmojize/Default@2x.png
  29. +38 −0 NSStringEmojize/NSStringEmojize/NSStringEmojize-Info.plist
  30. +14 −0 NSStringEmojize/NSStringEmojize/NSStringEmojize-Prefix.pch
  31. +2 −0 NSStringEmojize/NSStringEmojize/en.lproj/InfoPlist.strings
  32. +18 −0 NSStringEmojize/NSStringEmojize/main.m
  33. +22 −0 NSStringEmojize/NSStringEmojizeTests/NSStringEmojizeTests-Info.plist
  34. +13 −0 NSStringEmojize/NSStringEmojizeTests/NSStringEmojizeTests.h
  35. +32 −0 NSStringEmojize/NSStringEmojizeTests/NSStringEmojizeTests.m
  36. +2 −0 NSStringEmojize/NSStringEmojizeTests/en.lproj/InfoPlist.strings
  37. +30 −0 README.md
12 .gitignore
@@ -0,0 +1,12 @@
+.DS_Store
+*.swp
+*~.nib
+
+build/
+
+.xcodeproj/
+!*.xcodeproj/project.pbxproj
+*.mode1v3
+*.mode2v3
+
+xcuserdata
475 Example/NSStringEmojize.xcodeproj/project.pbxproj
@@ -0,0 +1,475 @@
+// !$*UTF8*$!
+{
+ archiveVersion = 1;
+ classes = {
+ };
+ objectVersion = 46;
+ objects = {
+
+/* Begin PBXBuildFile section */
+ DEC769E916B9AE7600764C30 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DEC769E816B9AE7600764C30 /* UIKit.framework */; };
+ DEC769EB16B9AE7600764C30 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DEC769EA16B9AE7600764C30 /* Foundation.framework */; };
+ DEC769ED16B9AE7600764C30 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DEC769EC16B9AE7600764C30 /* CoreGraphics.framework */; };
+ DEC769F316B9AE7600764C30 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = DEC769F116B9AE7600764C30 /* InfoPlist.strings */; };
+ DEC769F516B9AE7600764C30 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = DEC769F416B9AE7600764C30 /* main.m */; };
+ DEC769F916B9AE7600764C30 /* DIYAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = DEC769F816B9AE7600764C30 /* DIYAppDelegate.m */; };
+ DEC769FB16B9AE7600764C30 /* Default.png in Resources */ = {isa = PBXBuildFile; fileRef = DEC769FA16B9AE7600764C30 /* Default.png */; };
+ DEC769FD16B9AE7600764C30 /* Default@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = DEC769FC16B9AE7600764C30 /* Default@2x.png */; };
+ DEC769FF16B9AE7600764C30 /* Default-568h@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = DEC769FE16B9AE7600764C30 /* Default-568h@2x.png */; };
+ DEC76A0716B9AE7600764C30 /* SenTestingKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DEC76A0616B9AE7600764C30 /* SenTestingKit.framework */; };
+ DEC76A0816B9AE7600764C30 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DEC769E816B9AE7600764C30 /* UIKit.framework */; };
+ DEC76A0916B9AE7600764C30 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DEC769EA16B9AE7600764C30 /* Foundation.framework */; };
+ DEC76A1116B9AE7600764C30 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = DEC76A0F16B9AE7600764C30 /* InfoPlist.strings */; };
+ DEC76A1416B9AE7600764C30 /* NSStringEmojizeTests.m in Sources */ = {isa = PBXBuildFile; fileRef = DEC76A1316B9AE7600764C30 /* NSStringEmojizeTests.m */; };
+ DEC76A2016B9AEEE00764C30 /* NSString+Emojize.m in Sources */ = {isa = PBXBuildFile; fileRef = DEC76A1F16B9AEEE00764C30 /* NSString+Emojize.m */; };
+ DEC76A2316B9B13500764C30 /* DIYViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = DEC76A2216B9B13500764C30 /* DIYViewController.m */; };
+/* End PBXBuildFile section */
+
+/* Begin PBXContainerItemProxy section */
+ DEC76A0A16B9AE7600764C30 /* PBXContainerItemProxy */ = {
+ isa = PBXContainerItemProxy;
+ containerPortal = DEC769DD16B9AE7500764C30 /* Project object */;
+ proxyType = 1;
+ remoteGlobalIDString = DEC769E416B9AE7600764C30;
+ remoteInfo = NSStringEmojize;
+ };
+/* End PBXContainerItemProxy section */
+
+/* Begin PBXFileReference section */
+ DEC769E516B9AE7600764C30 /* NSStringEmojize.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = NSStringEmojize.app; sourceTree = BUILT_PRODUCTS_DIR; };
+ DEC769E816B9AE7600764C30 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
+ DEC769EA16B9AE7600764C30 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
+ DEC769EC16B9AE7600764C30 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
+ DEC769F016B9AE7600764C30 /* NSStringEmojize-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "NSStringEmojize-Info.plist"; sourceTree = "<group>"; };
+ DEC769F216B9AE7600764C30 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
+ DEC769F416B9AE7600764C30 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
+ DEC769F616B9AE7600764C30 /* NSStringEmojize-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "NSStringEmojize-Prefix.pch"; sourceTree = "<group>"; };
+ DEC769F716B9AE7600764C30 /* DIYAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = DIYAppDelegate.h; sourceTree = "<group>"; };
+ DEC769F816B9AE7600764C30 /* DIYAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = DIYAppDelegate.m; sourceTree = "<group>"; };
+ DEC769FA16B9AE7600764C30 /* Default.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Default.png; sourceTree = "<group>"; };
+ DEC769FC16B9AE7600764C30 /* Default@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default@2x.png"; sourceTree = "<group>"; };
+ DEC769FE16B9AE7600764C30 /* Default-568h@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default-568h@2x.png"; sourceTree = "<group>"; };
+ DEC76A0516B9AE7600764C30 /* NSStringEmojizeTests.octest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = NSStringEmojizeTests.octest; sourceTree = BUILT_PRODUCTS_DIR; };
+ DEC76A0616B9AE7600764C30 /* SenTestingKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SenTestingKit.framework; path = Library/Frameworks/SenTestingKit.framework; sourceTree = DEVELOPER_DIR; };
+ DEC76A0E16B9AE7600764C30 /* NSStringEmojizeTests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "NSStringEmojizeTests-Info.plist"; sourceTree = "<group>"; };
+ DEC76A1016B9AE7600764C30 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
+ DEC76A1216B9AE7600764C30 /* NSStringEmojizeTests.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = NSStringEmojizeTests.h; sourceTree = "<group>"; };
+ DEC76A1316B9AE7600764C30 /* NSStringEmojizeTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = NSStringEmojizeTests.m; sourceTree = "<group>"; };
+ DEC76A1E16B9AEEE00764C30 /* NSString+Emojize.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSString+Emojize.h"; sourceTree = "<group>"; };
+ DEC76A1F16B9AEEE00764C30 /* NSString+Emojize.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSString+Emojize.m"; sourceTree = "<group>"; };
+ DEC76A2116B9B13500764C30 /* DIYViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DIYViewController.h; sourceTree = "<group>"; };
+ DEC76A2216B9B13500764C30 /* DIYViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DIYViewController.m; sourceTree = "<group>"; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+ DEC769E216B9AE7600764C30 /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ DEC769E916B9AE7600764C30 /* UIKit.framework in Frameworks */,
+ DEC769EB16B9AE7600764C30 /* Foundation.framework in Frameworks */,
+ DEC769ED16B9AE7600764C30 /* CoreGraphics.framework in Frameworks */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+ DEC76A0116B9AE7600764C30 /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ DEC76A0716B9AE7600764C30 /* SenTestingKit.framework in Frameworks */,
+ DEC76A0816B9AE7600764C30 /* UIKit.framework in Frameworks */,
+ DEC76A0916B9AE7600764C30 /* Foundation.framework in Frameworks */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+ DEC769DC16B9AE7500764C30 = {
+ isa = PBXGroup;
+ children = (
+ DEC76A1D16B9AEEE00764C30 /* NSStringEmojize */,
+ DEC769EE16B9AE7600764C30 /* Example */,
+ DEC76A0C16B9AE7600764C30 /* NSStringEmojizeTests */,
+ DEC769E716B9AE7600764C30 /* Frameworks */,
+ DEC769E616B9AE7600764C30 /* Products */,
+ );
+ sourceTree = "<group>";
+ };
+ DEC769E616B9AE7600764C30 /* Products */ = {
+ isa = PBXGroup;
+ children = (
+ DEC769E516B9AE7600764C30 /* NSStringEmojize.app */,
+ DEC76A0516B9AE7600764C30 /* NSStringEmojizeTests.octest */,
+ );
+ name = Products;
+ sourceTree = "<group>";
+ };
+ DEC769E716B9AE7600764C30 /* Frameworks */ = {
+ isa = PBXGroup;
+ children = (
+ DEC769E816B9AE7600764C30 /* UIKit.framework */,
+ DEC769EA16B9AE7600764C30 /* Foundation.framework */,
+ DEC769EC16B9AE7600764C30 /* CoreGraphics.framework */,
+ DEC76A0616B9AE7600764C30 /* SenTestingKit.framework */,
+ );
+ name = Frameworks;
+ sourceTree = "<group>";
+ };
+ DEC769EE16B9AE7600764C30 /* Example */ = {
+ isa = PBXGroup;
+ children = (
+ DEC769F716B9AE7600764C30 /* DIYAppDelegate.h */,
+ DEC769F816B9AE7600764C30 /* DIYAppDelegate.m */,
+ DEC76A2116B9B13500764C30 /* DIYViewController.h */,
+ DEC76A2216B9B13500764C30 /* DIYViewController.m */,
+ DEC769EF16B9AE7600764C30 /* Supporting Files */,
+ );
+ name = Example;
+ path = NSStringEmojize;
+ sourceTree = "<group>";
+ };
+ DEC769EF16B9AE7600764C30 /* Supporting Files */ = {
+ isa = PBXGroup;
+ children = (
+ DEC769F016B9AE7600764C30 /* NSStringEmojize-Info.plist */,
+ DEC769F116B9AE7600764C30 /* InfoPlist.strings */,
+ DEC769F416B9AE7600764C30 /* main.m */,
+ DEC769F616B9AE7600764C30 /* NSStringEmojize-Prefix.pch */,
+ DEC769FA16B9AE7600764C30 /* Default.png */,
+ DEC769FC16B9AE7600764C30 /* Default@2x.png */,
+ DEC769FE16B9AE7600764C30 /* Default-568h@2x.png */,
+ );
+ name = "Supporting Files";
+ sourceTree = "<group>";
+ };
+ DEC76A0C16B9AE7600764C30 /* NSStringEmojizeTests */ = {
+ isa = PBXGroup;
+ children = (
+ DEC76A1216B9AE7600764C30 /* NSStringEmojizeTests.h */,
+ DEC76A1316B9AE7600764C30 /* NSStringEmojizeTests.m */,
+ DEC76A0D16B9AE7600764C30 /* Supporting Files */,
+ );
+ path = NSStringEmojizeTests;
+ sourceTree = "<group>";
+ };
+ DEC76A0D16B9AE7600764C30 /* Supporting Files */ = {
+ isa = PBXGroup;
+ children = (
+ DEC76A0E16B9AE7600764C30 /* NSStringEmojizeTests-Info.plist */,
+ DEC76A0F16B9AE7600764C30 /* InfoPlist.strings */,
+ );
+ name = "Supporting Files";
+ sourceTree = "<group>";
+ };
+ DEC76A1D16B9AEEE00764C30 /* NSStringEmojize */ = {
+ isa = PBXGroup;
+ children = (
+ DEC76A1E16B9AEEE00764C30 /* NSString+Emojize.h */,
+ DEC76A1F16B9AEEE00764C30 /* NSString+Emojize.m */,
+ );
+ name = NSStringEmojize;
+ path = ../NSStringEmojize;
+ sourceTree = "<group>";
+ };
+/* End PBXGroup section */
+
+/* Begin PBXNativeTarget section */
+ DEC769E416B9AE7600764C30 /* NSStringEmojize */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = DEC76A1716B9AE7600764C30 /* Build configuration list for PBXNativeTarget "NSStringEmojize" */;
+ buildPhases = (
+ DEC769E116B9AE7600764C30 /* Sources */,
+ DEC769E216B9AE7600764C30 /* Frameworks */,
+ DEC769E316B9AE7600764C30 /* Resources */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ );
+ name = NSStringEmojize;
+ productName = NSStringEmojize;
+ productReference = DEC769E516B9AE7600764C30 /* NSStringEmojize.app */;
+ productType = "com.apple.product-type.application";
+ };
+ DEC76A0416B9AE7600764C30 /* NSStringEmojizeTests */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = DEC76A1A16B9AE7600764C30 /* Build configuration list for PBXNativeTarget "NSStringEmojizeTests" */;
+ buildPhases = (
+ DEC76A0016B9AE7600764C30 /* Sources */,
+ DEC76A0116B9AE7600764C30 /* Frameworks */,
+ DEC76A0216B9AE7600764C30 /* Resources */,
+ DEC76A0316B9AE7600764C30 /* ShellScript */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ DEC76A0B16B9AE7600764C30 /* PBXTargetDependency */,
+ );
+ name = NSStringEmojizeTests;
+ productName = NSStringEmojizeTests;
+ productReference = DEC76A0516B9AE7600764C30 /* NSStringEmojizeTests.octest */;
+ productType = "com.apple.product-type.bundle";
+ };
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+ DEC769DD16B9AE7500764C30 /* Project object */ = {
+ isa = PBXProject;
+ attributes = {
+ CLASSPREFIX = DIY;
+ LastUpgradeCheck = 0460;
+ ORGANIZATIONNAME = DIY;
+ };
+ buildConfigurationList = DEC769E016B9AE7600764C30 /* Build configuration list for PBXProject "NSStringEmojize" */;
+ compatibilityVersion = "Xcode 3.2";
+ developmentRegion = English;
+ hasScannedForEncodings = 0;
+ knownRegions = (
+ en,
+ );
+ mainGroup = DEC769DC16B9AE7500764C30;
+ productRefGroup = DEC769E616B9AE7600764C30 /* Products */;
+ projectDirPath = "";
+ projectRoot = "";
+ targets = (
+ DEC769E416B9AE7600764C30 /* NSStringEmojize */,
+ DEC76A0416B9AE7600764C30 /* NSStringEmojizeTests */,
+ );
+ };
+/* End PBXProject section */
+
+/* Begin PBXResourcesBuildPhase section */
+ DEC769E316B9AE7600764C30 /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ DEC769F316B9AE7600764C30 /* InfoPlist.strings in Resources */,
+ DEC769FB16B9AE7600764C30 /* Default.png in Resources */,
+ DEC769FD16B9AE7600764C30 /* Default@2x.png in Resources */,
+ DEC769FF16B9AE7600764C30 /* Default-568h@2x.png in Resources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+ DEC76A0216B9AE7600764C30 /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ DEC76A1116B9AE7600764C30 /* InfoPlist.strings in Resources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXResourcesBuildPhase section */
+
+/* Begin PBXShellScriptBuildPhase section */
+ DEC76A0316B9AE7600764C30 /* ShellScript */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputPaths = (
+ );
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "# Run the unit tests in this test bundle.\n\"${SYSTEM_DEVELOPER_DIR}/Tools/RunUnitTests\"\n";
+ };
+/* End PBXShellScriptBuildPhase section */
+
+/* Begin PBXSourcesBuildPhase section */
+ DEC769E116B9AE7600764C30 /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ DEC769F516B9AE7600764C30 /* main.m in Sources */,
+ DEC769F916B9AE7600764C30 /* DIYAppDelegate.m in Sources */,
+ DEC76A2016B9AEEE00764C30 /* NSString+Emojize.m in Sources */,
+ DEC76A2316B9B13500764C30 /* DIYViewController.m in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+ DEC76A0016B9AE7600764C30 /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ DEC76A1416B9AE7600764C30 /* NSStringEmojizeTests.m in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXSourcesBuildPhase section */
+
+/* Begin PBXTargetDependency section */
+ DEC76A0B16B9AE7600764C30 /* PBXTargetDependency */ = {
+ isa = PBXTargetDependency;
+ target = DEC769E416B9AE7600764C30 /* NSStringEmojize */;
+ targetProxy = DEC76A0A16B9AE7600764C30 /* PBXContainerItemProxy */;
+ };
+/* End PBXTargetDependency section */
+
+/* Begin PBXVariantGroup section */
+ DEC769F116B9AE7600764C30 /* InfoPlist.strings */ = {
+ isa = PBXVariantGroup;
+ children = (
+ DEC769F216B9AE7600764C30 /* en */,
+ );
+ name = InfoPlist.strings;
+ sourceTree = "<group>";
+ };
+ DEC76A0F16B9AE7600764C30 /* InfoPlist.strings */ = {
+ isa = PBXVariantGroup;
+ children = (
+ DEC76A1016B9AE7600764C30 /* en */,
+ );
+ name = InfoPlist.strings;
+ sourceTree = "<group>";
+ };
+/* End PBXVariantGroup section */
+
+/* Begin XCBuildConfiguration section */
+ DEC76A1516B9AE7600764C30 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_EMPTY_BODY = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+ 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_ABOUT_RETURN_TYPE = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ IPHONEOS_DEPLOYMENT_TARGET = 6.1;
+ ONLY_ACTIVE_ARCH = YES;
+ SDKROOT = iphoneos;
+ };
+ name = Debug;
+ };
+ DEC76A1616B9AE7600764C30 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_EMPTY_BODY = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+ COPY_PHASE_STRIP = YES;
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ IPHONEOS_DEPLOYMENT_TARGET = 6.1;
+ OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1";
+ SDKROOT = iphoneos;
+ VALIDATE_PRODUCT = YES;
+ };
+ name = Release;
+ };
+ DEC76A1816B9AE7600764C30 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "NSStringEmojize/NSStringEmojize-Prefix.pch";
+ INFOPLIST_FILE = "NSStringEmojize/NSStringEmojize-Info.plist";
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ WRAPPER_EXTENSION = app;
+ };
+ name = Debug;
+ };
+ DEC76A1916B9AE7600764C30 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "NSStringEmojize/NSStringEmojize-Prefix.pch";
+ INFOPLIST_FILE = "NSStringEmojize/NSStringEmojize-Info.plist";
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ WRAPPER_EXTENSION = app;
+ };
+ name = Release;
+ };
+ DEC76A1B16B9AE7600764C30 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/NSStringEmojize.app/NSStringEmojize";
+ FRAMEWORK_SEARCH_PATHS = (
+ "\"$(SDKROOT)/Developer/Library/Frameworks\"",
+ "\"$(DEVELOPER_LIBRARY_DIR)/Frameworks\"",
+ );
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "NSStringEmojize/NSStringEmojize-Prefix.pch";
+ INFOPLIST_FILE = "NSStringEmojizeTests/NSStringEmojizeTests-Info.plist";
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ TEST_HOST = "$(BUNDLE_LOADER)";
+ WRAPPER_EXTENSION = octest;
+ };
+ name = Debug;
+ };
+ DEC76A1C16B9AE7600764C30 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/NSStringEmojize.app/NSStringEmojize";
+ FRAMEWORK_SEARCH_PATHS = (
+ "\"$(SDKROOT)/Developer/Library/Frameworks\"",
+ "\"$(DEVELOPER_LIBRARY_DIR)/Frameworks\"",
+ );
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "NSStringEmojize/NSStringEmojize-Prefix.pch";
+ INFOPLIST_FILE = "NSStringEmojizeTests/NSStringEmojizeTests-Info.plist";
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ TEST_HOST = "$(BUNDLE_LOADER)";
+ WRAPPER_EXTENSION = octest;
+ };
+ name = Release;
+ };
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+ DEC769E016B9AE7600764C30 /* Build configuration list for PBXProject "NSStringEmojize" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ DEC76A1516B9AE7600764C30 /* Debug */,
+ DEC76A1616B9AE7600764C30 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ DEC76A1716B9AE7600764C30 /* Build configuration list for PBXNativeTarget "NSStringEmojize" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ DEC76A1816B9AE7600764C30 /* Debug */,
+ DEC76A1916B9AE7600764C30 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ DEC76A1A16B9AE7600764C30 /* Build configuration list for PBXNativeTarget "NSStringEmojizeTests" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ DEC76A1B16B9AE7600764C30 /* Debug */,
+ DEC76A1C16B9AE7600764C30 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+/* End XCConfigurationList section */
+ };
+ rootObject = DEC769DD16B9AE7500764C30 /* Project object */;
+}
7 Example/NSStringEmojize.xcodeproj/project.xcworkspace/contents.xcworkspacedata
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Workspace
+ version = "1.0">
+ <FileRef
+ location = "self:NSStringEmojize.xcodeproj">
+ </FileRef>
+</Workspace>
15 Example/NSStringEmojize/DIYAppDelegate.h
@@ -0,0 +1,15 @@
+//
+// DIYAppDelegate.h
+// NSStringEmojize
+//
+// Created by Jonathan Beilin on 1/30/13.
+// Copyright (c) 2013 DIY. All rights reserved.
+//
+
+#import <UIKit/UIKit.h>
+
+@interface DIYAppDelegate : UIResponder <UIApplicationDelegate>
+
+@property (strong, nonatomic) UIWindow *window;
+
+@end
49 Example/NSStringEmojize/DIYAppDelegate.m
@@ -0,0 +1,49 @@
+//
+// DIYAppDelegate.m
+// NSStringEmojize
+//
+// Created by Jonathan Beilin on 1/30/13.
+// Copyright (c) 2013 DIY. All rights reserved.
+//
+
+#import "DIYAppDelegate.h"
+
+@implementation DIYAppDelegate
+
+- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
+{
+ self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
+ // Override point for customization after application launch.
+ self.window.backgroundColor = [UIColor whiteColor];
+ [self.window makeKeyAndVisible];
+ 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
13 Example/NSStringEmojize/DIYViewController.h
@@ -0,0 +1,13 @@
+//
+// DIYViewController.h
+// NSStringEmojize
+//
+// Created by Jonathan Beilin on 1/30/13.
+// Copyright (c) 2013 DIY. All rights reserved.
+//
+
+#import <UIKit/UIKit.h>
+
+@interface DIYViewController : UIViewController
+
+@end
34 Example/NSStringEmojize/DIYViewController.m
@@ -0,0 +1,34 @@
+//
+// DIYViewController.m
+// NSStringEmojize
+//
+// Created by Jonathan Beilin on 1/30/13.
+// Copyright (c) 2013 DIY. All rights reserved.
+//
+
+#import "DIYViewController.h"
+
+#import "NSString+Emojize.h"
+
+@interface DIYViewController ()
+
+@end
+
+@implementation DIYViewController
+
+- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
+{
+ self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
+ if (self) {
+ // Custom initialization
+ }
+ return self;
+}
+
+- (void)viewDidLoad
+{
+ [super viewDidLoad];
+ // Do any additional setup after loading the view.
+}
+
+@end
BIN Example/NSStringEmojize/Default-568h@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN Example/NSStringEmojize/Default.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN Example/NSStringEmojize/Default@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
38 Example/NSStringEmojize/NSStringEmojize-Info.plist
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>CFBundleDevelopmentRegion</key>
+ <string>en</string>
+ <key>CFBundleDisplayName</key>
+ <string>${PRODUCT_NAME}</string>
+ <key>CFBundleExecutable</key>
+ <string>${EXECUTABLE_NAME}</string>
+ <key>CFBundleIdentifier</key>
+ <string>DIY.${PRODUCT_NAME:rfc1034identifier}</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundleName</key>
+ <string>${PRODUCT_NAME}</string>
+ <key>CFBundlePackageType</key>
+ <string>APPL</string>
+ <key>CFBundleShortVersionString</key>
+ <string>1.0</string>
+ <key>CFBundleSignature</key>
+ <string>????</string>
+ <key>CFBundleVersion</key>
+ <string>1.0</string>
+ <key>LSRequiresIPhoneOS</key>
+ <true/>
+ <key>UIRequiredDeviceCapabilities</key>
+ <array>
+ <string>armv7</string>
+ </array>
+ <key>UISupportedInterfaceOrientations</key>
+ <array>
+ <string>UIInterfaceOrientationPortrait</string>
+ <string>UIInterfaceOrientationLandscapeLeft</string>
+ <string>UIInterfaceOrientationLandscapeRight</string>
+ </array>
+</dict>
+</plist>
14 Example/NSStringEmojize/NSStringEmojize-Prefix.pch
@@ -0,0 +1,14 @@
+//
+// Prefix header for all source files of the 'NSStringEmojize' target in the 'NSStringEmojize' project
+//
+
+#import <Availability.h>
+
+#ifndef __IPHONE_3_0
+#warning "This project uses features only available in iOS SDK 3.0 and later."
+#endif
+
+#ifdef __OBJC__
+ #import <UIKit/UIKit.h>
+ #import <Foundation/Foundation.h>
+#endif
2 Example/NSStringEmojize/en.lproj/InfoPlist.strings
@@ -0,0 +1,2 @@
+/* Localized versions of Info.plist keys */
+
18 Example/NSStringEmojize/main.m
@@ -0,0 +1,18 @@
+//
+// main.m
+// NSStringEmojize
+//
+// Created by Jonathan Beilin on 1/30/13.
+// Copyright (c) 2013 DIY. All rights reserved.
+//
+
+#import <UIKit/UIKit.h>
+
+#import "DIYAppDelegate.h"
+
+int main(int argc, char *argv[])
+{
+ @autoreleasepool {
+ return UIApplicationMain(argc, argv, nil, NSStringFromClass([DIYAppDelegate class]));
+ }
+}
22 Example/NSStringEmojizeTests/NSStringEmojizeTests-Info.plist
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>CFBundleDevelopmentRegion</key>
+ <string>en</string>
+ <key>CFBundleExecutable</key>
+ <string>${EXECUTABLE_NAME}</string>
+ <key>CFBundleIdentifier</key>
+ <string>DIY.${PRODUCT_NAME:rfc1034identifier}</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundlePackageType</key>
+ <string>BNDL</string>
+ <key>CFBundleShortVersionString</key>
+ <string>1.0</string>
+ <key>CFBundleSignature</key>
+ <string>????</string>
+ <key>CFBundleVersion</key>
+ <string>1</string>
+</dict>
+</plist>
13 Example/NSStringEmojizeTests/NSStringEmojizeTests.h
@@ -0,0 +1,13 @@
+//
+// NSStringEmojizeTests.h
+// NSStringEmojizeTests
+//
+// Created by Jonathan Beilin on 1/30/13.
+// Copyright (c) 2013 DIY. All rights reserved.
+//
+
+#import <SenTestingKit/SenTestingKit.h>
+
+@interface NSStringEmojizeTests : SenTestCase
+
+@end
21 Example/NSStringEmojizeTests/NSStringEmojizeTests.m
@@ -0,0 +1,21 @@
+//
+// NSStringEmojizeTests.m
+// NSStringEmojizeTests
+//
+// Created by Jonathan Beilin on 1/30/13.
+// Copyright (c) 2013 DIY. All rights reserved.
+//
+
+#import "NSStringEmojizeTests.h"
+
+#import "NSString+Emojize.h"
+
+@implementation NSStringEmojizeTests
+
+- (void)testCheatcodes
+{
+ NSString *emojiString = @"This comment has a smiley :mushroom:";
+ STAssertTrue([[emojiString emojizedString] rangeOfString:@"\U0001F344"].location != NSNotFound, nil);
+}
+
+@end
2 Example/NSStringEmojizeTests/en.lproj/InfoPlist.strings
@@ -0,0 +1,2 @@
+/* Localized versions of Info.plist keys */
+
13 LICENSE.md
@@ -0,0 +1,13 @@
+Copyright 2012 DIY, Co.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
14 NSStringEmojize.podspec
@@ -0,0 +1,14 @@
+Pod::Spec.new do |s|
+ s.name = 'NSStringEmojize'
+ s.version = '0.1.0'
+ s.license = 'Apache 2.0'
+ s.summary = 'A category on NSString to turn codes from Emoji Cheat Sheet (http://www.emoji-cheat-sheet.com/) into Unicode emoji characters.'
+ s.homepage = 'https://github.com/diy/nsstringemojize'
+ s.authors = {'Jon Beilin' => 'jon@diy.org'}
+ s.source = { :git => 'https://github.com/diy/nsstringemojize.git', :tag => 'v0.1.0' }
+ s.platform = :ios
+ s.source_files = 'NSStringEmojize'
+ s.requires_arc = true
+
+ s.framework = 'UIKit'
+end
17 NSStringEmojize/NSString+Emojize.h
@@ -0,0 +1,17 @@
+//
+// NSString+Emojize.h
+// Field Recorder
+//
+// Created by Jonathan Beilin on 11/5/12.
+// Copyright (c) 2012 DIY. All rights reserved.
+//
+// Inspired by https://github.com/larsschwegmann/Emoticonizer
+
+#import <Foundation/Foundation.h>
+
+@interface NSString (Emojize)
+
+- (NSString *)emojizedString;
++ (NSString *)emojizedStringWithString:(NSString *)aString;
+
+@end
69 NSStringEmojize/NSString+Emojize.m
@@ -0,0 +1,69 @@
+//
+// NSString+Emojize.m
+// Field Recorder
+//
+// Created by Jonathan Beilin on 11/5/12.
+// Copyright (c) 2012 DIY. All rights reserved.
+//
+
+#import "NSString+Emojize.h"
+
+@implementation NSString (Emojize)
+- (NSString *)emojizedString
+{
+ return [NSString emojizedStringWithString:self];
+}
+
++ (NSString *)emojizedStringWithString:(NSString *)aString
+{
+ NSDictionary *emojiDict = @{
+ @":smile:" : @"\U0001F604",
+ @":smirk:" : @"\U0001F60F",
+ @":wink:" : @"\U0001F609",
+ @":sunglasses:" : @"\U0001F60E",
+ @":flushed:" : @"\U0001F633",
+ @":laughing:" : @"\U0001F606",
+
+ @":persevere:" : @"\U0001F623",
+ @":astonished:" : @"\U0001F632",
+ @":hearteyescat:" : @"\U0001F63B",
+ @":bike:" : @"\U0001F6B2",
+ @":bell:" : @"\U0001F514",
+ @":bulb:" : @"\U0001F4A1",
+
+ @":zap:" : @"\ue13d",
+ @":interrobang:" : @"\ue021\ue020",
+ @":cow2:" : @"\U0001F404",
+ @":shipit:" : @"\U0001F3A9\U0001F430",
+ @":metal:" : @"\U0001F3B8",
+ @":microscope:" : @"\U0001F52C",
+
+ @":mushroom:" : @"\U0001F344",
+ @":pizza:" : @"\U0001F355",
+ @":crown:" : @"\ue10e",
+ @":plus:" : @"\U0001F44D",
+ @":tada:" : @"\U0001F389",
+ @":thoughtballoon:" : @"\U0001F4AD",
+ @":fire:" : @"\U0001F525",
+ @":crystalball:" : @"\U0001F52E",
+ @":wrench:" : @"\U0001F527",
+ @":microphone:" : @"\U0001F3A4",
+ @":art:" : @"\U0001F3A8",
+ @":okhand:" : @"\U0001F44C",
+ @":muscle:" : @"\U0001F4AA",
+ @":clap:" : @"\U0001F44F",
+ @":spaceinvader:" : @"\U0001F47E",
+ @":trophy:" : @"\U0001F3C6",
+ @":penguin:" : @"\U0001F427",
+ @":screamcat:" : @"\U0001F640"
+ };
+
+ __block NSString *text = aString;
+ [emojiDict enumerateKeysAndObjectsUsingBlock:^(NSString *cheat, NSString *unicode, BOOL *stop) {
+ text = [text stringByReplacingOccurrencesOfString:cheat withString:unicode];
+ }];
+
+ return text;
+}
+
+@end
451 NSStringEmojize/NSStringEmojize.xcodeproj/project.pbxproj
@@ -0,0 +1,451 @@
+// !$*UTF8*$!
+{
+ archiveVersion = 1;
+ classes = {
+ };
+ objectVersion = 46;
+ objects = {
+
+/* Begin PBXBuildFile section */
+ DEC769E916B9AE7600764C30 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DEC769E816B9AE7600764C30 /* UIKit.framework */; };
+ DEC769EB16B9AE7600764C30 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DEC769EA16B9AE7600764C30 /* Foundation.framework */; };
+ DEC769ED16B9AE7600764C30 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DEC769EC16B9AE7600764C30 /* CoreGraphics.framework */; };
+ DEC769F316B9AE7600764C30 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = DEC769F116B9AE7600764C30 /* InfoPlist.strings */; };
+ DEC769F516B9AE7600764C30 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = DEC769F416B9AE7600764C30 /* main.m */; };
+ DEC769F916B9AE7600764C30 /* DIYAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = DEC769F816B9AE7600764C30 /* DIYAppDelegate.m */; };
+ DEC769FB16B9AE7600764C30 /* Default.png in Resources */ = {isa = PBXBuildFile; fileRef = DEC769FA16B9AE7600764C30 /* Default.png */; };
+ DEC769FD16B9AE7600764C30 /* Default@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = DEC769FC16B9AE7600764C30 /* Default@2x.png */; };
+ DEC769FF16B9AE7600764C30 /* Default-568h@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = DEC769FE16B9AE7600764C30 /* Default-568h@2x.png */; };
+ DEC76A0716B9AE7600764C30 /* SenTestingKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DEC76A0616B9AE7600764C30 /* SenTestingKit.framework */; };
+ DEC76A0816B9AE7600764C30 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DEC769E816B9AE7600764C30 /* UIKit.framework */; };
+ DEC76A0916B9AE7600764C30 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DEC769EA16B9AE7600764C30 /* Foundation.framework */; };
+ DEC76A1116B9AE7600764C30 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = DEC76A0F16B9AE7600764C30 /* InfoPlist.strings */; };
+ DEC76A1416B9AE7600764C30 /* NSStringEmojizeTests.m in Sources */ = {isa = PBXBuildFile; fileRef = DEC76A1316B9AE7600764C30 /* NSStringEmojizeTests.m */; };
+/* End PBXBuildFile section */
+
+/* Begin PBXContainerItemProxy section */
+ DEC76A0A16B9AE7600764C30 /* PBXContainerItemProxy */ = {
+ isa = PBXContainerItemProxy;
+ containerPortal = DEC769DD16B9AE7500764C30 /* Project object */;
+ proxyType = 1;
+ remoteGlobalIDString = DEC769E416B9AE7600764C30;
+ remoteInfo = NSStringEmojize;
+ };
+/* End PBXContainerItemProxy section */
+
+/* Begin PBXFileReference section */
+ DEC769E516B9AE7600764C30 /* NSStringEmojize.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = NSStringEmojize.app; sourceTree = BUILT_PRODUCTS_DIR; };
+ DEC769E816B9AE7600764C30 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
+ DEC769EA16B9AE7600764C30 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
+ DEC769EC16B9AE7600764C30 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
+ DEC769F016B9AE7600764C30 /* NSStringEmojize-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "NSStringEmojize-Info.plist"; sourceTree = "<group>"; };
+ DEC769F216B9AE7600764C30 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
+ DEC769F416B9AE7600764C30 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
+ DEC769F616B9AE7600764C30 /* NSStringEmojize-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "NSStringEmojize-Prefix.pch"; sourceTree = "<group>"; };
+ DEC769F716B9AE7600764C30 /* DIYAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = DIYAppDelegate.h; sourceTree = "<group>"; };
+ DEC769F816B9AE7600764C30 /* DIYAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = DIYAppDelegate.m; sourceTree = "<group>"; };
+ DEC769FA16B9AE7600764C30 /* Default.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Default.png; sourceTree = "<group>"; };
+ DEC769FC16B9AE7600764C30 /* Default@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default@2x.png"; sourceTree = "<group>"; };
+ DEC769FE16B9AE7600764C30 /* Default-568h@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default-568h@2x.png"; sourceTree = "<group>"; };
+ DEC76A0516B9AE7600764C30 /* NSStringEmojizeTests.octest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = NSStringEmojizeTests.octest; sourceTree = BUILT_PRODUCTS_DIR; };
+ DEC76A0616B9AE7600764C30 /* SenTestingKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SenTestingKit.framework; path = Library/Frameworks/SenTestingKit.framework; sourceTree = DEVELOPER_DIR; };
+ DEC76A0E16B9AE7600764C30 /* NSStringEmojizeTests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "NSStringEmojizeTests-Info.plist"; sourceTree = "<group>"; };
+ DEC76A1016B9AE7600764C30 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
+ DEC76A1216B9AE7600764C30 /* NSStringEmojizeTests.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = NSStringEmojizeTests.h; sourceTree = "<group>"; };
+ DEC76A1316B9AE7600764C30 /* NSStringEmojizeTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = NSStringEmojizeTests.m; sourceTree = "<group>"; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+ DEC769E216B9AE7600764C30 /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ DEC769E916B9AE7600764C30 /* UIKit.framework in Frameworks */,
+ DEC769EB16B9AE7600764C30 /* Foundation.framework in Frameworks */,
+ DEC769ED16B9AE7600764C30 /* CoreGraphics.framework in Frameworks */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+ DEC76A0116B9AE7600764C30 /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ DEC76A0716B9AE7600764C30 /* SenTestingKit.framework in Frameworks */,
+ DEC76A0816B9AE7600764C30 /* UIKit.framework in Frameworks */,
+ DEC76A0916B9AE7600764C30 /* Foundation.framework in Frameworks */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+ DEC769DC16B9AE7500764C30 = {
+ isa = PBXGroup;
+ children = (
+ DEC769EE16B9AE7600764C30 /* NSStringEmojize */,
+ DEC76A0C16B9AE7600764C30 /* NSStringEmojizeTests */,
+ DEC769E716B9AE7600764C30 /* Frameworks */,
+ DEC769E616B9AE7600764C30 /* Products */,
+ );
+ sourceTree = "<group>";
+ };
+ DEC769E616B9AE7600764C30 /* Products */ = {
+ isa = PBXGroup;
+ children = (
+ DEC769E516B9AE7600764C30 /* NSStringEmojize.app */,
+ DEC76A0516B9AE7600764C30 /* NSStringEmojizeTests.octest */,
+ );
+ name = Products;
+ sourceTree = "<group>";
+ };
+ DEC769E716B9AE7600764C30 /* Frameworks */ = {
+ isa = PBXGroup;
+ children = (
+ DEC769E816B9AE7600764C30 /* UIKit.framework */,
+ DEC769EA16B9AE7600764C30 /* Foundation.framework */,
+ DEC769EC16B9AE7600764C30 /* CoreGraphics.framework */,
+ DEC76A0616B9AE7600764C30 /* SenTestingKit.framework */,
+ );
+ name = Frameworks;
+ sourceTree = "<group>";
+ };
+ DEC769EE16B9AE7600764C30 /* NSStringEmojize */ = {
+ isa = PBXGroup;
+ children = (
+ DEC769F716B9AE7600764C30 /* DIYAppDelegate.h */,
+ DEC769F816B9AE7600764C30 /* DIYAppDelegate.m */,
+ DEC769EF16B9AE7600764C30 /* Supporting Files */,
+ );
+ path = NSStringEmojize;
+ sourceTree = "<group>";
+ };
+ DEC769EF16B9AE7600764C30 /* Supporting Files */ = {
+ isa = PBXGroup;
+ children = (
+ DEC769F016B9AE7600764C30 /* NSStringEmojize-Info.plist */,
+ DEC769F116B9AE7600764C30 /* InfoPlist.strings */,
+ DEC769F416B9AE7600764C30 /* main.m */,
+ DEC769F616B9AE7600764C30 /* NSStringEmojize-Prefix.pch */,
+ DEC769FA16B9AE7600764C30 /* Default.png */,
+ DEC769FC16B9AE7600764C30 /* Default@2x.png */,
+ DEC769FE16B9AE7600764C30 /* Default-568h@2x.png */,
+ );
+ name = "Supporting Files";
+ sourceTree = "<group>";
+ };
+ DEC76A0C16B9AE7600764C30 /* NSStringEmojizeTests */ = {
+ isa = PBXGroup;
+ children = (
+ DEC76A1216B9AE7600764C30 /* NSStringEmojizeTests.h */,
+ DEC76A1316B9AE7600764C30 /* NSStringEmojizeTests.m */,
+ DEC76A0D16B9AE7600764C30 /* Supporting Files */,
+ );
+ path = NSStringEmojizeTests;
+ sourceTree = "<group>";
+ };
+ DEC76A0D16B9AE7600764C30 /* Supporting Files */ = {
+ isa = PBXGroup;
+ children = (
+ DEC76A0E16B9AE7600764C30 /* NSStringEmojizeTests-Info.plist */,
+ DEC76A0F16B9AE7600764C30 /* InfoPlist.strings */,
+ );
+ name = "Supporting Files";
+ sourceTree = "<group>";
+ };
+/* End PBXGroup section */
+
+/* Begin PBXNativeTarget section */
+ DEC769E416B9AE7600764C30 /* NSStringEmojize */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = DEC76A1716B9AE7600764C30 /* Build configuration list for PBXNativeTarget "NSStringEmojize" */;
+ buildPhases = (
+ DEC769E116B9AE7600764C30 /* Sources */,
+ DEC769E216B9AE7600764C30 /* Frameworks */,
+ DEC769E316B9AE7600764C30 /* Resources */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ );
+ name = NSStringEmojize;
+ productName = NSStringEmojize;
+ productReference = DEC769E516B9AE7600764C30 /* NSStringEmojize.app */;
+ productType = "com.apple.product-type.application";
+ };
+ DEC76A0416B9AE7600764C30 /* NSStringEmojizeTests */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = DEC76A1A16B9AE7600764C30 /* Build configuration list for PBXNativeTarget "NSStringEmojizeTests" */;
+ buildPhases = (
+ DEC76A0016B9AE7600764C30 /* Sources */,
+ DEC76A0116B9AE7600764C30 /* Frameworks */,
+ DEC76A0216B9AE7600764C30 /* Resources */,
+ DEC76A0316B9AE7600764C30 /* ShellScript */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ DEC76A0B16B9AE7600764C30 /* PBXTargetDependency */,
+ );
+ name = NSStringEmojizeTests;
+ productName = NSStringEmojizeTests;
+ productReference = DEC76A0516B9AE7600764C30 /* NSStringEmojizeTests.octest */;
+ productType = "com.apple.product-type.bundle";
+ };
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+ DEC769DD16B9AE7500764C30 /* Project object */ = {
+ isa = PBXProject;
+ attributes = {
+ CLASSPREFIX = DIY;
+ LastUpgradeCheck = 0460;
+ ORGANIZATIONNAME = DIY;
+ };
+ buildConfigurationList = DEC769E016B9AE7600764C30 /* Build configuration list for PBXProject "NSStringEmojize" */;
+ compatibilityVersion = "Xcode 3.2";
+ developmentRegion = English;
+ hasScannedForEncodings = 0;
+ knownRegions = (
+ en,
+ );
+ mainGroup = DEC769DC16B9AE7500764C30;
+ productRefGroup = DEC769E616B9AE7600764C30 /* Products */;
+ projectDirPath = "";
+ projectRoot = "";
+ targets = (
+ DEC769E416B9AE7600764C30 /* NSStringEmojize */,
+ DEC76A0416B9AE7600764C30 /* NSStringEmojizeTests */,
+ );
+ };
+/* End PBXProject section */
+
+/* Begin PBXResourcesBuildPhase section */
+ DEC769E316B9AE7600764C30 /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ DEC769F316B9AE7600764C30 /* InfoPlist.strings in Resources */,
+ DEC769FB16B9AE7600764C30 /* Default.png in Resources */,
+ DEC769FD16B9AE7600764C30 /* Default@2x.png in Resources */,
+ DEC769FF16B9AE7600764C30 /* Default-568h@2x.png in Resources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+ DEC76A0216B9AE7600764C30 /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ DEC76A1116B9AE7600764C30 /* InfoPlist.strings in Resources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXResourcesBuildPhase section */
+
+/* Begin PBXShellScriptBuildPhase section */
+ DEC76A0316B9AE7600764C30 /* ShellScript */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputPaths = (
+ );
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "# Run the unit tests in this test bundle.\n\"${SYSTEM_DEVELOPER_DIR}/Tools/RunUnitTests\"\n";
+ };
+/* End PBXShellScriptBuildPhase section */
+
+/* Begin PBXSourcesBuildPhase section */
+ DEC769E116B9AE7600764C30 /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ DEC769F516B9AE7600764C30 /* main.m in Sources */,
+ DEC769F916B9AE7600764C30 /* DIYAppDelegate.m in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+ DEC76A0016B9AE7600764C30 /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ DEC76A1416B9AE7600764C30 /* NSStringEmojizeTests.m in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXSourcesBuildPhase section */
+
+/* Begin PBXTargetDependency section */
+ DEC76A0B16B9AE7600764C30 /* PBXTargetDependency */ = {
+ isa = PBXTargetDependency;
+ target = DEC769E416B9AE7600764C30 /* NSStringEmojize */;
+ targetProxy = DEC76A0A16B9AE7600764C30 /* PBXContainerItemProxy */;
+ };
+/* End PBXTargetDependency section */
+
+/* Begin PBXVariantGroup section */
+ DEC769F116B9AE7600764C30 /* InfoPlist.strings */ = {
+ isa = PBXVariantGroup;
+ children = (
+ DEC769F216B9AE7600764C30 /* en */,
+ );
+ name = InfoPlist.strings;
+ sourceTree = "<group>";
+ };
+ DEC76A0F16B9AE7600764C30 /* InfoPlist.strings */ = {
+ isa = PBXVariantGroup;
+ children = (
+ DEC76A1016B9AE7600764C30 /* en */,
+ );
+ name = InfoPlist.strings;
+ sourceTree = "<group>";
+ };
+/* End PBXVariantGroup section */
+
+/* Begin XCBuildConfiguration section */
+ DEC76A1516B9AE7600764C30 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_EMPTY_BODY = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+ 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_ABOUT_RETURN_TYPE = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ IPHONEOS_DEPLOYMENT_TARGET = 6.1;
+ ONLY_ACTIVE_ARCH = YES;
+ SDKROOT = iphoneos;
+ };
+ name = Debug;
+ };
+ DEC76A1616B9AE7600764C30 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_EMPTY_BODY = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+ COPY_PHASE_STRIP = YES;
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ IPHONEOS_DEPLOYMENT_TARGET = 6.1;
+ OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1";
+ SDKROOT = iphoneos;
+ VALIDATE_PRODUCT = YES;
+ };
+ name = Release;
+ };
+ DEC76A1816B9AE7600764C30 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "NSStringEmojize/NSStringEmojize-Prefix.pch";
+ INFOPLIST_FILE = "NSStringEmojize/NSStringEmojize-Info.plist";
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ WRAPPER_EXTENSION = app;
+ };
+ name = Debug;
+ };
+ DEC76A1916B9AE7600764C30 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "NSStringEmojize/NSStringEmojize-Prefix.pch";
+ INFOPLIST_FILE = "NSStringEmojize/NSStringEmojize-Info.plist";
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ WRAPPER_EXTENSION = app;
+ };
+ name = Release;
+ };
+ DEC76A1B16B9AE7600764C30 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/NSStringEmojize.app/NSStringEmojize";
+ FRAMEWORK_SEARCH_PATHS = (
+ "\"$(SDKROOT)/Developer/Library/Frameworks\"",
+ "\"$(DEVELOPER_LIBRARY_DIR)/Frameworks\"",
+ );
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "NSStringEmojize/NSStringEmojize-Prefix.pch";
+ INFOPLIST_FILE = "NSStringEmojizeTests/NSStringEmojizeTests-Info.plist";
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ TEST_HOST = "$(BUNDLE_LOADER)";
+ WRAPPER_EXTENSION = octest;
+ };
+ name = Debug;
+ };
+ DEC76A1C16B9AE7600764C30 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/NSStringEmojize.app/NSStringEmojize";
+ FRAMEWORK_SEARCH_PATHS = (
+ "\"$(SDKROOT)/Developer/Library/Frameworks\"",
+ "\"$(DEVELOPER_LIBRARY_DIR)/Frameworks\"",
+ );
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "NSStringEmojize/NSStringEmojize-Prefix.pch";
+ INFOPLIST_FILE = "NSStringEmojizeTests/NSStringEmojizeTests-Info.plist";
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ TEST_HOST = "$(BUNDLE_LOADER)";
+ WRAPPER_EXTENSION = octest;
+ };
+ name = Release;
+ };
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+ DEC769E016B9AE7600764C30 /* Build configuration list for PBXProject "NSStringEmojize" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ DEC76A1516B9AE7600764C30 /* Debug */,
+ DEC76A1616B9AE7600764C30 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ DEC76A1716B9AE7600764C30 /* Build configuration list for PBXNativeTarget "NSStringEmojize" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ DEC76A1816B9AE7600764C30 /* Debug */,
+ DEC76A1916B9AE7600764C30 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ };
+ DEC76A1A16B9AE7600764C30 /* Build configuration list for PBXNativeTarget "NSStringEmojizeTests" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ DEC76A1B16B9AE7600764C30 /* Debug */,
+ DEC76A1C16B9AE7600764C30 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ };
+/* End XCConfigurationList section */
+ };
+ rootObject = DEC769DD16B9AE7500764C30 /* Project object */;
+}
15 NSStringEmojize/NSStringEmojize/DIYAppDelegate.h
@@ -0,0 +1,15 @@
+//
+// DIYAppDelegate.h
+// NSStringEmojize
+//
+// Created by Jonathan Beilin on 1/30/13.
+// Copyright (c) 2013 DIY. All rights reserved.
+//
+
+#import <UIKit/UIKit.h>
+
+@interface DIYAppDelegate : UIResponder <UIApplicationDelegate>
+
+@property (strong, nonatomic) UIWindow *window;
+
+@end
49 NSStringEmojize/NSStringEmojize/DIYAppDelegate.m
@@ -0,0 +1,49 @@
+//
+// DIYAppDelegate.m
+// NSStringEmojize
+//
+// Created by Jonathan Beilin on 1/30/13.
+// Copyright (c) 2013 DIY. All rights reserved.
+//
+
+#import "DIYAppDelegate.h"
+
+@implementation DIYAppDelegate
+
+- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
+{
+ self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
+ // Override point for customization after application launch.
+ self.window.backgroundColor = [UIColor whiteColor];
+ [self.window makeKeyAndVisible];
+ 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
BIN NSStringEmojize/NSStringEmojize/Default-568h@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN NSStringEmojize/NSStringEmojize/Default.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN NSStringEmojize/NSStringEmojize/Default@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
38 NSStringEmojize/NSStringEmojize/NSStringEmojize-Info.plist
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>CFBundleDevelopmentRegion</key>
+ <string>en</string>
+ <key>CFBundleDisplayName</key>
+ <string>${PRODUCT_NAME}</string>
+ <key>CFBundleExecutable</key>
+ <string>${EXECUTABLE_NAME}</string>
+ <key>CFBundleIdentifier</key>
+ <string>DIY.${PRODUCT_NAME:rfc1034identifier}</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundleName</key>
+ <string>${PRODUCT_NAME}</string>
+ <key>CFBundlePackageType</key>
+ <string>APPL</string>
+ <key>CFBundleShortVersionString</key>
+ <string>1.0</string>
+ <key>CFBundleSignature</key>
+ <string>????</string>
+ <key>CFBundleVersion</key>
+ <string>1.0</string>
+ <key>LSRequiresIPhoneOS</key>
+ <true/>
+ <key>UIRequiredDeviceCapabilities</key>
+ <array>
+ <string>armv7</string>
+ </array>
+ <key>UISupportedInterfaceOrientations</key>
+ <array>
+ <string>UIInterfaceOrientationPortrait</string>
+ <string>UIInterfaceOrientationLandscapeLeft</string>
+ <string>UIInterfaceOrientationLandscapeRight</string>
+ </array>
+</dict>
+</plist>
14 NSStringEmojize/NSStringEmojize/NSStringEmojize-Prefix.pch
@@ -0,0 +1,14 @@
+//
+// Prefix header for all source files of the 'NSStringEmojize' target in the 'NSStringEmojize' project
+//
+
+#import <Availability.h>
+
+#ifndef __IPHONE_3_0
+#warning "This project uses features only available in iOS SDK 3.0 and later."
+#endif
+
+#ifdef __OBJC__
+ #import <UIKit/UIKit.h>
+ #import <Foundation/Foundation.h>
+#endif
2 NSStringEmojize/NSStringEmojize/en.lproj/InfoPlist.strings
@@ -0,0 +1,2 @@
+/* Localized versions of Info.plist keys */
+
18 NSStringEmojize/NSStringEmojize/main.m
@@ -0,0 +1,18 @@
+//
+// main.m
+// NSStringEmojize
+//
+// Created by Jonathan Beilin on 1/30/13.
+// Copyright (c) 2013 DIY. All rights reserved.
+//
+
+#import <UIKit/UIKit.h>
+
+#import "DIYAppDelegate.h"
+
+int main(int argc, char *argv[])
+{
+ @autoreleasepool {
+ return UIApplicationMain(argc, argv, nil, NSStringFromClass([DIYAppDelegate class]));
+ }
+}
22 NSStringEmojize/NSStringEmojizeTests/NSStringEmojizeTests-Info.plist
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>CFBundleDevelopmentRegion</key>
+ <string>en</string>
+ <key>CFBundleExecutable</key>
+ <string>${EXECUTABLE_NAME}</string>
+ <key>CFBundleIdentifier</key>
+ <string>DIY.${PRODUCT_NAME:rfc1034identifier}</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundlePackageType</key>
+ <string>BNDL</string>
+ <key>CFBundleShortVersionString</key>
+ <string>1.0</string>
+ <key>CFBundleSignature</key>
+ <string>????</string>
+ <key>CFBundleVersion</key>
+ <string>1</string>
+</dict>
+</plist>
13 NSStringEmojize/NSStringEmojizeTests/NSStringEmojizeTests.h
@@ -0,0 +1,13 @@
+//
+// NSStringEmojizeTests.h
+// NSStringEmojizeTests
+//
+// Created by Jonathan Beilin on 1/30/13.
+// Copyright (c) 2013 DIY. All rights reserved.
+//
+
+#import <SenTestingKit/SenTestingKit.h>
+
+@interface NSStringEmojizeTests : SenTestCase
+
+@end
32 NSStringEmojize/NSStringEmojizeTests/NSStringEmojizeTests.m
@@ -0,0 +1,32 @@
+//
+// NSStringEmojizeTests.m
+// NSStringEmojizeTests
+//
+// Created by Jonathan Beilin on 1/30/13.
+// Copyright (c) 2013 DIY. All rights reserved.
+//
+
+#import "NSStringEmojizeTests.h"
+
+@implementation NSStringEmojizeTests
+
+- (void)setUp
+{
+ [super setUp];
+
+ // Set-up code here.
+}
+
+- (void)tearDown
+{
+ // Tear-down code here.
+
+ [super tearDown];
+}
+
+- (void)testExample
+{
+ STFail(@"Unit tests are not implemented yet in NSStringEmojizeTests");
+}
+
+@end
2 NSStringEmojize/NSStringEmojizeTests/en.lproj/InfoPlist.strings
@@ -0,0 +1,2 @@
+/* Localized versions of Info.plist keys */
+
30 README.md
@@ -0,0 +1,30 @@
+## NSString+Emojize
+#### A category on NSString to turn codes from [Emoji Cheat Sheet](http://www.emoji-cheat-sheet.com/) into Unicode emoji characters.
+
+## Getting Started
+
+In order to use NSString+Emojize, you'll want to add the entirety of the `NSString+Emojize` directory to your project. To get started, simply:
+
+```objective-c
+#import "NSString+Emojize.h"
+```
+
+```objective-c
+
+```
+
+---
+
+## Methods
+```objective-c
+- (NSString *)emojizedString;
++ (NSString *)emojizedStringWithString:(NSString *)aString;
+```
+
+---
+
+## iOS Support
+NSString+Emojize is tested on iOS 5 and up. Older versions of iOS may work but are not currently supported.
+
+## ARC
+NSString+Emojize uses ARC. If you are including NSString+Emojize in a project that **does not** use [Automatic Reference Counting (ARC)](http://developer.apple.com/library/ios/#releasenotes/ObjectiveC/RN-TransitioningToARC/Introduction/Introduction.html), you will need to set the `-fobjc-arc` compiler flag on all of the NSString+Emojize source files. To do this in Xcode, go to your active target and select the "Build Phases" tab. Now select all NSString+Emojize source files, press Enter, insert `-fobjc-arc` and then "Done" to enable ARC for NSString+Emojize.

0 comments on commit ff020d9

Please sign in to comment.
Something went wrong with that request. Please try again.