• 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: Do I need a document-based application ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Do I need a document-based application ?


  • Subject: Re: Do I need a document-based application ?
  • From: Robert Walker <email@hidden>
  • Date: Wed, 8 Mar 2006 17:33:50 -0500

Wayne,

If you just want another window you can just drag a new one out of the pallet to our "Instances" window in Interface Builder. You don't even need to have a separate NIB file. You have options to display the new window when the application launches, or you can use the [myWindow makeKeyAndOrderFront:] message to open the window and make it the key view.

Document based application are very common. Pretty much any application that has a "New" item in the menu needs to be document based. Non-document based applications would be something like the Calculator. There is just one main window with a few additional windows, but there is no "New Calculator" item in the "File" menu.

On Mar 8, 2006, at 4:26 PM, Wayne Pascoe wrote:

Hi all,

I'm trying to write an application to allow me to easily find archived media. The end result will have a screen displaying the archives and a description of each archive in the main window. Double clicking the archive will open another window displaying a lot of metadata about the archive, as well as where it currently is.

Adding a new archive will also have another window for the user to enter details about the archive.

Do I need a document-based application to do this? I'm only just getting started and I'm heavily reliant on cocoa programming for Mac OS X at the moment. Looking through this, I'm still a LOT confused about how to have an application with multiple NIB files (which I assume that I will need for multiple windows in the application) and tying that all together.

If anyone could offer any pointers to tutorials that show how to create a multi-document application that uses core data, I would be very grateful. I've read some of the linked documentation at http://developer.apple.com/documentation/Cocoa/Conceptual/CoreData/ index.html, but I'm still not clear as to how I would go about accessing the same data in multiple classes / nibs.

Thanks in advance!
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Do I need a document-based application ? (From: Wayne Pascoe <email@hidden>)

  • Prev by Date: Re: Best way to track down a double-delete
  • Next by Date: [Meet] Toronto Area Cocoa & WebObjects Developer Group - Registration Now Open
  • Previous by thread: Do I need a document-based application ?
  • Next by thread: Re: Do I need a document-based application ?
  • Index(es):
    • Date
    • Thread