在OC和Swift中使用IBDesignable/IBInspectable
nshipster IBInspectable / IBDesignable
利用IBDesignable和IBInspectable建立客製化元件
cocoachina IBInspectable / IBDesignable
Translate
2015年12月23日 星期三
2015年7月31日 星期五
2015年7月23日 星期四
Xcode 6 projectname-prefix-pch
參考文章
Without the question if it is proper or not, you can add PCH file manually:
1.Add new PCH file to the project: New file > Other > PCH file.
2.At the Target's Build Settings option, set the value of Prefix Header to your PCH file name, with the project name as prefix (i.e. for project named TestProject and PCH file named MyPrefixHeaderFile, add the value TestProject/MyPrefixHeaderFile.pch to the plist).
TIP: You can use things like $(SRCROOT) or $(PROJECT_DIR) to get to the path of where you put the .pch in the project.
3.At the Target's Build Settings option, set the value of Precompile Prefix Header to YES.
Without the question if it is proper or not, you can add PCH file manually:
1.Add new PCH file to the project: New file > Other > PCH file.
2.At the Target's Build Settings option, set the value of Prefix Header to your PCH file name, with the project name as prefix (i.e. for project named TestProject and PCH file named MyPrefixHeaderFile, add the value TestProject/MyPrefixHeaderFile.pch to the plist).
TIP: You can use things like $(SRCROOT) or $(PROJECT_DIR) to get to the path of where you put the .pch in the project.
3.At the Target's Build Settings option, set the value of Precompile Prefix Header to YES.
2015年6月11日 星期四
2014年10月20日 星期一
轉帖Xcode6中怎么添加空工程模板
把Empty Application.xctemplate 拷贝到
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Templates/Project Templates/iOS/Application下就可以了
但是要保证你的Xcode的路径是正确地。退出Xcode 再打开就可以了
Empty Application.xctemplate
2014年10月16日 星期四
訂閱:
意見 (Atom)
