• 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 - IB problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Xcode - IB problems


  • Subject: Xcode - IB problems
  • From: Ashley Perrien <email@hidden>
  • Date: Sun, 1 Jun 2008 14:56:38 -0500

I'm working my my way though the new edition of Cocoa programming and am having some problems with XCode and Interface Builder.
1) I'll create a project in XCode and save.
2) switch to IB (via the MainMenu.nib to get the layout down. Save.
3) Create a new class in XCode, put in a few IBActions and Outlets, save.
4) Back to IB, drag over an object, set it to the correct class.
5) SOMETIMES the Actions and/or the outlets will show up and sometimes not. I can see no pattern but more often than not, they don't. This latest project I followed exactly the steps and code in the book, none of the actions or outlets showed up. I threw out the project and recreated it. This time the actions showed up (but no outlets).


Am I doing something wrong and missing it or is this way of doing things just not as reliable? Should the class be created before ever going to IB? Should I create all the actions and outlets in IB and let it create the class?


Ashley Perrien Random Quote of the day: "If you understand what you're doing, you're not learning anything." -Abraham Lincoln


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Xcode - IB problems
      • From: "Hamish Allan" <email@hidden>
  • Prev by Date: Re: KVO: I get called on change, but then can't get the object
  • Next by Date: Re: Xcode - IB problems
  • Previous by thread: Re: KVO: I get called on change, but then can't get the object
  • Next by thread: Re: Xcode - IB problems
  • Index(es):
    • Date
    • Thread