Preparing for the new iPhone 6 and iPhone 6 Plus screen sizes

Unless you've been living under a rock, you'll be aware that Apple announced two new iPhone models yesterday, as well as a nice piece of jewellery.

For iOS app developers and designers, one of the most significant changes is to the screen sizes of the new iPhones, which differ significantly from what came before.

The first iPhones, up to the 3GS, had a 320×480 screen. When the iPhone 4 was launched, it came with a Retina display, doubling the number of physical pixels in the horizontal and vertical directions, while keeping the screen and UI elements the same size. Developers rushed to add @2x assets to their apps for the 320×480@2x screen.

4-4s

The iPhone 5 was the first iPhone which changed the aspect ratio, and increased the usable screen area to 320×568@2x. Since only the height changed, it was relatively easy for developers to add additional height to certain elements, and fit the new screen.

5

 

Now we have two new screen sizes to contend with. The iPhone 6 is an effective 375×667@2x, both wider and taller than the iPhone 5 family.

6

The iPhone 6 Plus's screen is a weird beast. Assets will need to be provided @3x for a 414×736@3x screen, meaning for example a full screen image would be 1242× 2208. However the physical iPhone 6 Plus's display panel is only 1080× 1920, therefore software downsampling will be used to scale down the assets to the physical display panel.

6plus

Note the aspect ratio of the two new screen sizes is identical to the iPhone 5/5C/5S. iOS8 will take advantage of this, running apps which have not yet been updated to be optimized for iPhone 6 in a special scaled mode, avoiding the black "letterbox" we saw with the iPhone 4 to 5 transition.

Here's a handy reference to summarize the new screen sizes side-by-side:

iPhone Screen Sizes.001

What does this mean for developers and designers:

  • 1. If you don't update your apps immediately, you can benefit from the auto-scaling to get a reasonable temporary solution for the two new devices
  • 2. When you update your app to properly support the new resolution, you'll need to deal with more available width and height
  • 3. Designs will need to be more flexible, using features like the new Adaptive Layout introduced by Apple. Instead of being at fixed pixel positions and sizes, buttons and UI elements will have to stretch and scale to fit various screen sizes - not unlike designing an Android app!
  • 4. Icons and UI elements will need to be provided in @1x, @2x and @3x versions
  • 5. It's unclear how some elements will render on the iPhone 6 Plus, for example 1px hairline lines may become antialiased due to the software downsampling.
  • 6. Additionally, Apple showed off the iPhone 6 Plus running in landscape mode, which used a two-pane UI similar to the iPad. The iPhone 6 Plus even has a landscape version of the home screen, so we can expect more pressure to get your apps working in landscape mode.

There are Two Ways to Build a Pyramid

There's an old story about two pharaohs. Both wanted a magnificent pyramid to house their tombs, so each hired a pyramid builder. The first builder started constructing his pyramid from the base and working upwards.

triangle1

However, one day, the pharaoh suddenly died, and the pyramid was left incomplete. The pharaoh was sad (and dead).

sad-pyramid

The second pyramid builder started by building a very small pyramid.

tri1

Then he built a new layer, making a larger pyramid.

tri2

He knew that whenever the pharaoh might die, he would still have a completed pyramid shape.

tri4

How can we apply this tale to software development?

Work on the Core first

The second pyramid builder started with what would become the core of the pyramid. Similarly, you should start with the core of your app. If you're making a photo-filtering app, start with the photo filtering functionality. If you're making a news app, start with the article page.

Use Scaffolding instead of Permanent Structures

We're still not quite sure how the Egyptians built the pyramids, but travel to any building site and you'll see plenty of scaffolding. Scaffolding is not intended to be a permanent fixture, and when you're starting a project much of your code and data will also be temporary. Perhaps your photo filtering app will have a fancy login flow - but when the project starts, just hardcode in a username as temporary scaffolding.

In the next stage, perhaps you will replace this with a textbox for the username and password.

