-
Recent Posts
Recent Comments
Archives
- February 2023
- July 2022
- December 2021
- November 2021
- April 2021
- January 2019
- November 2018
- April 2018
- June 2014
- November 2013
- October 2013
- September 2013
- July 2013
- March 2013
- January 2013
- November 2012
- October 2012
- August 2012
- March 2012
- January 2012
- December 2011
- October 2011
- September 2011
- August 2011
- July 2011
Categories
Meta
Tag Archives: cocoa
Mistakes Were Made: Audio and ARC
There’s a mistake I have, to my own great embarrassment, made twice, so I think it’s worth writing up for posterity. This one’s brief: you can laugh at me and move on. Under ARC, AVAudioPlayers don’t retain themselves while playing. … Continue reading
Posted in Explanation
Tagged ARC, automatic reference counting, Beginners, cocoa, code snippet, iOS, mistakes were made, Mistkaes
Leave a comment
SMPageControl: UIPageControl’s Fancy One-Upping Cousin
If you’ve ever spent any time at Dribbble, you know how much designers love to customize UIPageControl, normally in the form of custom spacing or fancy inset looking page dots. As a developer, you’re probably also keenly aware of the … Continue reading
Premature Completion: An Embarrassing Problem
Working on a project recently, Jerry and I came across an odd bug. We have a two-level UI that allows the user to navigate between several different scroll views. For the sake of keeping things pretty, we want to reset … Continue reading
Posted in Explanation
Tagged animation, bugs, cocoa, code snippet, core animation, iOS, mistakes were made, Mistkaes, sample code
10 Comments
SMShadowedLayer
Impetus For a recent project, we needed to “simulate” or “fake” the look of pieces of paper in a physical environment. We didn’t need fancy physical modeling or curves and curls and folds, just perspective and shadowing during an animation. … Continue reading
Cancel dispatch_after
Joel and I have been working on a project recently that relies pretty heavily on the delayed execution of blocks. It became evident pretty quickly that we needed a way to cancel these blocks. We worked around the problem in … Continue reading
CFTree Is Leaking It’s Children
It’s 12:40 AM, and I’ve got a client related deadline tomorrow afternoon – so what am I doing writing a blog post? The real answer is: I’m not really sure; but the more relevant answer is: Because this took far … Continue reading
(More) Descriptive Logging
Update 9/30/11: This blog post isn’t quite complete. Have a look at Description Isn’t Enough, and remember to use debugDescription as well. Joel and I have been discussing the kinds of content we’d like to work on putting in our … Continue reading