Our DNA is written in Objective-C

Jump

DTBonjour 1.1.3

DTBonjour also needed to be refreshed for an old codebase I was reviving. The previous release 1.1.2 was also from almost 2 years ago. The update is tagged on GitHub was well as available via Cocoapods.

Read more

DTDownload 1.1.3

In most modern projects we had moved to NSURLSession, but for a very dated codebase using DTDownload via Cococapods I needed to craft a new release which contained all the fixes for the 2 years since the version 1.1.2 release. It is tagged on GitHub and available via Cocoapods.

Read more

DTFoundation 1.7.13

Sorry, I was to lazy to publish release notes for version 1.7.12 (published in February 2017) and version 1.7.13 (published two weeks ago). So here they are. The release is tagged on GitHub as well as released via Cocoapods.

Read more

Radar: [Xcode] Enabling Extension-safe API check changes generated ObjC-Header

Normally you only need the “Allow app extension API only” for extension targets, to get warned if you are accessing API which is not available for extensions. I had enabled it for a framework to make sure I didn’t call forbidden API.

I found this issue at the same time as this other issue because my client complained about both problems: Not seeing any documentation via Quick Help as well as the generated header unnecessarily containing internal classes. This problem was already present in Xcode 8, as evidenced by somebody asking about it on Stack Overflow.

Filed as rdar://34790796 and on Open Radar. The mentioned sample is on my Radar Samples GitHub repo, titled InterfaceTest.

Read more

Radar: [Xcode] Quick Help no longer shows documentation from imported module

I found this new issue when developing a framework for a client. I have all Swift code in a module and added nice documentation comments to all of the public methods and properties.

In Xcode 8, you could Open+Click on any property, class or method and you would see the documentation from these comments. This would work regardless if you are in Swift or Objective-C code.

Now with Xcode 9 that suddenly doesn’t work any more from Objective-C code. In Swift files it still works, both in the module itself as well as an app importing it.

Filed as rdar://34789767 and on Open Radar. The mentioned sample is on my Radar Samples GitHub repo, titled InterfaceTest.

Read more

Back to Square Two

When I started blogging on Cocoanetics.com in early 2009, I had been dabbling with iOS development for little under a year. That was the same time when I turned full-time, when my prior employer decided to have someone cheaper doing my job (Windows PC Helpdesk). This initial blogging frenzy was the way most of my clients found me, both for components as well as custom app development.

Read more

DTCoreText 1.6.21

The previous release of DTCoreText was in February, 7 months ago, so it was about time to release an update for the about 50 commits that were made by community contributors since then.

Read more

Coach or be Coached

About a year ago, I got contacted with an unusual request: how can users with iPhone to participate in WebRTC video conferences?

All other desktop browsers  already did support WebRTC, and Safari on Mac needed a plugin for it. But Mobile Safari never supported Flash or any other plugins. But I knew how to achieve this and this resulted in the development of the Klickerr.com app.

Since Klickerr.com launched today, I would like to tell you something about it. Besides the question how I solved the riddle, you might like it as way to offer coaching services for pay to an international audience. Or you might be interested in learning new skills from international experts.

Read more

Document Menu View Controller not Showing Locations

I’ve been testing and wanting to use PSPDFKit’s PDF Viewer ever since I signed up for the beta. But I had a weird issue opening PDFs from Dropbox or iCloud; I would only see the option to add a new PDF, but no way to import a PDF from the cloud.

Read more

Group by, Count and Sum in CoreData

For a tvOS app I needed to efficiently group by a certain column and then count the resulting rows or sum the value. And since I do everything in Swift 3 these days, I couldn’t find any suitable example on line. But I eventually figured it out.

Read more