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:	19
Size:	129.1 KB
ID:	397138   Click image for larger version

Name:	Screen Shot 2013-02-15 at 1.24.49 PM.png
Views:	20
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
24" Asus display


"Be the change that you wish to see in the world."
xShane is offline   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

Similar Threads
thread Thread Starter Forum Replies Last Post
How to add Email to Share Sheets? JJAustin OS X Mavericks (10.9) 1 May 3, 2014 10:18 PM
Share Sheets not working. ajvizzgamer101 OS X 10.8 Mountain Lion 3 Apr 16, 2013 10:16 AM
Cotton or Microfiber sheets? einmusiker Community Discussion 6 Dec 11, 2012 05:35 PM
Will apps like Chrome get share sheets? million7 OS X 10.8 Mountain Lion 5 Sep 1, 2012 06:14 PM
Facebook Intergration/Share sheets pacmania1982 OS X 10.8 Mountain Lion 2 Jul 26, 2012 02:04 PM

Forum Jump

All times are GMT -5. The time now is 12:56 PM.

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

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