swift

A collection of 6 posts

iOS Universal Apps: Why and How
swift

iOS Universal Apps: Why and How

At Rocket we've developed many apps that need to support iPhone and iPad. Xcode provides built-in support for configuring universal apps, meaning that a single binary can adapt to, and be optimized for, both device types. But as is with any design pattern, making your app universal has its pros and cons. The Benefits * There is a single codebase. Code can be reused for the functionality that overlaps the iPhone and iPad versions of the app. A bug fixed in one app is a bug fixed in both.

How to Create a Navigation Transition Like the Apple News App
swift

How to Create a Navigation Transition Like the Apple News App

We at Rocket recently developed a new app for Barstool Sports which allows their users to consume its blog posts, podcasts, and videos. For this app, we decided to try to improve upon the default push/pop navigation animation by implementing a custom Apple News-like transition between the story feeds and story detail pages. Apple News Transition Here is the zoom transition that Apple uses within their News app: Default Push/Pop Transition And here's an example of the default push/pop animatio

All Together Now... Multiple Storyboards
ios

All Together Now... Multiple Storyboards

TL;DR Got multiple iOS developers? Use multiple storyboards. Highs and Lows Working on significant projects means working with a large code base and a multi-person team. Multi-person teams are fabulous for so many reasons -- code reviews, someone to bounce ideas off of and your nerf gun ally. However, one thing that is not fun about multi-person teams are source control conflicts. You finish a feature, got to merge/rebase and you get a conflict. Ugh! We almost exclusively use Storyboards for

How to ensure color consistency across an iOS project
teams

How to ensure color consistency across an iOS project

Note: This is the first in a series of posts on teams working together better. We'll be discussing issues around that important moment when your team starts a new project and you need to set the technical direction, establish a sound architectural foundation, and ensure consistency. Here is a tip for ensuring color consistency across an iOS project. Argh! Colors! As a man once famously said, 'Argh! Colors!'. They can be frustrating to get right! Here is what an iOS project usually looks like:

Could not sign up! Invalid sign up link.