Our DNA is written in Swift
Jump

DTBonjour

DTBonjour had its origin when I wanted communicate between a Mac app and an iOS app. It greatly simplifies networking over WiFi by giving you an easy method to transmit any NSObject that conforms to NSCoding.

More details

DTWebArchive

Safari uses the WebKit class WebArchive to transfer rich data from e.g. Safari. This project aims to give you the capability of accepting such pasteboard data in your apps. WebArchive and the related WebRessource classes are tightly coubled with WebKit and private. This project is a reverse-engineered class giving you the same functionality on iOS.

For example you could allow your users to copy something from a web page and paste it into your app preserving the formatting.
More details

DTFoundation

DTFoundation is a collection of utility methods and category extensions that Cocoanetics is standardizing on. This should evolve into a toolset of well-documented and -tested code to accelerate future development.
More details

DTLoupeView

DTLoupeView is closely resembling the original Loupe (aka Magnifier) that you see whenever you long press on something that can be selected. Since there is no public API to get the built-in functionality we had to developed DTLoupeView for use in DTRichTextEditor, our Rich-Text-Editor component.

We realize that you might have your own rich text editing view or might not even want to use this Loupe for simply editing text. The loupe is also of great use if you want to give your users an metaphor of selecting something on screen that they are familiar with.

More details

DTBannerManager

You have AdMob ads in your apps? Wondering if you could make a bit more money if you also had iAds were available?

DTBannerManager solves this problem for you. It allows for easily adding both networks to your code. Under iOS 4 it will first try to get an iAd because those also pay for just being displayed. If none is available then it automatically switches to AdMob, so your banner space is never wasted.

It also features elegant sliding in and out of the banners and is able to display ad banners even over a tab bar controller, so they are always visible for maximum effect.

More details

DTClusterMaker

DTClusterMaker employs a very efficient method to spatially sort and cluster closeby POIs.

In the presented demonstration app you can explode any of the purple pins into it’s original POIs. You get two different algorithms to choose from: The perfect one, that tends to slow down if you feed it hundrets of POIs.

And it’s ultra-fast cousin which works by “boxing” the POIs. It’s so fast in fact, that I am thinking of letting it run multiple times with a shifted grid and then choose the output that gives me the smallest number of POIs. If you have hundreds of POIs then you won’t see a difference.

More details