Reading the iPhone Crash Log

Now that I have a few demo apps deployed there some users that have reported crashes.
I found out how to get the crash logs from the users.
The crash log can be found on the computer you sync you iPod on
• If you are using a Mac:
/Library/Logs/CrashReporter/MobileDevice/
• If you are running Windows XP:
C:\Documents and Settings\\Application Data\Apple computer\Logs\CrashReporter\
• If you are running Windows Vista:
C:\Users\[USERNAME]\AppData\Roaming\Apple computer\Logs\CrashReporter\MobileDevice\

Case sensitive file names (not in the simulator)

This is something I just ran into dealing with images on buttons.
The image on the file system is "stepdone.jpg"

In the simulator the code that worked to load the images is;

[thisUIButton setImage:[UIImage imageNamed:@"stepDone.png"] forState:UIControlStateNormal];

This did not work in on a provisioned device. As you know file names are case sensitive. But it appears that the Simulator was not picky

Actual required code:

[thisUIButton setImage:[UIImage imageNamed:@"stepdone.png"] forState:UIControlStateNormal];

A Better Activity Indicator

I wanted a better ActivityIndicator. The UIActivityIndicator is nice but it is barely visible.

So I went searching for a way to have the activity indicator so many app use. A black background modal popup with the activity indicator spinning in the center with some text.

Here is what I found.
http://www.bukovinski.com/2009/04/08/mbprogresshud-for-iphone/

Using Regex in iPhone SDK - Input Validation

As we progress in the development of the clients application we recognize the need Regex for input validation.
In searching and testing this site has a complete tutorial for using RegexKitLite.
RegexKit is an Objective-C framework for regular expressions:

http://www.iphonedevx.com/?p=54

Enjoy.
-James

Protect You iPhone with OtterBox

When I went to get my wife's iPhone the gentleman that assisted us had a strange case for his iPhone. When I asked him about it he told me it was an OtterBox. Then he proceeded to bang the iPhone on the very edge of the counter a few times then, to my surprise, threw the iPhone across the room. As I watched is awe the iphone bounced on the tiled floor a couple of time then against the wall.

I picked up the iPhone not knowing what to expect. The phone was alright and functioned perfectly.

Objective-C alternative

While looking for information regarding the iPhone API I cam across an interesting article that talked about Objective-C not being the only way to develop for the iPhone. Hmmmmm

Rhodes: Open Mobile Framework
http://rhomobile.com/products/rhodes

Unity Game Game developer:
http://unity3d.com/

Check them out and see what you think

NSDate isBetween

During the development of one of the iPhone apps I am working on, we nneded to compare a dateTime to a date range specified as two dates.

Once again I found an extension that does exactly what is needed.
http://www.iphonedevsdk.com/forum/iphone-sdk-development/12093-nsdate-is...

Enjoy
-James

[Solved] Ad-Hoc Distribution

Updated: 10/19/2009:
I just found a VERY recent document about AD-Hoc deployment
http://petersteinberger.com/2009/10/howto-adhoc-distributing-an-iphone-a...

-hope it helps

After installing iPhone SDK 3.1.4 and iPhone OS 3.1.2 I was able to use the information here to get Ad-Hoc to work with a few modifications.

http://adeem.me/blog/2009/04/24/listguideline-for-creating-ad-hocdistrib...

Well after spending most of the day configuring an app for distribution to beta testers, the first beta tester could not get the app to install.

UIImage resizing, FlickTab and much, much more

In the process of working on an app which contains high resolution graphics I started having problems with low memory errors in the app.
The real issue was that I was displaying the images in custom cells and they were not re-sized just scaled.

I found this posting for a simple resizing routine that uses CoreGraphics.
http://developers.enormego.com/view/uiimage_resizing_scaling

Looking further into the site where this was posted I found so much more. This site is a treasure for iPhone SDK developers.
http://developers.enormego.com/home

[SOLVED] Dual Monitor for the Mac Mini

Like so many of you I like to have a second monitor on my computer. Having a second monitor gives you more desktop area to work with.

I do my iPhone developing on a Mac Mini. One thing that has been bothering me is the lack of a second monitor, and, until not it did not look like a second monitor was an option.

Recently I found the EVGA® Corporation UV Plus USB VGA Display port;
http://www.evga.com/uvplus/

And the drivers for Mac OS X;
http://www.displaylink.com/support/mac_downloads.html

Syndicate content