• 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: Add Toolbar to Document Based Project
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Add Toolbar to Document Based Project


  • Subject: Re: Add Toolbar to Document Based Project
  • From: j o a r <email@hidden>
  • Date: Sat, 30 Nov 2002 19:11:47 +0100

On Saturday, Nov 30, 2002, at 18:24 Europe/Stockholm, Uwe Schlosser wrote:

My question is, is this the only way to work around such a problem.

No, of course not! There's never just one way to do something... :)

I would have placed the toolbar delegate in the window controller, if you have such a one - but regardless of the position you shouldn't be limited by where you have access to the instance variable. You should of course use an accessor method! Something like this:

[[myDoc window] setToolbar: toolbar];

j o a r
_______________________________________________
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: 
 >Add Toolbar to Document Based Project (From: Uwe Schlosser <email@hidden>)

  • Prev by Date: Re: What happens when a "synchronize" occurs to synchronize preferences?
  • Next by Date: Re: superclass and awakeFromNib
  • Previous by thread: Add Toolbar to Document Based Project
  • Next by thread: Re: Add Toolbar to Document Based Project
  • Index(es):
    • Date
    • Thread