Services
Find Stuff
Pages
Buy My Apps
Other Stuff I’ve Built
Book Club
Archives
- May 2018
- February 2014
- December 2013
- November 2013
- August 2012
- July 2012
- April 2012
- March 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
- January 2011
- December 2010
- November 2010
- October 2010
- September 2010
- August 2010
- July 2010
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
Categories
- Boxing (23)
- Energy (5)
- iPhone (142)
- Jack Handy (283)
- NaNoWriMo (3)
- People (11)
- Planet Microsoft (5)
- Projects (88)
- Python (43)
- Reelviews (13)
- Reverse Engineering (18)
- Six Word Stories (111)
- The Hard Way (3)
- Uncategorized (6)
- UNIX (8)
- Vacation Slides (30)
- Web stuff (51)
Blogroll
Category Archives: iPhone
Minesweeper (Part 5)
Today I present a rough prototype of our Minesweeper project. It incorporates the rendering techniques we’ve been experimenting with over the past few posts, and includes some (partial) game logic. At this point, you can only move around the playfield … Continue reading
Minesweeper (Part 4)
When we last checked in on it, our Minesweeper project was suffering from slow rendering. Today, we find a workaround.
Minesweeper (Part 3)
Today we implement a simple vector graphics renderer for Minesweeper. While it works, and runs reasonably quickly, it causes some highly undesirable stutter on the device. Since this approach isn’t final, I’m only going to cover some of its highlights, … Continue reading
Minesweeper (Part 2)
Today, we take a first look at rendering our playfield. We find that a naive, UIView-based approach is unsatisfactory, and take a detour into the exciting world of vector graphics.
Minesweeper (Part 1)
Let’s do a multi-day project: Let’s build Minesweeper for the iPhone. This should be pretty straight-forward, especially if we cut out a bell or whistle here and there. Let’s get started with some data structures.
Quickie: URL Encoding
Via simonwoodside.com: If you want to URL-encode a string, don’t use stringByAddingPercentEscapesUsingEncoding: Use CFURLCreateStringByAddingPercentEscapes instead.
Posted in iPhone
Comments Off
Exporting SSL
A quick followup to an earlier post: Apparently, you do need to go through the whole CCATS process to ship an iPhone app that makes HTTPS connections – even if the app uses no other encryption. Although I’m only basing … Continue reading
Posted in iPhone
Comments Off
UIScrollView (Zooming)
The zooming behavior of UIScrollView is counterintuitive and not terribly well documented – particularly when one is dealing with a tiled scroll view. Today I present a simple “infinite zoom” demo (over an admittedly pretty bland world) that I hope … Continue reading
Posted in iPhone
Comments Off
Saving CGPaths
Let’s say you’ve created a CGPath in your code, and you’d like to save it to disk. It wasn’t immediately obvious to me how one might do this, but it turns out to be pretty easy with the use of … Continue reading
Posted in iPhone
Comments Off
UIScrollView (Tiled)
To follow up on last week’s post about UIScrollViews, I want to explore this somewhat mysterious passage from the documentation: The object that manages the drawing of content displayed in a scroll view should tile the content’s subviews so that … Continue reading
Posted in iPhone
Comments Off