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 Jun 9, 2008, 03:43 AM   #1
kevinrichardsuk
macrumors member
 
Join Date: May 2008
iPhone - altering UI components at runtime

Hi,

I'm fairly new to mac programming, just wanted an opinion on the best way to solve this problem.

I need to be able to dynamically change size/shape/colour/text and possibly graphic resource of most of my UI from code, depending on program state. Ideally, I'd like to index my UI components with a unique integer id (like an arrayed button in Visual Basic) for easy reference. ie. I would like to be able to make button 6 turn green, or send the text "TEST" to button 89.

Is it best to create a default UI in Interface Builder (if so, how can you create arrayed buttons?) or would it be best to create the components directly from code?

Thanks for any advice
kevinrichardsuk 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
CARTOONS for iPhone - Free! vitzu iPhone and iPod touch Apps 0 Jul 26, 2011 06:24 AM
Animation Desk for iPhone - Anyone can be an animator. Any idea matters. (New Video) swopes iPhone and iPod touch Apps 4 Jul 24, 2011 09:59 AM
iPhone - Buy now or..? GoldMan iPhone 31 Jun 19, 2011 08:42 PM
new to osx - alter multiple files at once? BabaG Mac Programming 1 Aug 4, 2008 08:02 PM
Subclassing a UI component and associating it with IB RossOliver Mac Programming 0 Jun 10, 2008 01:32 PM


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

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

Mobile Version | Fixed | Fluid | Fluid HD
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

Privacy / DMCA contact / Affiliate and FTC Disclosure
Copyright 2002-2013, MacRumors.com, LLC