5 things mobile developers need to consider in 2017
Android or iOS? Or both? It’s a question anyone who’s been involved in building a mobile app will have asked. Android is still the major player in the development world, due to the simple fact of the size of the market, but it’s foolish to write anything that’s grown from Apple off.
As with just about every trend in technology, it appears that flexibility and fluidity is the choice route. Here are five things developers will need to consider to stay relevant in 2017 and beyond.
User Attention Span Is Decreasing
User attention span for app interactions is continuing to decrease. In order to address this, mobile developers need to be spending more time developing apps that have laser focus on handling a few things well over attempting to be all things to all users.
In addition to this, many development companies are trying to give their users access to key content in other channels, such as app extensions on iOS or widgets on Android with the goal of making key information available to users without them having to launch the main apps.
Understanding Your Platform’s View Lifecycles Is Key
New developers need to take the time to understand the view lifecycles on the platform for which they are developing. You need to understand how you can push pixels to the screen, when they will show and when they will disappear. The view lifecycle on iOS and Android each gives the developer functional hooks that can be used to set up their UIs and pre-fetch required assets or perform expensive operations at times that minimize the effects on their users.
Likewise, knowing when things are leaving the screen gives the developer an opportunity to clean up assets that are no longer needed. Lifecycle operations are important and need to be learned and mastered early on.
The iOS and Android Battle Will Continue
I currently feel the development experience on iOS is superior because Apple only has to worry about creating APIs that affect their own hardware. Android development suffers from device fragmentation overload due to tons of hardware manufacturers creating devices that need to be considered to ensure their apps will perform as expected.
Supporting all of the device combinations can make development for Android painful, which makes the framework less appealing to developers on the fence in terms of choosing a platform to learn.
When Android fixes the OS update problem, I would think the conflict would swing heavily in favor of Android. Mainly, you would have a massive device base that only gets bigger and potentially better written apps that could win over more users.
But Google May Become a Major Player Too
My hunch is that Google will create a better way to propagate operating system updates so that users can have an OS upgrade experience that mirrors that on iOS. Newer APIs allow for better app development and newer features; all things developers want to provide to their users and that you typically get from using the latest SDKs as they come out.
Get Learning Swift 3 If You Haven’t Already
During the What's New In Swift lecture from Apple's World Wide Developer Conference (WWDC) 2016, Apple engineers outlined several goals for the upcoming release of Swift 3:
- Develop an open community
- Portability to new platforms
- Get the fundamentals right
- Optimize for awesomeness
Apple wants to see Swift become a general-purpose language like Java and JavaScript that can be used everywhere. Swift 3 is moving in that direction and I believe we are going to see Swift used in a lot of new and potentially surprising places. Swift on Linux is possible; so is Swift on a Raspberry Pi.
In terms of how things are changing for my development approach, I have already embraced it fully. My team has converted projects to Swift 3 already and we don’t intend to look back. The new Swift 3 syntax has improved and the "Grand Renaming" (when lots of APIs were renamed and made simpler) together are having the effect of less code for me to write -- which is always a good thing!
Keith Elliott is a Senior Application Architect for a finTech startup and authored "Swift 3: New Features" for Packt. He has over 18 years of software development experience, as well as native and hybrid mobile experience for iOS and Android.
Published under license from ITProPortal.com, a Future plc Publication. All rights reserved.
Photo credit: guteksk7 / Shutterstock