Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old May 29, 2009, 03:40 AM   #1
Monaj
macrumors regular
 
Join Date: May 2009
How we create multiple instants of a Window

Hi All


How we create multiple instance of window
Like when we click on new message in the mac mail, then it open same number of window for new message
and each window work separately.


Thanks
Monaj
Monaj is offline   0 Reply With Quote
Old May 30, 2009, 10:37 AM   #2
kainjow
Moderator emeritus
 
kainjow's Avatar
 
Join Date: Jun 2000
Easiest way is to put your window in a separate nib, setup an NSWindowController for it and alloc/init your window controller for each window, which will create the window for you from the nib.
kainjow is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Cannot open multiple images in the same Preview window geotheory OS X Mavericks (10.9) 0 Feb 16, 2014 07:20 AM
How do I create tables with multiple columns and rows? moonman239 iPhone/iPad Programming 4 Nov 10, 2013 06:45 AM
Is it possible to create multiple DropBox accounts PhiladelphiaX iPad Apps 21 Sep 17, 2013 03:39 PM
How to create multiple disc images Bloch iMac 2 Feb 1, 2013 01:06 PM
Cannot create multiple buttons Baddicus iPhone/iPad Programming 5 Sep 6, 2012 09:05 AM

Forum Jump

All times are GMT -5. The time now is 12:24 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC