Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 11-19-2009, 03:00 PM   #4 (permalink)
smasher
Senior Member
iPhone Dev SDK Supporter
 
smasher's Avatar
 
Join Date: Jul 2008
Location: San Mateo, CA (San Fran)
Posts: 3,858
Default

Quote:
Originally Posted by icelandic View Post
I had to tweak the code a little but it's better than I got:

I think I can solve this problem fully if I knew how to get the object id by only knowing the object name as a string. Is that possible?
Sorry, I had some typos. Your fixed code looks good. Is it not working?

You can get variables by name using Key-Value coding, but it's *not* the right thing to do here - it's slow and it's overkill.
__________________

Free Games!
smasher is offline   Reply With Quote
 

» Advertisements
» Online Users: 354
19 members and 335 guests
ADY, apatsufas, chemistry, Duncan C, fkmtc, HemiMG, MarkC, marto1914, Meoz, padsoftware, Promo Dispenser, Raffaello, sneaky, sojourner, syver, tathaastu, tgjorgoski, Thrillhouse1919, ziocleto
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,877
Threads: 89,220
Posts: 380,716
Top Poster: BrianSlick (7,129)
Welcome to our newest member, peterkessler45
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 09:48 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.