Fork me on GitHub
RSS
 

Archive for the ‘Objective-C / Xcode (iPhone)’ Category

NavigationContentSlider – An iOS Content Slider Using the UINavigationBar

15 Nov

I’ve made a simple to use subclass of a UIViewController that allows you to slide to different content views (in a nice way) using the UINavigationBar.

The class is free to use, on my GitHub page: a1phanumeric’s NavigationContentSlider Fork

Here’s a little screenshot showing you what it looks like (totally unstyled though!):
iOS NavigationContentSlider

Read the rest of this entry »

 

CSV to PLIST converter

21 Feb

I’ve knocked up a simple to use CSV to plist converter which is pretty useful for iOS / OSX development. You can grab the code here:

csv2plist.py on GitHub

Usage is a piece of cake,

python csv2plist.py mycsv.csv
outputs: mycsv.plist in the same directory as mycsv.csv

python csv2plist.py mycsv.csv myplist.plist
outputs: myplist.plist in the same directory as mycsv.csv

Any questions or comments are greatly appreciated as always!

 

I’ve Made a Free iPhone App …Should I Let You See The Source?

19 May

What Should I Make For Dinner Tonight - Free iPhone AppSo, I’ve built an iPhone app – What Should I Make For Dinner Tonight?.

Please download it and play with it. I’d LOVE to hear your feedback, and will happily code in any improvements we all agree would be beneficial. If you’re interested in the Objective-C source code then let me know and maybe I’ll release it!

 

How to Format NSDate in Objective-C Tutorial (iPhone / Cocoa)

25 Mar

How to format NSDate using NSDateFormatter (iPhone Xcode Tutorial)

So, you’re making an iPhone (or iPad) app, and want to know how to format an NSDate in Cocoa? Formatting NSDate in Objective-C is actually not too difficult. Open up Xcode and let’s get’s cracking with some Objective-C goodness!

For those who just smash up Xcode, and get cracking with their iPhone applications – I’m putting the full source code of this tutorial right here at the top:

NSDate *myDate = [NSDate date];
NSDateFormatter *df = [NSDateFormatter new];
[df setDateFormat:@"EEEE dd MMMM, yyyy"];
self.someLabel.text = [df stringFromDate:myDate];
[df release];

Read the rest of this entry »