• 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: Implementing binding with garbage collection.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Implementing binding with garbage collection.


  • Subject: Re: Implementing binding with garbage collection.
  • From: Chris Hanson <email@hidden>
  • Date: Thu, 8 Nov 2007 14:35:32 -0800

On Nov 8, 2007, at 1:34 PM, Ricky Sharp wrote:

Create a 'container view' and add the view with bindings as a subview to it. The container view's drawRect can just be a NOP. Then, call enterFullScreenMode:withOptions: on the container view.

I have not played with those new full-screen APIs, so not sure if this would work or not. However, since the view with bindings would then have a non-nil superview, bindings would not go away when going full-screen.

I haven't tried this either, but I can't think of a reason off-hand why it wouldn't work.


I often find myself using just plain NSView objects as containers for organizational purposes. This has only increased with the introduction of NSViewController in Leopard. It's my new favorite class! Mmm, modularity.

These days I typically create an NSViewController subclass for whatever higher-level "component" I'm designing, and have its view be a plain NSView that acts as a container for everything else within the module (buttons, text fields, table views, etc.).

  -- Chris

_______________________________________________

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


References: 
 >Implementing binding with garbage collection. (From: Joshua Emmons <email@hidden>)
 >Re: Implementing binding with garbage collection. (From: mmalc crawford <email@hidden>)
 >Re: Implementing binding with garbage collection. (From: Ricky Sharp <email@hidden>)

  • Prev by Date: Re: [Leo] Strange Core Data vs. Spotlight issue
  • Next by Date: How get key down on launch?
  • Previous by thread: Re: Implementing binding with garbage collection.
  • Next by thread: Re: Implementing binding with garbage collection.
  • Index(es):
    • Date
    • Thread