This update for DTFoundation fixes issues with DTLog and DTHTMLParser and adds a few new utility methods.
Author Archives
DTCoreText 1.6.3 + DTRichTextEditor 1.6.2
Two minor version updates are fixing issues in DTCoreText and DTRichTextEditor.
Update: If you have trouble building via CocoaPods please make sure that you have version 0.23 and also refresh your pod specs. I had to – once more – modify the spec to fix a build problem. Sorry for the inconvenience.
DTFoundation 1.5.1
This is a mostly a clean-up release for DTFoundation with a few interesting additions.
Block-Based Logging Replacement for NSLog
It became apparent that we should have a standard method for logging in our frameworks. Some of use are happily using Cocoa Lumberjack in product apps, but not everybody might share this test. So there was a need to have some sort of looking hooks in our shared library code. This would allow everybody to hook up his own favorite logging framework or simply use NSLog.
In this blog post I am explaining the rationale behind DTLog, new in DTFoundation as of version 1.5.1.
Monitoring a Folder with GCD
There is no notification to be gotten if the user adds or removes files to your app’s documents folder. The only way to update your list of files in that case is to monitor the folder for changes. There are several different approaches to achieve this, the traditional one being the File System Events API.
But since iOS 4 – together with GCD – Apple added a simpler method for monitoring a vnode, dispatch sources.
iOS Developer Challenge
it is very rare that I review other developer’s apps; and usually only if they make use of one of my components. But for the iOS Developer Challenge I am making an exception. This app is quite unique as it is a fun mixture of being an iOS development game and education app.
DTCoreText 1.6.2
This hot fix update of DTCoreText addresses a few issues that arose from the cleanup and reorganisation of DTFoundation 1.5.0.
DTFoundation 1.5.0
This update for DTFoundation was originally 1.4.5. But some breakage occurred from fixing the name of a sub spec. So the solution was promote that to 1.5.0. This works because DTCoreText references 1.4.4 which means that it only sees the last version of DTFoundation which still has the typo.
The main theme – besides some minor fixes – was a big clean up effort which aims to reduce the amount of unnecessary classes in the Core and UIKit sub specs, as well as rename the DTHMLParser sub-spec to DTHTMLParser.
Radar: LLVM Enhancement: @switch
Since Apple is starting to enhance LLVM with new language elements I figure that it might be a good time to suggest them as well, of course via Radar.
This is an enhancement request for getting an object-oriented version of the classic C switch which would allow you to use objects – like NSString literals – for the cases.
Filed as rdar://14557382 and on Open Radar.
Out of Office
We’re offline for “maintenance” until July 22nd with no way to receive emails or respond to your requests and orders. We mention this so that you know why you won’t hear from us until then. We haven’t forgotten about you, we’ve just remembered about ourselves.
So please be patient while we’re recharging.