Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 25. Sheets > For the More Curious: contextInfo

For the More Curious: contextInfo

The contextInfo parameter is a pointer to some data. You can supply this parameter when you start the sheet, and the delegate will get the pointer when you end the sheet. Here, for example, the developer has started a sheet and inserted a phone number for the context info:

  [NSApp beginSheet:aWindow
     modalForWindow:someOtherWindow
      modalDelegate:self
     didEndSelector:@selector(didEnd:returnCode:phone:)
        contextInfo:@"703-555-6513"];


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint