So I tidied up all the array code. Made some of the code more modular and switched to NSMutableArrays. Most of it went smoothly. I tend to work for an hour or two in the morning and an hour or so at night. This all depends on whether I have freshly downloaded American TV Goodness waiting to be watched.
On a side note, I forgot the syntax for "switch" statements in C-like languages. It felt like a doh moment. But it is past and reinforced back into the ole gray matter.
I have one problem involving two ViewControllers talking properly to each other. But I think it has to do with connects. I'll check in IB tomorrow.
Good night all!
Friday, January 30, 2009
Thursday, January 29, 2009
NSArrays
I have made quite a bit of progress in the past hour on initializing from and writing to files with NSArrays. And by progress, I mean I can actually do it now. I am current recreating an Array each time I increment one for the counters. I know this is a horrible kludge, but it is a baby step. I will switch to MSMutableArrays and hopefully tidy things up abit.
I have a name for the app finally. Which I won't mention here.
Also, I finally broke down and bought into the ipone dev program. I have not yet figured on a way of testing as I have neither an iPhone or iPod Touch device. But I am sure I can find a "lucky" friend.
I have a name for the app finally. Which I won't mention here.
Also, I finally broke down and bought into the ipone dev program. I have not yet figured on a way of testing as I have neither an iPhone or iPod Touch device. But I am sure I can find a "lucky" friend.
A few things first...
First, I hope to explain some of my thoughts, ideas and things I have learned while developing for the iPhone OS. I hope I can share learn from your comments as well as teach a few things along the way!
Second, why "sells chicken"? Well living in china I like most westerners have acquired a Chinese name. In my case "麦吉" which is phonetically equal to "买鸡" which means "to sell/Sells Chicken". It got translated back into English and so now, one of my English nicknames is "Sells Chicken."
Finally, I am sure I will make mistakes along the way, but hopefully I will make a little money in the process, probably making silly, non-productive programs.
Second, why "sells chicken"? Well living in china I like most westerners have acquired a Chinese name. In my case "麦吉" which is phonetically equal to "买鸡" which means "to sell/Sells Chicken". It got translated back into English and so now, one of my English nicknames is "Sells Chicken."
Finally, I am sure I will make mistakes along the way, but hopefully I will make a little money in the process, probably making silly, non-productive programs.
Subscribe to:
Posts (Atom)