sqreept
sqreept

Reputation: 5534

Is it possible to create custom UIViews for iOS and use them inside XIBs?

I know you can drag a UIView in a XIB and then set its class to a custom type.

But is it possible to create custom UIViews which could later be used in other projects and eventually dragged from the Objects list and having a custom visualisation that properly represents that UIView subclass?

Upvotes: 1

Views: 156

Answers (2)

qarnificium
qarnificium

Reputation: 26

There is a way: http://www.inline-studios.com/developer/articles/1-Xcode_4_Interface_Builder_Plugins/ but it's both complicated and might break as it is not documented by Apple.

Upvotes: 1

jsd
jsd

Reputation: 7703

Not in the current version of Xcode.

Upvotes: 1

Related Questions