Quantcast
Channel: Swift – Brice Pollock
Browsing all 7 articles
Browse latest View live

Writing a custom control: iOS 8, Swift and Auto Layout

Here at Coursera, every new line of code we write for iOS is in Swift. As a result, I’ve written a few custom controls lately in Swift using Auto Layout and iOS 8’s new IBDesignable/IBInspectable...

View Article


Swift-Snippets: A Max Function for Optionals

The other day I needed to compare several values to determine which one was the maximum. Great, there is a max function built into the swift language! One catch, that max function only takes unwrapped...

View Article


How to Use iOS UI Testing in Xcode

In Xcode 7, automated UI Testing was finally integrated into the IDE to allow developers to seemlessly run integration testing on top of unit testing. Thankfully, this was also introduced in a standard...

View Article

Xcode UI Testing vs. The UI Automation Instrument

Previously I introduced how to use Xcode UI Testing (UIT) in Xcode 7, but what about the existing UI testing that has been in existence for years via the UI Automation (UIA) Instrument? In this article...

View Article

Advanced UI Testing: Strategies, Hidden Gems and Limitations

Previously I’ve introduced using UI Testing and discussed the differences between UI Testing in Xcode and the prior UI Automation Instrument. However, there is a lot more to learn about UI style...

View Article


HTML Rending in Swift with Dynamic UITableViewCells

I’m a firm believer that native UI is superior to the web view experience on mobile. However, if you want rich-text user generated content support across both web and native platforms a markup language...

View Article

Modular Architecture for iOS in Swift

I spoke at AltConf 2015 about the Modular Architecture we at Coursera use to write our iOS App. This architecture strives to encapsulate and bound our features to reduce complexity and improve...

View Article
Browsing all 7 articles
Browse latest View live