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, 07:47 AM   #1
mpemburn
macrumors member
 
Join Date: Jan 2008
Location: Bel Air, MD USA
Cocoa/Objective-C: Can I position controls programatically?

Hi,

I'm relatively new to Objective-C (several weeks) and, while a lot of things are starting to make sense, there's one thing that I can't seem to find any information on: How to position controls programatically. This is something I'm used to being able to do in the dozen other languages I've worked with over the years so it puzzles me that what I consider to be a basic facility missing from Objective-C. Probably means I'm looking at it the wrong way. Any help (except, "Why would you want to do that?") gratefully accepted.

Thanks in advance,

Mark
mpemburn is offline   0 Reply With Quote
Old May 29, 2009, 07:54 AM   #2
robbieduncan
Moderator
 
robbieduncan's Avatar
 
Join Date: Jul 2002
Location: London
Yes. Of course you can. Simply set the frame of the NSView. Simple.
robbieduncan is offline   0 Reply With Quote
Old May 29, 2009, 08:21 AM   #3
mpemburn
Thread Starter
macrumors member
 
Join Date: Jan 2008
Location: Bel Air, MD USA
Great! Thanks for the speedy reply!

Mark
mpemburn 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
Cocoa/Objective-C: How to get a users default email app? mpemburn Mac Programming 9 Mar 15, 2013 07:46 AM
Easiest/Best Version Control System to use with Eclipse? oxfordguy Mac Programming 0 Nov 19, 2011 10:01 AM
Cocoa/Objective-C: crop and save an image lodevalm Mac Programming 6 Nov 3, 2009 09:23 AM
Cocoa/Objective-C: How do you insert pages into an NSView? mpemburn Mac Programming 10 Jun 4, 2009 01:21 PM
Populating tree control programatically McBgnr Mac Programming 3 Apr 21, 2009 01:49 PM


All times are GMT -5. The time now is 06:51 AM.

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

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