Our DNA is written in Objective-C

Jump

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

Replying to Reviews

With the release of iOS 10.3 Apple has also added functionality to iTunes Connect to let you respond to reviews. What’s really cool about this: Apple will send your reply as email to the user’s AppleID!

Read more

One Month since XcodeJobs Relaunch

Time flies. It’s already 4 weeks since we relaunched XcodeJobs.com on February 1st. At this point it is reasonable to inspect some of our metrics to determine how it is going so far.

Read more

Firebase Tutorial

Since the official Parse shutdown, many people are looking for alternatives. Google established Firebase as one such option for your web-based backend. In this tutorial we will be exploring how to build an iOS app that uses Google Firebase as backend.

Read more