JAHelia
JAHelia

Reputation: 7932

adding TTImageView to an XIB using Interface Builder

I'm trying to add TTImageView to an XIB file by adding a regular UIImageView control then changing its class name to TTImageView in the Identity Inspector, but it can't recognize the class TTImageView, IB keeps reverting the class name to UIImageView. I have added Three20 framework correctly to my project, what should I do to add TTImageView using IB ?

Upvotes: 0

Views: 70

Answers (1)

Fogmeister
Fogmeister

Reputation: 77651

TTImageView is derived from UIView not UIImageView.

You'll have to use a UIView in your XIB if you want to set it as a TTImageView.

See here

Upvotes: 2

Related Questions