Michael Waterfall

Web & iOS Developer • Life Hacker

Posts tagged development

Notes

MWPhotoBrowser — A simple iOS photo browser

MWPhotoBrowser is an implementation of a photo viewer that I wrote for Momento allowing the user to view one or more images in a similar way to the native Photos app. It can display one or more images by providing either UIImage objects, file paths to images on the device, or URLs to images online. The photo browser handles the downloading and caching of photos from the web seamlessly. Photos can be zoomed and panned, and optional (customisable) captions can be displayed.

Filed under Development iOS

0 notes

Characters and Encodings

A fascinating article by Mike Ash explaining in great detail the concepts of characters and encodings. He discusses ASCII, ASCII compatibility, Latin-1 (ISO-8859-1, Windows-1252, ISO 8859-1), Unicode and UTF-8/16/32. There’s also useful information on NSString’s and how best to decode NSData bytes when the correct encoding isn’t known.

Filed under Development Cocoa