Archive | iOS Tutorials RSS feed for this section

iOS 5 Recipes: A Problem-Solution Approach

Last year I was approached by Apress about writing a book on iOS 5. It seemed like a great opportunity and something that had been on my bucket list. I was very excited to take on the challenge and then quickly found myself overwhelmed trying to balance a full-time job, several side projects, and a […]

Read More

Calculating Heading with CoreLocation

It’s fairly easy to get the heading of the user as they move in an iPhone app. More difficult however, is how to find the heading between two specific points that the user may or may not be at. In my case, this was in order to let the user pick a specific point, walk […]

Read More

Custom Map Pins for MapKit

In my last MapKit post, I told you how to create custom polygon overlays for your maps. ┬áNow we are going to add to that project and create custom Parking lot icons to place over our polygon shapes so people know what they are. If you want to follow along, make sure you download the […]

Read More

Adding polygon map overlays

For an introduction to MapKit, see Ray Wenderlich‘s tutorial post, Introduction to MapKit on iOS. It’s been a while since I did a mapkit tutorial and I thought it was about time I got back to it. This is going to be a simple one, it’s about adding polygon overlays to a map. Say for […]

Read More

Beta Testing iPhone Apps

On Tuesday night, I presented to the Baltimore Mobile Developers group a talk discussing tips for beta testing your iphone apps. I’ve included the presentation in this post but I thought I would highlight some of the key points as well in a post. Beta testing iPhone apps View more presentations from shawngrimes. Getting a […]

Read More

MapKit Overlays – Session 1: Overlay Map

I’m working on a project where I need to add information to a map and I need more than just a pin drop. I originally wanted to overlay an informational map on top of the built in MapView so that I could use the GPS to show where I was within the informational overlay. All […]

Read More

Integrating ShareKit with Cocos2d for the iPhone

ShareKit is an awesome library for sharing almost any content with a number of social media sites. It’s incredibly powerful and can share images, URLs, text and even files. It’s smart enough to which social sites can accept which content and only show the services that can handle that content. This was a really simple […]

Read More

(Follow Up) – Getting Safe[r] Short links in your iOS App

This is a follow up to my original post on using McAfee’s URL shortening service, McAf.ee, in your iOS apps. I was able to find an API that makes the process even easier. //First setup the URLs NSURL *urlToShorten=[NSURL URLWithString:@”http://www.shawnsbits.com”]; NSString *mcafeeURLShortenerString=[NSString stringWithFormat:@”http://mcaf.ee/api/shorten?format=text&input_url=%@”, SHKEncodeURL(urlToShorten)]; NSURL *mcafeeShortener=[NSURL URLWithString:mcafeeURLShortenerString]; //Get the result NSString *mcafeeShortenedString=[NSString stringWithContentsOfURL:mcafeeShortener encoding:NSStringEncodingConversionAllowLossy error:nil]; […]

Read More

Getting Safe[r] Short links in your iOS App

UPDATE: This post has been updated here. Traditionally known for their bloat ware anti-virus, McAfee has decided to get into the short-URL service with their new beta program of Mcaf.ee. Many security experts have agreed that using URL shortening services is a great way to masquerade malicious sites and to dupe victims into visiting them. […]

Read More

Game Kit Game Center and cocos2d

With the upcoming release of iOS 4.1 and GameCenter next week, I decided to try and add the new functionality to StackEm. Most of the implementation went without a hitch but there were some places I ran into issues and I thought I would share my experiences so others don’t run into the same issues. […]

Read More