• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Xcode 4.2 not instantiating my custom subclass in the nib file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Stupid Instruments questions
  • Next by Date: [SOLVED] Xcode 4.2 not instantiating my custom subclass in the nib file
  • Previous by thread: Re: [Debugging] Developer Tools Access needs to take control blah blah
  • Next by thread: [SOLVED] Xcode 4.2 not instantiating my custom subclass in the nib file
  • Index(es):
    • Date
    • Thread