This update for DTCoreText brings fixes and improvements of equal proportion.
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.
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.
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.
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.
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.
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.