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 Feb 15, 2013, 12:26 PM   #1
CEBison
macrumors newbie
 
Join Date: Jan 2013
Using sheets

I am writing a simple little program to learn the basic ins and outs of XCode and Cocoa. Right now, I'm trying to have pop-up sheets (like the open/save file dialogs), I'm calling:
Code:
[NSApp beginSheet: Panel modalForWindow: MainWindow modalDelegate:self didEndSelector:NULL contextInfo:nil];
and all that happens is that the panel does is pop up in the predetermined location.
The settings for Panel is attached.

I hope this is enough information.
Attached Thumbnails
Click image for larger version

Name:	Screen Shot 2013-02-15 at 1.24.34 PM.png
Views:	1
Size:	129.1 KB
ID:	397138   Click image for larger version

Name:	Screen Shot 2013-02-15 at 1.24.49 PM.png
Views:	0
Size:	128.1 KB
ID:	397139  
CEBison is offline   0 Reply With Quote
Old Feb 16, 2013, 02:25 PM   #2
xShane
macrumors 6502a
 
xShane's Avatar
 
Join Date: Nov 2012
Location: United States
Quote:
Originally Posted by CEBison View Post
I am writing a simple little program to learn the basic ins and outs of XCode and Cocoa. Right now, I'm trying to have pop-up sheets (like the open/save file dialogs), I'm calling:
Code:
[NSApp beginSheet: Panel modalForWindow: MainWindow modalDelegate:self didEndSelector:NULL contextInfo:nil];
and all that happens is that the panel does is pop up in the predetermined location.
The settings for Panel is attached.

I hope this is enough information.
Maybe this will help:

Link.
__________________
Macbook Pro 15" 2.6, 8GB, 750GB, 1GB VRAM
"Everything for the people, nothing by the people."

"Be the change that you wish to see in the world."
xShane is online now   0 Reply With Quote
Old Feb 17, 2013, 02:24 PM   #3
CEBison
Thread Starter
macrumors newbie
 
Join Date: Jan 2013
That DID help. Thanks loads! It is great to find a great community that is knowledgeable.
CEBison 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


All times are GMT -5. The time now is 09:00 PM.

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

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