Here’s a common scenario: You have a table view or collection view that has a variety of different types of content. You want to display varying cells based on these types of content, and they’re all mixed within a single section. Pardon the stand-in art, but it looks roughly like this: In the Objective-C world,…
Category: Objective-C
Open Source Swift – A Look At The Top Swift Repositories
Github, the most popular open source repository for open source software, offers a feature that let’s us view repositories by language. In this post, I want to dissect some of the most popular Swift repositories as of June 5th, 2015. So, let’s kick it off with the most starred Swift repository, Alamofire. Alamofire Alamofire is…
Should I learn Objective-C or Swift first?
“Should I learn Objective-C or Swift first?” I get asked this question a lot. Sometime’s people will also ask about learning C or C++ first. So, I want to take a moment and give you the low-down on how I feel as a professional iOS & Mac developer, six months after Swift’s introduction. If this…
Running Swift Scripts From The Command Line
Swift Scripts From The Command Line This post updated for Xcode 6.1 One of the great features of swift is it’s ability to be used on the command line. It’s actually really easy to do, and I’ll show you how to make an executable Swift file in this tutorial. First let’s create a new Swift…
Using open source iPhone app components with Cocoa Pods
For a while after the initial release of the iPhone App Store and it’s SDK, there was not much in terms of open source code to use and learn from, you can buy iPhone and take advantage of exclusive prime products. But times have changed, and these days there is a huge database of open…
The lazy app developer’s way to ship more code
With these three quick tips, you’ll be on your way to being more productive when developing your mobile apps. These are not extremely difficult technical challenges, and should be easy to implement in to your workflow. Dependency Management If you’re on iOS, Cocoapods is a godsend. If you’ve ever used bundler with Ruby on…
8 Great Open Source Projects to use in your next iPhone App
I’ve scoured the internet looking for great open source iOS apps, and what I determined is that what is really more interesting is the open source iOS components and frameworks. So here’s my list of the most useful open source iOS components. 8. PSCollectionView PSCollectionView is a custom collection view that allows for the easy creation of Pinterest-style…