Sometimes random, occasionally focused, rarely proof-read
Following up on my recent post about Xcode Bots I wanted write up some brief notes about how I have configured a project so that an archive build Bot bumps the project's build number and then commits that back to the Git repository. Normally I would do things like this using a Run Script build phase but here's a slightly different approach using Xcode's Schemes.
For me the Auto Layout improvements in Xcode 5's Interface Builder made it a usable replacement to the old springs and struts mechanism. Over the last few weeks I've been learning a lot about Auto Layout so I thought it would be a good idea to pass on some of the tricks I've picked up but mainly I wanted to document some of the bits I struggle to remember.
I'll add to this list as my Auto Layout skills improve.
For some time I've been wanting to set up a Continuous Integration server but, as a solo developer, I've never had the overwhelming need to do so. At least not to make me jump through all the hoops necessary to set up a Jenkins server. However when Apple announced Xcode Bots at WWDC 2013 it became a feature I really wanted to try. Unfortunately during the Mavericks beta period I kept hearing tales of anguish and woe so I avoided it all until yesterday.
Updated: Please see an update at the end of this post about how it all turned out.
I've had a Drobo for around four years now and until yesterday I've never experienced any hardware failure or data loss issues. That changed yesterday afternoon and I'm sorry to say that it is something I could have avoided.
Just over a month ago I wrote a blog post about my intention to release a beta of avTag before WWDC. Today, one week before WWDC begins, I shipped beta 1 to 23 testers.
What people don't know is that a few days after making my commitment I also decided to make a more immediate, more terminal one during a discussion with another developer. That was that if I couldn't ship an alpha version to a very small group of people within a week I'd pull the plug on avTag.
Whilst I was developing avTag I started using HockeyApp to distribute builds to beta testers. As part of that process I decided to follow their advice and configure my project so that I could have debug, beta and App Store builds all installed on devices concurrently. You then have access to the three states of your application quickly and easily. However I found some of the configuration notes slightly confusing and although Andreas Linde gave me some very handy notes I've decided to write things up in a more agnostic way. I wholeheartedly recommend HockeyApp but realise that some of you are either tied in to things like TestFlight or simply don't use a distribution service.
One aspect of FTS is that you need to 'sanitise' the text you are searching for. For example, if your source text was 'École' then you want it to be matched if the search term is something like 'ecole' or 'Ecole' or 'école'.
I've previously touched on this where I suggested using a possibly flawed NSString category to strip diacritic marks from the text you were storing in an FTS table.
I've now been told about an alternative.
Since publishing my post about FTS a few people have asked me which versions of iOS and OS X support FTS in the bundled version of SQLite. I can confirm that iOS 5.1 does and so does OS X 10.7.5.
Since I don't have a vast plethora of devices and OS X installs handy I've created test projects for people to use for their own testing needs.
If you test earlier OS versions than those listed above and they do support FTS then please let me know.
I've just read a news story about a man whose careless driving resulted in the death of a cyclist in Scotland. He has been ordered to carry out 300 hours of community service.
Tragically Gary McCourt was also found guilty in 1986 of causing another cyclist's death by reckless driving.
His punishment seems quite lenient to me, particularly since, according to Sheriff James Scott "Mrs Fyffe wasn't to blame in any way for the accident.". Unfortunately he also said, "However, she was not wearing a safety helmet and that in my view contributed to her death."