• 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: Running a "Choose Template" Sheet
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Running a "Choose Template" Sheet


  • Subject: Re: Running a "Choose Template" Sheet
  • From: Kip Nicol <email@hidden>
  • Date: Mon, 14 Apr 2008 11:17:26 -0700

Thanks Sean! This is very helpful.

Calling

[self performSelector:@selector(showCustomSheet:) withObject: [aController window] afterDelay:0.0f]

within windowControllerDidLoadNib: seems like a bit of a hack but I'll try it out. Thanks again.

Kip

On Apr 13, 2008, at 9:33 PM, Sean Murphy wrote:


On Apr 13, 2008, at 11:10 PM, Kip Nicol wrote:

I'm trying to implement a "Choose Template" sheet that pops down with the creation of a new document, one very similar to the "Choose Template" sheet that pops down for each new Keynote document.

Kip,

Erik Buck wrote an article about such an implementation over at stepwise:
<http://www.stepwise.com/Articles/2006/eb1/index.html>. Looking at it quickly, he performs the "show template sheet" method in - windowControllerDidLoadNib:.


Hope that helps,
-Murph

_______________________________________________

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: 
 >Running a "Choose Template" Sheet (From: Kip Nicol <email@hidden>)
 >Re: Running a "Choose Template" Sheet (From: Sean Murphy <email@hidden>)

  • Prev by Date: Re: EXC_BAD_ACCESS when calling CGContextDrawLayerInRect
  • Next by Date: Re: NSCompositeSourceOver equivalent in Quartz 2D?
  • Previous by thread: Re: Running a "Choose Template" Sheet
  • Next by thread: Re: Running a "Choose Template" Sheet
  • Index(es):
    • Date
    • Thread