Recently I came across an elusive bug in our Sound Wand app involving the 2-component UIPickerView used to choose the musical key/scale combination. The setup is a bit complex but to give you an idea, some “scales” are “special” (eg. “Morning Sunrise”) in that they have pre-defined musical keys so when a user selects one ...
Marshmallow Stopwatch on Github This is the latest addition to the Marshmallows library. It’s a simple class I designed for getting a deeper analysis of user interaction timings in an app. The results are then reported to the app’s analytics. It supports “marks” (like the “lap” button on stopwatches) as well as pausing. An example…
The first time I was confronted with the need to do some custom drawing in my iOS app, I spent longer understanding and deciding how to begin than I did actually doing the drawing code itself. Through much trial and error, and many pages of Apple docs and Stack Overflow posts, I journeyed through a ...
http://lukeredpath.co.uk/blog/a-note-on-objective-c-singletons.html
https://github.com/Club15CC/Marshmallows/tree/master/Source/UIKit A UIImage category for Getting pixel byte data into an NSData object Sampling pixel colour data at a point Sampling an even selection of pixels from a range (for using gradients swatches as colour profiles). Many thanks to the help in this SO questions.
http://attasi.com/labs/ipad/
http://cocoawithlove.com/2011/06/big-weakness-of-objective-c-weak-typing.html Keeping this one in the back of your mind might save you some serious headache…
Check that you aren’t importing the “.m” file: #import “DuplicateClass.m” Thanks to the second answer on this SO post!
1. In HTML5, there is no predefined hierarchy for <header>, <section> and <article> tags. Each can be nested within the other. It’s not one section per page or one article per page. Post stubs can be wrapped in <article> tags. Comments can be a <section> with each comment being an <article> with the author/date/time in ...
http://www.canvasdemos.com/
For the rebuild of the photographer Nick Fleming’s website, I was pleased to discover this treasure chest of incredible tools which have come about in recent years. The site employs many modern front-end web development techniques such as responsive design via media queries, font embedding, the HTML5 History API, HTML5 elements, and many CSS3 techniques ...
For the recent re-design of the photographer Nick Fleming’s website, I decided to make a bold decision to forgo worry about compatibility with the Ghosts of IE Past and focus on leveraging many of the modern tools of HTML5, CSS3 and other areas which many of us have been patiently window shopping but in-the-end, avoiding for ...
How To: Upload Media via URL Programmatically in WordPress Discover the useful media_sideload_image() and download_url() functions. Much abliged Konstantin!
It’s a slight drawback to the bulk post editor in WP at the moment that you may only add categoires to the selected posts but not remove them. I came across this post on the forum to which I had to make a few tweaks to get things working in WP3.2. Below is the result… ...
iOS5 & ARC – A Clear, Comprehensive Tutorial… [iOS]
Singleton Design Patterns Reference [Objective-C] A good discussion on StackOverflow which covers multi-threading and high-efficiency options…
Learn by Example with these Python Generator Expressions [Python]