Category: Xcode

Your mileage may vary with this post, but in my case, I was chasing my tail for some time while finally coming to a solution. At work, I generally author all kinds of prototypes. Sometimes I use Xcode and author …

Verifying assets with the iTunes Store… solved Read More »

Have you ever been working on a project, and then one day your syntax highlighting is gone? Your autocomplete is generating almost nothing useful? This trick saved me from bouts of madness.

iOS allows each application to monitor up to 20 regions. That seems like a lot, especially when you figure that the regions are registered and can be triggered (entry and exit) even while your app is backgrounded or your phone …

Monitoring the closest 20 regions – how? Read More »

It’s almost time for WWDC17, this year in San Jose, CA instead of San Francisco. I haven’t been in several years because my lottery skills are obviously lacking. I managed to score one this year and I’m pretty excited. What …

WWDC 17 Packing List Read More »

Tagged with: , , ,

If you’ve been involved in tvOS application development, or you’re new to the whole process, you might find this post interesting in regards to user interface. I have recently been involved in tvOS dabbling. I’ve been creating a custom application …

Creating a tvOS parallax UIButton Read More »

Much of Xcode is wonderful to use in my opinion. You can dig and dig and dig and still find new things in there. However, there are aspects that induce sphincter tightening just thinking about it (without version control). Anything …

watchOS: Adding a complication to an existing project? Read More »

Tagged with: ,

Recently I¬†had a project in a workspace to produce a framework of Objective-C and Swift code – supplied by someone else. I had a devil of a time getting it to build for me. And when I did, I tried …

keep it simple. Frameworks? Read More »

We have all been there, right? You design the UI, you’ve planned out the architecture and how your application will work. Days go by and you’ve got things nailed down tight. Interactions are smooth, data is flowing like warm nectar …

The horror of Xcode project errors. Read More »

I just read about this and smacked myself on the forehead. Normally when developing an application I follow some sort of branding guidelines or perhaps make use of a custom font. I think most developer/designers DOI this quite regularly. Now, …

Swift 3 appearance extensions Read More »

I declare this day a fine day having discovered non-Objective-C protocols! No more @objc protocol usage. Now it’s as simple as something like this: protocol myDelegate { func report(info:String) } class MyClass: NSObject { var delegate:myDelegate? var serviceType = “hephaestus” …

Protocol/delegates in Swift 3.0 Read More »

Tagged with:

There may come a time when you’d like to shake a macOS application’s window (or one of them) to reinforce an event. In my case, I am creating a macOS application that serves as a conduit to control aspects of …

Shaking a macOS Window Read More »

On Jul 18th Apple released several operating system updates. WatchOS 2.2.2 was one of those released updates. Four days ago. Since installation I have been unable to debug watch extensions on my real device since Xcode looks for, attempts to …

WatchOS 2.2.2 Debug Symbols A.W.O.L. Read More »

I happened upon a video presentation from Google I/O 2016 that I felt was interesting. It was called “Introducing Nearby: Physical proximity within and without apps – Google I/O 2016”. I present it here for your viewing convenience. At the …

Multi-platform API for Google Nearby Messages Read More »

Sometimes developing on a live backend is a royal pain in the ass, Yorkshire pudding included with gravy from lost puppy’s caramelized souls. Time goes by with an inability to get proper work done while waiting for this or that …

Developing with a live backend Read More »

Old way: let foo = “Hello” var bar = String? //nil var result = (bar != nil) ? bar! : foo print(“\(result)”) //Hello Pretty nifty. I saw this online someplace. The ?? is called a nil coalescing operator. It’s used …

Swift optional variable assignment with ?? Read More »

Yesterday came a slew of updates from the mothership. One of them was Xcode 7.3 with Swift 2.2 onboard. Some capabilities have been included in Swift 2.2 that will produce some deprecation warnings. Let’s dig into some of it.

I recently came across some labels in a design I’ve been working on that I originally deployed using¬†NSLineBreakMode.ByTruncatingTail. Conscious of a possible situation where text coming into the system might not properly fit. It works. But guess what? After looking …

Coding the extra mile Read More »

The way that extensions are handled in Swift is lovely. If they exist in any file, they are available project-wide. Meaning you don’t need to import them into a Swift file for functional inclusion. This is great! But if you’re …

Extension management for Swift projects Read More »

I have been buried in Android Studio for the past several months. Learning that from scratch didn’t come without it’s challenges and brief excitement. But I’ve really grown to loath Android development for many reasons that I won’t go into …

Back to iOS Development Read More »

If you’re like me and use many different tools, getting to them might take a tiny bit getting to. You might use Alfred (which is incredible), or you may use Spotlight in Mavericks or even better in Yosemite. You may …

A Mac OS X Finder trick for developers Read More »