40media How build a custom control in Xcode for the iPhone SDK?

How build a custom control in Xcode for the iPhone SDK?

I want to build a custom control to reuse in my project which consists of two UITextFields that are linked together + a label.

It is starting to become repetitive across my App and smells of code duplication ;)

However, I wonder what is the best aproach here.

Is it best do everything by code in a controller or is posible do a visual thing like the ones built-in in Xcode?

“EXC_BAD_ACCESS” error when cell begins scrolling back in view?


Button not removed with removedFromSuperVire
You can build an Interface Builder plug-in for this.

Future of Mobile Development [closed]
It's fairly straight-forward.

Manage user's session on a web server for an iPhone app user [closed]
To get started, read the Interface Builder Plug-In Programming Guide.

UIProgressBar loading NSMutableDictionary
It even has a quick, step-by-step tutorial to get you started.

Prompting and Delegate question
Apple recommends creating a plug-in to IB for just your case....
Results for performSelector: differ from standard dot notation call?

How to add a breakpoint to objc_exception_throw?


I don't think this is possible.

I briefly looked at the IB Plug-In Programming Guide and apparently Interface builder plugins are implemented through Custom Cocoa Frameworks.

That is, your plugin is defined in a framework which is loaded in Interface Builder.

IB looks in the current projects frameworks to find any custom components defined and will load plugins accordingly.

It is not possible to use custom or third party frameworks on the iPhone so I don't see how IB would make a connection here.

If somebody has more info I'd love to see this discussion continued..


This is fine except it is for the iPhone.

The iPhone presents a more difficult environment to create the plug-in for interface builder.

It should be possible but I have yet to see a Xcode project that does this.

They are all limited to creation of desktop "AppKit" versions, not iPhone "UIKit" versions of the plugins for IB..

68 out of 100 based on 33 user ratings 208 reviews