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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
How to create multiple partitions? mike4realz MacBook Pro 3 Apr 21, 2010 10:51 PM
How to Create multiple subfolders inside the document folder sanjeev iPhone/iPad Programming 2 Mar 1, 2010 07:34 AM
How to create .iso image compatible with Windows? fscarpa Mac Basics and Help 7 Nov 27, 2008 03:50 PM
How to create multiple back ups....??? CKohkah iPhone 1 Aug 21, 2008 11:26 PM
Migration Assistant - how to CREATE a backup of settings? peanutismint OS X 0 Jan 20, 2008 08:06 PM


All times are GMT -5. The time now is 03:16 PM.

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

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