• 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: AU Cocoa UIs that open further windows
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AU Cocoa UIs that open further windows


  • Subject: Re: AU Cocoa UIs that open further windows
  • From: Brian Willoughby <email@hidden>
  • Date: Fri, 11 Jun 2010 17:47:26 -0700


On Jun 11, 2010, at 06:56, Paul Davis wrote:
On Fri, Jun 11, 2010 at 5:58 AM, Urs Heckmann <email@hidden> wrote:
How about CocoaUIs? Is it safe now to open further Windows e.g. from a NIB?

side question: if the host is NiB-less, what would be responsible for paying attention to the NiB when the view component is opened? Is this a feature of component services?


As briefly as possible: Every NIB has a File's Owner object which must see +alloc and -init before the NIB is opened. That object is responsible for it's NIB, receives -awakeFromNib as well as set<OutletName> and other callbacks. Some coders will open multiple NIBs with the same object, making it difficult to follow the paradigm correctly. But the correct way is to create a new object before each load.

Also, component services has no Cocoa knowledge, so far as I know.

Brian Willoughby
Sound Consulting

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: AU Cocoa UIs that open further windows
      • From: Paul Davis <email@hidden>
References: 
 >AU Cocoa UIs that open further windows (From: Urs Heckmann <email@hidden>)
 >Re: AU Cocoa UIs that open further windows (From: Paul Davis <email@hidden>)

  • Prev by Date: AudioUnitScheduleParameters: ramped kMultiChannelMixerParam_Volume
  • Next by Date: Re: Play from Audio CD
  • Previous by thread: Re: AU Cocoa UIs that open further windows
  • Next by thread: Re: AU Cocoa UIs that open further windows
  • Index(es):
    • Date
    • Thread