开发者

Is it possible to make a subclass of NSObject which support subnodes in IB for iPhone project?

I'm making a custom UI element class for iPhone. It'll cool to edit my class on Interface Builder with hierarchy.

Some of my class is management class like U开发者_JS百科INavigationController, but they're not one of them, subclassed from NSObject.

Of course, I can place a NSObject instance on IB, but it cannot have a child node. Is there a way to enable adding child node to subclass of NSObject?


You can make a plug-in for Interface Builder. See here, or, more specifically, here.

Matt Gallagher also has a nice tutorial here.

Now, these links all pertain to Mac. I honestly am not sure if the same principles apply to iPhone.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