开发者

Convert NIB to XIB without Interface Builder

开发者 https://www.devze.com 2023-02-23 06:58 出处:网络
I\'ve upgraded to XCode 4 and because IB is now inside none of my old NIB files wi开发者_如何学Pythonll open getting a \"An instance of ASKNibConnector could not be decoded\" error. Is there a way to

I've upgraded to XCode 4 and because IB is now inside none of my old NIB files wi开发者_如何学Pythonll open getting a "An instance of ASKNibConnector could not be decoded" error. Is there a way to convert NIBs to XIBs without interface builder? or do you have to do something like reinstall 3, convert the nibs and reinstall 4?


To convert your nib to xib format, use the command line tool ibtool like this:

ibtool foo.nib --upgrade --write foo.xib

Or use this gist to find all your nibs and convert them: https://gist.github.com/254161

0

精彩评论

暂无评论...
验证码 换一张
取 消