Although Apple claims to be a major proponent of HTML5 by dismissing flash, the truth is they are really just trying to keep the web from being as rich as native applications where they have…
Tag: iphone
Parse XML for iPhone NSXMLParser
so here's how you parse an xml file in objective c, you include the xml in you resources folder in xcode and then we'll create a class file which acts as an NXMLParserDelegate to parse…
iphone rotate ui to orientation
I found a lot of confusing descriptions on how to get iphone views rotated to orientation. Most of them were using interface builder which doesn't help me as most of the applications I build are…
implementing iAd Framework ADBannerView on iOS4
Putting ads in your iPhone app is as simple as adding an ADBannerView to your view. You can alter the location of the view by changing CGRectZero to CGRectMake(x, y, 0, 0) or altering the…
Read more of implementing iAd Framework ADBannerView on iOS4
scale up images for retina display on iphone 4
if you include the suffix "@2x" at the end of your image names the app will use these images instead of your regular low res images. For example if I have an image "title.jpg" I…
MPMoviePlayerController in iOS4 horizontal
I updated XCode and my iPhone SDK today to the latest 3.2.3 and iPhone OS4 only to find that it broke my video players, so below is the code to play it the same way…
Chuggington iphone game now available!
Check it out, it's traintastic!
iPhone programming without Interface Builder
Personally I'm not a fan of Interface Builder for designing layout of iPhone applications. I prefer the flexibility of having visual elements generated by code where possible. Here are some examples of how to work…