Apr 22, 2009
This request of MKureth is so totally crazy that I just had to share it with you:
As impressive as your resumé sounds you lack a couple of essential skills.
Apr 21, 2009
Can anyone tell me the best way to create and store data on the iPhone so that the app can read the data but also write to it?
Having tried out all the possibilities that the iPhone platform holds in stock, here’s my opinion.
Apr 20, 2009
I finally got my Frenchy to translate the UI strings for LuckyWheel. Also we put in some Dutch “modernizations” because a Dutch review site had complained about the style.
- Added French UI and cleaned up French proverbs
- Dutch language improvements
Since there where no code changes Apple should be fairly quick to approve this update.
Apr 19, 2009
When you are trying to be successful with something you think a lot. You are researching methods that worked for other people. You are pondering, designing, sweating. You are emulating what caused success in others. And it does not get you anywhere where you would already call yourself successful.
But then comes a long a new aquaintence, a little tool called AppRanking for FREE, that turns your world upside down and with this external help you suddenly realize that you are already many times more successful that you thought you are. You just looked in the wrong direction.
Apr 18, 2009
Anonymous users keep asking:
How do I remove whitespace characters from a string?
A quick way to do that is to first split the words in the string by whitespace characters and then join them back together without seperator. But there is a more elegant way to achieve this, that’s reusable at the same time: extend NSString by adding a category to compress whitespace to an arbitrary seperator.
Apr 16, 2009
I’ve made an attempt recently to incorporate OpenStreetMap into my app. I’ve failed miserably. The result is a blank webpage. Any help/hints would be appreciated.
I immediately suspected that there was wrong with how he constructed the URL for the UIWebView, because I did run into a similar problem before.
Apr 16, 2009
If you are saving data in your apps then you are saving them to your app’s sandboxed documents directory. In simulator files you can easily inspect the contents of the directory if you just browse there with finder or cd there in terminal. Note that there is a space in the path, so you need to put exclamation marks around it if you use it with cd in terminal.
NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
NSString *documentsDirectory = [paths objectAtIndex:0];
NSLog(documentsDirectory); // output documents directory to debug console
Copy this path, open terminal and go:
MacDrops:~ Oliver$ cd "/Users/Oliver/Library/Application Support/iPhone Simulator/User/Applications/AAC8D0E8-C134-4A94-ACA9-88C7A58DCE1C/Documents"
Or if you prefer Finder then use the handy option “Go To Folder …” and paste the path there. Bear in mind that with every new build the documents directory gets moved to a new application ID. The contents will persist, but the path changes. If you navigate to the ../User/Applications folder you will find that the newest directory is the one that belongs to your just-built app.
There are some rare cases though when you find that Simulator behaves differently than a device. How can you inspect the files there?
Apr 13, 2009
After having started this blog a trainee of mine recommended I get started with twitter because I was trying to get connected to other iphone developers. I figured it would probably be useful if you had a network of, say, a thousand guys who are also interested in coding iPhone apps.
Apr 13, 2009
NOTE: AppRanking has been deprecated in favor of Applyzer.
While other people where looking for easter eggs Michael Dorn searched for and eliminated some bugs unintential easter eggs in AppRanking. What’s new?
- An icon
- No more crashes when unchecking and reloading ranks
- Adding of your apps is now more intuitive, following the plus and minus paradigm.
- Minor: In the ranking history you need to click the category header twice to make the sort order change
- Minor: Some English spelling mistakes
AppRanking (No longer available, see above note)
It’s free, but please donate any amount that pleases you if you like AppRanking and want for Michael to keep improving it.