When I try Objective-C for the first time, I failed rather quickly. The syntax was incomprehensible for me. A lot of square brackets, strange flow (segues) between pages, tons of new methos. Total mess.
So yet again kinda knew what I'm going to expect, so I was able to brace myself. I started with a Storyboard, which went nicely. I watched some YouTube howtos and created a UITableView. Then I discovered prepareForSegue method to do stuff between screens. I had very rough Quiky app without pretty much having a sense what I'm doing. Strange was it somehow worked.
Working with header files and pointers was a nice throwback to my beginnings with Borland C++ back in the late 90's.
I learned little more about basic stuff, like properties, interfaces, built-in methods and after 3 days I started to grab the basic concept. It wasn't that different from C#, PHP or Java after all - just different syntax, but the same approach.
Simply do
[someObj something:param] instead of someObj.something(param). Only string concatenation takes much more space, because instead of str1 + str2 I have to do [str1 stringByAppendingString:str2];My biggest issue was I quite often edited a wrong .m file. What a loser! :)
Anyway, Quiky for iPhone is approaching nicely, I think I may be able to release it in the beginning of May 2014, hopefully with Quiky for Android. Apple app review takes a week or two, so it gives me some time to work on Android, which takes just a couple of hours to publish.
No comments:
Post a Comment