Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixes #3 Add (optional) support for ARC

After creating a new SkankySDK project, use the **Refactor > Convert to Objective-C ARC…** command to convert your project to ARC.
  • Loading branch information...
commit 693933c46910a5f52dcd2791b7c6d2a56dccd396 1 parent c531100
@subtleGradient authored
View
7 include/SkankySDK.h
@@ -128,13 +128,6 @@ static inline BOOL KIOnSnowLeopard()
return NO;
}
-static inline void KISetPatchInputValue(id patch,NSString *portKey,id value)
-{
- QCPort *port = [patch valueForKey:portKey];
- [port setValue:value];
- object_setInstanceVariable([patch valueForKey:portKey],"_updated",(void *)YES);
-}
-
#define KIRegisterPatch(patchClass) \
if( ![manager isNodeRegisteredWithName: NSStringFromClass([patchClass class])] ) \
[manager registerNodeWithClass:[patchClass class]]; \
View
18 install.sh
@@ -1,8 +1,20 @@
#!/bin/sh
-cp -R sdk/Project\ Templates /Applications/Xcode.app/Contents/Developer/Library/Xcode/Templates/File\ Templates
-cp -R sdk/File\ Templates /Applications/Xcode.app/Contents/Developer/Library/Xcode/Templates/Project\ Templates
-mkdir -p /Library/Frameworks/SkankySDK.framework
+cd "$(dirname "$0")" # Allows this script to be run from any directory
+
+./uninstall.sh
+
+cp -R "sdk/Project Templates/Kineme SkankySDK" "/Applications/Xcode.app/Contents/Developer/Library/Xcode/Templates/Project Templates"
+cp -R "sdk/File Templates/Kineme SkankySDK" "/Applications/Xcode.app/Contents/Developer/Library/Xcode/Templates/File Templates"
+
+mkdir -p /Library/Frameworks/SkankySDK.framework/Headers
cp -R include /Library/Frameworks/SkankySDK.framework/Headers
cp -R resource /Library/Frameworks/SkankySDK.framework/Resources
+mkdir -p "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/SkankySDK.framework"
+cp -R include "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/SkankySDK.framework/Headers"
+cp -R resource "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/SkankySDK.framework/Resources"
+
+mkdir -p "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/SkankySDK.framework"
+cp -R include "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/SkankySDK.framework/Headers"
+cp -R resource "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/SkankySDK.framework/Resources"
View
2  sdk/Project Templates/Kineme SkankySDK/SkankySDK Quartz Composer Plug-in.xctemplate/TemplateInfo.plist
@@ -133,8 +133,6 @@ cp -rf "$BUILT_PRODUCTS_DIR/___PACKAGENAME___.plugin" "$USER_LIBR
<string>plugin</string>
<key>COMBINE_HIDPI_IMAGES</key>
<string>YES</string>
- <key>FRAMEWORK_SEARCH_PATHS</key>
- <string>$(inherited) &quot;$(SYSTEM_APPS_DIR)/Xcode.app/Contents/Developer/Library/Frameworks&quot; /Library/Frameworks</string>
</dict>
</dict>
</array>
View
4 uninstall.sh
@@ -2,4 +2,6 @@
rm -rf /Applications/Xcode.app/Contents/Developer/Library/Xcode/Templates/File\ Templates/Kineme\ SkankySDK/
rm -rf /Applications/Xcode.app/Contents/Developer/Library/Xcode/Templates/Project\ Templates/Kineme\ SkankySDK/
-rm -rf /Library/Frameworks/SkankySDK.framework/
+rm -rf /Library/Frameworks/SkankySDK.framework/
+rm -rf "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/SkankySDK.framework"
+rm -rf "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/SkankySDK.framework"
Please sign in to comment.
Something went wrong with that request. Please try again.