Steve Barden

29 Flips | 2 Magazines | 7 Followers | @stevebarden | Keep up with Steve Barden on Flipboard, a place to see the stories, photos, and updates that matter to you. Flipboard creates a personalized magazine full of everything, from world news to life’s great moments. Download Flipboard for free and search for “Steve Barden”

Making News Feed nearly 50% faster on iOS

Our engineering team spends a lot of time and effort making News Feed reliable, simple, and fast. Almost two years ago, we switched the Facebook iOS …

Swift, Reflection, Downcasting, Protocols, and Structs: A solution

Currently, Swift does not have the ability to do full reflection. It can, through the mirror struct, examine property names and values. Swift does …

Scroll View with Paging Tutorial in iOS8 with Swift

In The ViewController class add the following properties<p>an Array containing colors and an empty CGrect are created. Next, change the <b>viewDidLoad</b> …

Swift System Version Checking

While it’s not accurate to say that Swift is “Objective-C without the C”, it’s for lack of resemblance to Objective-C, not the absence of C. Swift is</i> …

Objective-C

Customizing Table View Tutorial in iOS8 with Swift

Inside the class of the <b>NumberViewController.swift</b> file add the following property.<p>When the Table View class was created, Xcode has already created …

Generic Types in Swift

We have previously discussed generic functions on this blog in the post Generic Functions in Swift. There is one more aspect to generics in Swift …

Design Patterns implemented in Swift 3.0

A short cheat-sheet with Xcode 8.2 Playground (Design-Patterns.playground.zip).<p>👷Project maintained by: @nsmeme (Oktawian Chojnacki)<p>🚀How to generate …

How to keep your Swift models and classes clean

Extensions are you best friend<p>I’ve been a fan of <i>Robert C. Martins</i> (Uncle Bob) book <i>Clean Code</i> since I read a few years ago. If I had to name one book …

Loneliness

Custom Threading Operator in Swift

The Swift language supports custom operator functions, similar to operator overloading in C++. This kind of language feature has been known to enable …

Composing functions in Swift

In Swift – the new programming language introduced by Apple – functions are first class citizens. This basically means, that a function can be passed …

How to make a custom keyboard in iOS 8 using Swift - We ❤ Swift

<b>tl;dr</b><p>I will go over the basics of a Keyboard Extension and then make a morse code keyboard using the new Application Extension API in iOS 8. It …

7 Cool Features in Swift

I have been spending a lot of time with Swift since it was announced at WWDC. It certainly has its bugs and rough spots, but I have already …

Objective-C

Grand Central Dispatch Tutorial for Swift 3: Part 1/2

<i>Update note:</i> This tutorial has been updated for Swift 3 by Christine Abernathy. The previous tutorial was written by Bjørn Ruud.<p>Grand Central …

iOS Programming

How Do I Declare A Block in Objective-C?

This site is not intended to be an exhaustive list of all possible uses of blocks.<br>If you find yourself needing syntax not listed here, it is likely …

Blog home

<i>Note: While the techniques outlined in this article are still applicable, the iOS design landscape has changed since iOS 7, making a lot of them</i> …

NSFileManager

NSFileManager is Foundation’s high-level API for working with file systems. It abstracts Unix and Finder internals, providing a convenient way to …

iOS developer toolbox

iOS

Developers are too Late to the Messaging App Party

As an American who recently moved to Asia, one of the most challenging adjustments were my mobile habits; especially <i>how</i> I communicate.<p>In the US, my phone had zero messaging apps. None. Not even Snapchat. All my communication was done through Apple’s iMessage service. I moved to Tokyo in June, and …

Very Easy To Use Open Source iOS Charting Library With A Clean Look

I’ve mentioned a number of open source charting libraries including the extensive Core Plot library, and most recently a library allowing you to …