In the next stage, you might implement the fully designed screen.

Don't break the build

A common mantra among programmers, particularly when working with continuous integration is, "don't break the build". You should ensure that your code is always in a state that it can be built without errors, or quickly shown to a colleague or client as a demo.

Deliver value quickly

I was discussing our agile retainer model with a client recently and he remarked "this sounds interesting, but how long will it be before I have an app that's useful? Two months? Six months?" I replied "we deliver beta versions every two weeks, so our aim is that you'd have something useful and functional after two weeks. And something even more useful and functional after four weeks. And something even more useful and functional after six weeks, and so on."

As a software developer, that should be your goal, to deliver value throughout the development process. Start small and build iteratively, and you won't believe what wonders you will be able to build.

A better way to ask “how much would it cost to develop this app?”

As an app developer, a question you are very used to hearing is "how much does it cost to make an app". It's also a question you quickly learn to dread. Why? Because providing an accurate fixed price for designing and developing a mobile app is next-to-impossible. Worse, comparing fixed-price quotes from different companies is misleading. In this article I'll explain some of the reasons why, and some better ways of pricing and organizing app development that we've found.

price-tag

There are too many unknowns

How much an app costs depends on a large number of factors, many of which are unknown at the start of the project. We can try to minimize these unknown factors. We will always clarify which platforms and OSes it makes sense to support, what screen sizes, what features are essential and what are "nice-to-have". It's much harder to figure out how many iterations it will take to make a game fun, or to make a logic screen intuitive to use, or how long a vague feature like "add sharing" will take. Developers have to add in extra "padding" to cope with unexpected additions that occur as a normal part of development.

Changing your mind should be expected

When making an app, changing your mind is good. Iterating on an idea as it undergoes design and development leads to a far better outcome. But if the scope has already been precisely defined in the contract, this may not be possible. As of 2014, the app industry is rapidly changing. A business model which worked six months ago may not fit user's needs or market trends any more. To keep ahead of the game, you need to be willing to change things, and to pivot on your original vision.

All developers are not alike.

A popular metaphor is to compare asking how much it costs to make an app with how much it costs to make a car. A car could be very cheap, if it is simple, mass-produced and uses low-quality components. Or it could be complex, hand-crafted, unique and incredibly expensive.

If you give the same request to multiple developers and get very different pricing, what does that really mean? Why is this developer so much cheaper? Are they low-quality? Why is this developer so expensive? Did they misunderstand the scope of the project? As a client, how can you be expected to tell?

Apps are never "done"

The car metaphor has another problem. Because if you're building a car, you generally reach a point where the car is "finished". With apps, it's not so simple. It's important to get real users using your app as early as possible. So you typically want to do a "minimal viable product" release as soon as you can, and development work should not stop when you reach your v1 release.

As soon as people get their hands on your app, you'll get user feedback you want to incorporate into your app. There's always new features to add that didn't make it into the first version. You might even need to "pivot" how the app works, or change the business model from paid to freemium.

Even if it's not visible to the end-user, you may need to add analytics, email reports or dashboards to keep track of how people are using the app. The app needs to be marketed, perhaps ported to another platform. If you burnt all your budget developing v1, you are in trouble!

Fixed price projects: riskier than they appear

So, to summarize, the disadvantages with fixed-price contracts include:

  • • It's hard to know in advance how much work an app will take
  • • Developers often "pad" their quotations to account for unknown issues
  • • Different developers will have different standards, so comparing quotes is hard
  • • It's difficult to add in extra functionality, reorder or change functionality once the contract is signed
  • • It suggests that there is a cut-off date where the project is "done", which is not realistic or recommended for most apps

Going agile

At ReignDesign, we've recently started taking a more "agile" approach to estimating projects. Agile Development started in the software world, where it describes a way of planning software development projects which embraces the frequent changes that occur, rather than fighting them.

A backlog of features

