This is a mostly a clean-up release for DTFoundation with a few interesting additions.
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.
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.
I have several boxes of books that I want to create a list of. I have the technology down to scan the book bar codes rapidly. But how could I get the book titles for my inventory?
Amazon Web Services (AWS) is a collection of Amazon’s web APIs. Their Product Advertising API offers to search for books by ISBN and so I had to dig into their documentation to figure out how to query their API.
You know how to take screenshots on your iOS device and that is quite useful when filing bug reports because as they say “a picture is worth a thousand words”. But there are situations – happened to me recently – when an app is non-responsive and a screen shot wouldn’t really tell much of a story.
Especially when dealing with BETA software it is useful to also commit to memory how to take stackshots.