What Programming with Xcode? Want to make a fresh start from an existing Xcode project under a new name? Not quite satisfied with project renaming features in Xcode 4.0? Me too. How I have been using the excellent Monte Ohrt’s script renameXcodeProject.sh for almost 2 years, and I made small improvements along the way. I […]Read more "CloneXcodeProject.sh"
The UIButton documentation does not tell you what are the differences between these two methods. Experimenting uncovers one interesting difference: if you change the button’s frame, background images follow the size change, while images keep their original size. Take your pick.Read more "UIButton : setImage:forState vs. setBackgroundImage:forState"
I submittted Cubz to the AppStore on April 1, it entered into Review on April 4 and was approved for sale on April 5. However, with my associate we decided to wait a little longer, until the excitement with the iPad calms down a bit, and the world is ready for the next great iPhone […]Read more "Cubz is available on the AppStore"
Yesterday, April 1, I submitted my first app to the AppStore for review. What a relief, after weeks of concentration on features, code, bug squashing, internationalizing and all. Sit back, relax and wait for the email from Apple. What app, you might ask. Watch this link to find out.Read more "The day after"
Basic Animation : set the animation properties (like duration) before setting the properties to be animated (this is where the animation is cast in stone). Example : this fadeOut animation will last 1.5 s, as desired: Example : this fadeOut animation will last 0.2 s (the default), not 1.5 s as desired:Read more "iPhone Programming Tricks and Traps"
Install graphviz for Mac from graphviz.org. To check the installation, open a Terminal and type : dot -h OK, so dot was installed and added to your $PATH. Next, create a dot source file and launch dot : dot -T png -O my1st.dot For example : This will create a new file my1st.dot.png that looks […]Read more "How to run graphviz on the Mac"
How to open a Mac Terminal application from Finder, in its current directory? Get the app OpenTerminalHere by Marc Liyanage and add its icon in the Finder toolbar. Click on the icon to open a Terminal. How to make that Terminal display the working directory in its window title? Modify the OpenTerminalHere like this : […]Read more "OpenTerminalHere with wd in title"
How does the user change the language of the application? It looks like he can only change the language of the entire iPhone (Settings -> General -> International -> Language). After the change, an app internationalized for that language will respond in it. How does the user change the language of the application? – take […]Read more "Internationalization of my iPhone app"
Here is a quick checklist Build app and launch on the device Launch Shark (perhaps from Spotlight) From the Shark menu, select Sampling->Network/iPhone Profiling In the Shark window, select the radio button “Control network profiling of shared computers”. Select your iPhone in the list and optionally configure the profiling session Check “Use:” next to your […]Read more "Profiling an iPhone application with Shark"