Quote:
Originally Posted by icelandic
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.