• 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
Re: adding to my UI
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: adding to my UI


  • Subject: Re: adding to my UI
  • From: "Louis C. Sacha" <email@hidden>
  • Date: Mon, 9 Feb 2004 10:07:24 -0800

Hello...

What the other posters said is correct, but just to clarify:

The specific problem is probably that you need to save the file in XCode once you have added your new outlet or action. If you edit the header in xcode, but have not saved it yet, then when you import the header into InterfaceBuilder in any of the possible ways (choosing "read files", dragging the header to IB, etc...) your are still importing the old version of the header from before you added the new interface information.

The reason choosing "write files" was working was most likely that it forced xcode to save the file before the merge occurred, so that the merge was done using the new file which had not been saved until that point.

Hope that helps,

Louis


I'm working on small tutorial type projects trying to learn Cocoa and Obj-C.

After I create my UI in InterfaceBuilder and start coding in XCode, I discover I need to add a new target/action. I'll write the method to act as my target and open up InterfaceBuilder. I can't connect the widget to the target until I do a 'write files'. This causes me to go thru a whole merge operation to get InterfaceBuilder to recognize the target so I can connect it. I thought doing a 'read files' would work but it doesn't.

Is there an easier way to do this? What am I doing wrong?
Thanks.
-Phil
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >adding to my UI (From: pmcurry <email@hidden>)

  • Prev by Date: Tabs window autoresizing.
  • Next by Date: Re: Tabs window autoresizing.
  • Previous by thread: Re: adding to my UI
  • Next by thread: How do I soft-wrap text at a specific line length?
  • Index(es):
    • Date
    • Thread