I’ve completed the initial release of a project I’ve been working on called AppDeveloperKit. It is a tool for iOS developers to assist in developing reusable, configurable Swift classes.
Properties are declared in classes and coded to affect appearance and behavior. The values for these properties are stored in a property list (plist) file. A macOS app provides a UI to edit these properties in real-time as an app is actively running on a device or simulator. An iOS framework coordinates access to the plist file and communication to the macOS app.
This is a list of the main features that AppDeveloperKit offers:
Add the following to ~/.lldbinit and examine Swift objects in LLDB with “mp myobject” for both iOS and macOS, including those in NSView for macOS.
command regex mp 's/(.+)/expr Swift.print(%1)/'
Read on for more info
I wanted to share a quick tip I discovered that allowed me to more easily examine objects.
Link detection Crash
In reviewing a crash log for a recently published app, I ran across a scenario where a user could reproducibly force a crash by using a long press on a link in a UITextView.
- Occurs on iOS 9.
- UITextView on a presented view controller.
- Two consecutive long presses on a detected link in the UITextView.
On the first long press, I see the warning:
Posted in iOS
Tagged crash, uitextview
I wanted to write-up the result of a code challenge that I completed a while ago. I was asked to create a tabbed iOS app with sectioned tables, pulling video thumbnails and article titles into different sections. Clicking on a thumbnail or article title would display the corresponding video or article in a separate view. Adding to the challenge, I was asked to provide bookmarking capability for the videos and articles. The bookmarked content would be visible in a second tab.
Challenge Details and GitHub app
The full details of the challenge and resulting project can be found at: