SwiftLang

Handy Swift Resource: Hacking With Swift’s Auto Layout Cheat Sheet

This is a pretty great one-stop-shopping resource for Auto Layout by Paul Hudson. The Auto Layout cheat sheet – Hacking with Swift Auto Layout is a powerful tool for creating flexible, maintainable rules for your user interface. It can also be a real brain vortex if you’re unlucky – it’s something that makes hard things …

Handy Swift Resource: Hacking With Swift’s Auto Layout Cheat Sheet Read More »

When Worlds Collide: How to call complex Objective-C selectors from Swift

When developing in Swift, you will eventually need to interact with Objective-C APIs. Most of the time this is fine, and fairly straightforward to do using #selector. However, every once in a while you will need to invoke an Objective-C selector that you did not write (usually when the selector is part of the iOS …

When Worlds Collide: How to call complex Objective-C selectors from Swift Read More »

Zero to BLE Part Two Core Bluetooth Post Updated for Swift at Cloud City Development Blog!

I’m happy to announce that I recently updated Part Two of my Zero-to-BLE series on Core Bluetooth Post Updated for Swift at Cloud City Development Blog! It’s been updated for Swift 2, because when I wrote it, Swift 3 hadn’t officially been released and I honestly thought it would be published well in advance of …

Zero to BLE Part Two Core Bluetooth Post Updated for Swift at Cloud City Development Blog! Read More »

Syntax highlighting for Swift in BBEdit and TextWrangler

Big thanks to Curt Clifton (https://github.com/curtclifton – his bio indicates that he’s with the Omni Group!) for creating this codeless Language Module for Swift that can be used in BBEdit and in TextWrangler. A BBEdit Codeless Language Module for Swift Curt indicates there are some limitations to codeless language modules: Keyword, comment, and string highlighting …

Syntax highlighting for Swift in BBEdit and TextWrangler Read More »

Smoother transitions when showing a View Controller with a UINavigationBar in Swift

Here’s the scenario. You want to display a modal view controller without a navigation bar, and then from that view controller you want to navigate to another view controller that displays a navigation bar. First to get things set up, in the Storyboard we set up the view controller that would be displayed modally. We …

Smoother transitions when showing a View Controller with a UINavigationBar in Swift Read More »