• 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: One shot flag in IB
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: One shot flag in IB


  • Subject: Re: One shot flag in IB
  • From: Andrew White <email@hidden>
  • Date: Fri, 29 Oct 2004 15:25:23 +1000

Fritz Anderson wrote:
On 28 Oct 2004, at 8:37 PM, Andrew White wrote:

 > What does the 'one shot' flag on an NSPanel do in IB?
 >
 > Where can I find the documentation for this?

Typing "one shot window" into the full-text search field of the Xcode
documentation window yields the following in the first document that
relates to Cocoa:

 > Setting Whether the Window’s Image Persists When Off-Screen
 >
 > Memory can also be saved by destroying the window device when the
 > window is removed from the screen. The setOneShot: method controls
 > this behavior. One-shot window devices exist only when their NSWindows
 > are on screen.

Thanks.


OK, I finally found the text buried deep in:

ADC Home > Reference Library > Documentation > Cocoa > User Experience > Windows and Panels > Setting Attributes for the Window’s Image
(#6 on the list)


Unfortunately, searching the NSWindow class documentation for "one shot" (or "one-shot") doesn't work. You need to ask for "OneShot" (as in setOneShot / isOneShot). There are times I really wish the IB info window in IB had better tooltips.

--
Andrew White

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


References: 
 >One shot flag in IB (From: Andrew White <email@hidden>)
 >Re: One shot flag in IB (From: Fritz Anderson <email@hidden>)

  • Prev by Date: Re: One shot flag in IB
  • Next by Date: RE: Broken Project
  • Previous by thread: Re: One shot flag in IB
  • Next by thread: Strange behavior
  • Index(es):
    • Date
    • Thread