• 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: how to read api
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to read api


  • Subject: Re: how to read api
  • From: Creed Erickson <email@hidden>
  • Date: Wed, 26 Nov 2003 07:04:16 -0800

On Tuesday, November 25, 2003, at 07:13 PM, Highlander872 wrote:

> I found the api for using the NSApplication methods but how do i use
> them
>
> applicationDidFinishLaunching
> public abstract void
> applicationDidFinishLaunching (
> com.apple.cocoa.foundation.NSNotification )
>
> is all it says, every way i try it gives me bout a dozen errors
> how do you turn this into usable code?
> can someone help me with how to understand the api docs?
>

I don't know what you're looking at. When I look up that particular api
I find:


applicationDidFinishLaunching:

- (void) applicationDidFinishLaunching: (NSNotification *) aNotification
Sent by the default notification center after the application has been
launched and initialized but before it has received its first event.
aNotification is always an NSApplicationDidFinishLaunchingNotification
. You can retrieve the NSApplication object in question by sending
object to aNotification . The delegate can implement this method to
perform further initialization. If the user started up the application
by double-clicking a file, the delegate receives the
application:openFile: message before receiving
applicationDidFinishLaunching: . ( applicationWillFinishLaunching: is
sent before application:openFile: .)

See Also:  finishLaunching , applicationDidBecomeActive:


This is from
file:///System/Library/Frameworks/AppKit.framework/Versions/C/
Resources/English.lproj/Documentation/Reference/ObjC_classic/Classes/
NSApplication.html

This presupposes understanding of class delegates.
_______________________________________________
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: 
 >how to read api (From: Highlander872 <email@hidden>)

  • Prev by Date: Re: movie
  • Next by Date: Re: Filesystem notifications - panther, carbon and kqueue: an odyssey
  • Previous by thread: Re: how to read api
  • Next by thread: Resizing of the slider under application execution
  • Index(es):
    • Date
    • Thread