Airbnb & San Francisco

I’m excited to share that I have accepted an iOS developer position at Airbnb, and my wife and I are moving to San Francisco this week. I love using Airbnb and have enjoyed my stay with hosts all across the world.

Nashville has been a great home. It’s where I grew up and will be missed. This […]

Continue Reading →

On Wednesday this week I gave a talk at Nashville CocoaHeads on Xcode project maintenance and optimization. Here are the slides from that talk:

http://www.slideshare.net/brynbodayle/optimize-and-maintain-your-project-in-xcode

Also, here’s the list of compiler flags I use in my iOS projects. You can copy and paste these into your Compiler Flags in Xcode and they will be automatically separated.

-Wall -Wextra -Werror -Wconversion -Wundef -Wdeprecated-implementations -Wno-unused-parameter -Wfloat-equal -Wimplicit-retain-self -Wnewline-eof -Wshadow -Wsign-compare

Customizable iOS Image Cropper

When faced with a challenging programming problem, I often find it helps to create an entirely new project to solve the problem in isolation (This is also great for tackling bugs). With this approach, I can focus better and avoid the distractions which an ever-expanding software project contains. This also promotes reuse and good API design. Recently, I took this approach for an image cropping control. I’m working on a personal project which has a pretty customized image cropper.

In this cropper I focused on customization, so I could reuse this component in future projects without having to worry about messy scrollview or image cropping code. I’ve had some experience with camera images so I wrote a method to crop, orient, and resize the image in one drawing pass. Put all together, this control provides a fast and memory efficient way to get an image from a user at the exact size you want.

Let me know if you have any suggestions for improvement or feature requests. The component is also available on CocoaPods.

BABCropperView  on GitHub