Tuesday, May 31, 2011

WWDC 2011...

WWDC 2011 will be about:

  • iCloud
  • iOS 5
  • Lion (Mac OS X 10.7)
Steve Jobs will be there!

Monday, May 30, 2011

iPhone is case-sensitive

I had a strange issue today while programming my iPhone. Although the application was running find on iOS Simulator, it crashed on my iPhone 4.


The iPhone was generating the following error:
2:53 unknown Pickers[15251] : *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSURL initFileURLWithPath:]: nil string parameter'


The problem was a wrongly typed file name. The "wrong" command was:
NSString *path = [[NSBundle mainBundle] pathForResource:@"Crunch" ofType:@"wav"];


and I had to change it to (notice the small __c__)
NSString *path = [[NSBundle mainBundle] pathForResource:@"crunch" ofType:@"wav"];


The funny thing was that both of them were working on the iOS Simulator but only the second one on my iPhone! So, iPhone is case-sensitive.

Saturday, May 28, 2011

Tab bar items

As I was reading a book on iPhone 3 development, I thought that it would be useful to point out the new way (in Xcode 4) of creating tab bar items.




In Xcode 3, this job was done from the Attributes inspector of the Tab Bar Controller.
You should now drag a Tab Bar Item from the library to a Tab Bar Controller.

Wednesday, May 25, 2011

Tips for success


Found it at MacUser.co.uk.

Tuesday, May 24, 2011

My May 2011 MacTech article

Title: The SQLite DB and iOS
Subtitle: How to use SQLite on your iPhone and iPad

My April 2011 MacTech article

Title: Sending Cisco logs to Syslog on your Mac
Subtitle: How to set up both your Cisco router and your Mac in order to store Cisco log files

Tuesday, May 10, 2011

Skype update


Friday, May 6, 2011

Dive into Python

As I will teach the Python programming language, I wanted a good book to quickly teach me Python.
My brother told be about the "Dive Into Python" book. The good news is that the book is freely available as well as published by Apress.
I have downloaded and printed the free version :)


There are two editions of the book that can be found here and here.

Wednesday, May 4, 2011

iOS 4.3.3 is out!



Developer promo codes

I am sorry to inform that it is no longer possible
to rate or review
an app if it was downloaded
using a developer’s promotional code.

(Sounds fair, I think)
Read it here.

Tuesday, May 3, 2011

Apple Store is down!


New iMacs maybe?

Sunday, May 1, 2011

SmartReporter 2.6.1