The "user stories" to be performed are arranged in a backlog, which the product owner or client helps to reorder into a priority list. When new stories (things you want the app to do) are added, they are simply slotted into the backlog in the appropriate place. The developers then work down the list in order, in a series of typically 2-week long "sprints" they commit to completing the items on the backlog.

Applying agile to project planning

It turns out what works well for development can also work well for pricing of a project. Once we move away from a fixed-price model, the question is not "how much would it cost to develop this app", but "how much can I commit to developing this app, per month". When we move to a "agile retainer" style model of project pricing, the typical issues of project planning are turned on their head.

First we recommend a monthly budget to the client, based on their needs, the complexity of the project, and approximate dates for releases. We ensure the budget is sustainable, to make sure the client can afford to keep working on the app for at least several months after launch.

We then calculate how much work the developers and designers will do each month for that budget. This will allow us to estimate delivery dates for different stories, but these are advisory only. If it turns out we complete tasks faster than expected (in agile-speak, our "velocity" increases), we may be able to deliver features earlier. If the client requests certain extra features be added urgently, other items will get pushed down the backlog and delivered later.

Overall, an agile approach allows the client and the app developer to work in a way where their goals are aligned, and much better reflects the actual effort involved in creating and sustaining an amazing product on the App Store.

But, does it work in practice?

That's the theory: but does it actually work in practice? I asked two of our recent clients their thoughts on the agile retainer method.

We've been working with KindyNow for the last six months. KindyNow is a mobile app for childcare centres in Australia.

Parents who use the app can notify their daycare centre of last minute cancellations, immediately triggering an opening for other parents wishing to book the same space. We built the first version of the app on a fixed-price model but then switched to a retainer, which has allowed us to develop features in a faster and more flexible manner.

Here's Sean Collins, CEO of KindyNow: "Technology developments evolve at a greater rate than you will anticipate. Having a fixed fee each month allows us to prioritize and manage the work flow coming in. We can focus our attention on the right projects each month without being hit with constant quotes for specific jobs. The fact is by the time the first version is built you’ll have so many new ideas that your fee structure needs to allow for this constant evolution."

We've also been working with Peter Stoyles of Tasklinks, building a new version of their productivity tool from the ground up.

2014-04_Tasklinks_Projects_v02_0000_project-overview

We discussed several methods of collaboration with Tasklinks, and decided that an agile retainer was the most effective way of building this app.

Peter: "Initially we were focused on getting a set price for the scope of work required, as the customer you feel safer that costs won't spiral and you have some budget security. The agile retainer model flies in the face of this conventional thinking but there are clear benefits. The first benefit is the retainer gives you a clear project outline, you can see the work in progress and are constantly in contact with the development it is no longer a remote process. The second benefit is as the app develops you can change the build feature priorities. This gives you more control over the development and can allow you to adapt quickly to market changes and user feedback.

To our surprise and to the credit of ReignDesign the development process has actually been ahead of schedule and we are now in a position to develop and include more features ahead of our target release date. It is very important that you work with good developers such as ReignDesign who have a good understanding of your expectations and can guide you through the development process, with that in mind I would recommend the agile retainer."

ReignDesign attending GMIC Beijing 2014

gmic Matt is attending GMIC Beijing 2014 today and tomorrow, and guest-blogging for the GMIC Blog! GMIC is the major mobile internet conference in China, and this year's theme is "mobilising the next 5 billion".

You can read updates from the event on the GMIC blog or follow ReignDesign on Twitter for live updates and photos.

CocoaHeads Shanghai

On Thursday, May 8, ReignDesign will host the next CocoaHeads! CocoaHeads is a monthly meetup group for iOS developers and designers in Shanghai. The theme will be Beacons and Bacon. We can guarantee interesting talks about iBeacons, but there may be a shortage of the food of the gods.

Spaces are limited, so if you would like to join us, please RSVP here!

Cocoa