Ad

Our DNA is written in Swift
Jump

Author Archives rss

Leap Second Attack

Comics mentioned that last night we would get more rest, exactly one second. Hardly worth noticing though, if it weren’t for several computer systems which seemed to have issues with suddenly finding them one second out of whack.

The reason being that (in UTC) yesterday was one second longer than usual because of an inserted Leap Second. There’s something positive about leap seconds, as Wikipedia notes: “Between their adoption in 1972 and June 2012, 25 leap seconds have been scheduled, all positive.”

At the time of this writing (the day after) I cannot reach any of the sites on apple.com. Pure coincidence? Or a Leap Second Attack?

Read more

Podcast #39 – “WWDC, what next?”

Episode 39, recorded June 30th, 2012

Read more

CoreLocation Background Update Messaging

Two years ago I put together revolutionary chart that detailed the flow of delegate messages when sending an app into background. This was even featured by Erica Sadun of TUAW because it for the first time visualized the whole process in a easy to understand way.

Based on this chart Carl Brown from PDAgent made an addendum to deal with the special case of background region updates and sent it to me. To my shame I have to admit that it was sitting at the bottom of my inbox for 4 months now and it is only now that in my effort to reach Inbox Zero I am dealing with this and putting it up here for your viewing pleasure.

Read more

Radar: Allow Overriding of User-Agent on UIWebView

Here’s another thing that I had discussed with an Apple engineer at WWDC. UIWebView at present does let you easily modify the user-agent header field that it sends to the server. We found this functionality sorely lacking when we needed to change the user-agent in iCatalog. There are some scenarios where the server-side browser-detection fails and you want to override the user agent for example with one to pretend the web view is desktop Safari.

This feature request was filed as rdar://11767306  and on OpenRadar.

Read more

iWoman 2.0.8

iWoman is approaching the end of support for iOS 3. This update fixes a minor bug and adds import/export functionality to allow you to move to a new iPhone that is able to run iOS 4 or higher.

Changes

– FIXED a bug that could lead to new cycles not being added to the cycle list upon pushing the Add button.
– ADDED functionality for importing and exporting your database to a text file which is accessible via iTunes.

The update has been submitted to Apple and will be released as soon as it is approved.

Linguan 1.1.1

The 1.1.1 version of anything is always something special. Linguan 1.1.0 brought the first new feature in the form of support for localizing XIB files. Linguan 1.1.1 now contains some hot fixes to address several inconvenient bugs.

Changes

  • FIXED: Problem with invalid UTF8 characters coming out of ibtool
  • FIXED: Broken Compatibility with OS X 10.6
  • FIXED: Changes to the Toolbar did not get saved
  • FIXED: Checkbox missing to enable/disable XIB support

The update has been submitted to Apple and will be auto-released once it passes inspection.

When reporting issues with Linguan please always create a small sample Xcode project with the bare bones contents to be able to reproduce the problem. This enables us to fix it all the more quickly.

Update July 6th: Update is now available on the app store.

Radar: Filevault2 uses incorrect keyboard layout for initial unlock

Fresh from our series “Another Day Another Radar” here’s one that stumped my associate Rene.

Since I’m getting a knack in filing these I did the “quick file” for him, as rdar://11738458 and on OpenRadar. As always I am doing this publicly because other people out there might have experienced the same issue which can be quite nerve-wrecking. Also this problem was observed on an OS X version that is public and widely used.

Read more

DTCoreText Case Study: NMSTC

Despite some advances in rich text support coming in iOS 6 my DTCoreText open source project continues to prove its usefulness. First and foremost it provides the ability to convert simple HTML text into attributed strings to give you the ability to retain full control over the display of the text.

I love to receive mail telling me about where in real life DTCoreText finds good use. Especially so if it is used for good, like by the Nottingham Multiple Sclerosis Therapy Centre info app. A case study.

Read more

Girls in Tech (iOS Edition)

We need more ladies in tech, it is as simple as that. Or as complicated. The statistics are not looking good and I’ve been wondering for a long time why they are not changing to the better. Or not faster.

Why are there so few Women in Science & Technology?

People are quick to respond with “It’s society’s fault!” and they are half right, half wrong. Right, because there is no simple answer to this riddle, no single point of failure that this skewed relationship can be burdened upon. If there is no single reason for a grand scale effect then it is either religion, politics or the society that is blamed.

Update: Anja Skrba translated this article into Serbo-Croatian.

Update: Gajk Melikyan translated this article into Armenian.

Read more

Forbidden Fruits

A short while after the WWDC 2012 keynote, when Apple made the iOS 6 BETA publicly available, somebody tweeted in German that there are probably already more devices running iOS 6 than Android 4. I translated the tweet to English and tweeted it for everybody’s amusement.

According to sources the iOS 6 BETA is already more widely distributed than Android 4.0

I also added the “According to sources” to make fun of pundits who always add something like this to underline the authoritativeness of the rumors they pick out of thin air. Reactions ranged from calling BS over joy to suspension of disbelief with most tweeps getting that this is one of these things where you cannot really know but it would be funny if it were true, or maybe it really is?

I read it on the Internet and so it must be so …

Read more