Starting to work on iOS versions of my Apps

As already written on my previous blog post iOS versions distribution makes me start developing some iOS apps 😀  I started to play with iOS development using xcode.

Since the most succesfully app in Windows Phone was Ahorcado with almost 400 000 downloads now, I thought it would be a good idea to start remaking that one in iOS.

I’m not that patient to study a whole book of iOS development so I started to write code for the pieces I had no knowledge how would it be in iOS.

So here’s how my development process started:

First thing I searched was how to read a simple file and split it’s content by lines and put all the list in some array or List.

As for the first part of it reading the text from the file it was pretty simple first result in Google search brought me on stackoverflow question how to read a text file in iOS

with this solution:
NSString* content =[NSString stringWithContentsOfFile:path encoding:NSUTF8StringEncoding error:NULL];

Once I loaded the data, coming from a C# environment I was trying things like Split or something similar and here’s what I found here
NSArray* list =[content componentsSeparatedByString:@”\n”];

Well for iOS developers this is Child’s Play well for me it’s not 😀 When I’ll find some interesting coding about iOS I will share it with all of you.

P.S. By now I kind of don’t like Outlets and that part of UI development.

Leave a Reply

Your email address will not be published. Required fields are marked *