Xcode 4.2 not instantiating my custom subclass in the nib file
Xcode 4.2 not instantiating my custom subclass in the nib file
- Subject: Xcode 4.2 not instantiating my custom subclass in the nib file
- From: David Hoerl <email@hidden>
- Date: Wed, 19 Oct 2011 15:09:15 -0400
I have a project that is ARC, and it includes another project which is
NOT ARC based. In the main ARC project, I have a nib. I drag out a
UIScrollView and change its customer class to be my subclass (that is
located in the non-ARC subproject. The class takes, and it shows up when
I press the popup to see all possibilities. I can even wire up some of
its outlets.
When I run the project it crashes. I finally put in a log message to
print out the object's class, and YIKES, its not my custom subclass but
a UIScrollView.
Sigh.
So I guess my only choice now is do it all in code - but WHY is this
failing??? I've done this before (used customer subclasses in a NIB) but
not with this particular class.
David
PS: Still on latest Snow Leopard.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden