DZone
Mobile Zone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
  • Refcardz
  • Trend Reports
  • Webinars
  • Zones
  • |
    • Agile
    • AI
    • Big Data
    • Cloud
    • Database
    • DevOps
    • Integration
    • IoT
    • Java
    • Microservices
    • Open Source
    • Performance
    • Security
    • Web Dev
DZone > Mobile Zone > This Week in Mobile: Swift Best Practices and Keeping Secure

This Week in Mobile: Swift Best Practices and Keeping Secure

Among the usual wide range of topics, we'll cover some best practices for Swift developers, and how to keep your tokens secure in your apps.

James Sugrue user avatar by
James Sugrue
CORE ·
May. 02, 17 · Mobile Zone · Opinion
Like (2)
Save
Tweet
3.47K Views

Join the DZone community and get the full member experience.

Join For Free

This week we cover some hidden gems in Android O, subtle hidden best practices from Swift developers, and some good ways to store tokens and keys in both your Android and iOS apps.

iOS 

You want to be the best Swift developer in the office, right? Here’s a list of subtle best practices that pro-developers are keeping secret. I’d particularly recommend following tip number 8, around making classes final by default. 

How to Import Large Data Sets Using Core Data compares two approaches to solving the problem, looking at both memory and performance implications. 

Here’s a Guide to Organizing Your iOS Debug, Development and Release States With .xcconfig Files. It’s an excellent way of dealing with API keys and other constants. 

Swift With A Hundred Engineers, recorded at last year’s Swift Summit, talks about Uber’s complete rewrite of their rider app in Swift, and what they learned about Swift, and themselves, along the way. 

Some projects to check out: 

  • TestDrive: Quickly try out any Swift pod or framework in a playground. 
  • BouncyLayout: A collection view layout that makes your cells bounce. 
  • Anima: A chainable layer-based animation library. 

Android 

In Hidden Gems of Android O, Ian Lake gives a concise overview of the changes in the latest version of Android, from the Storage Access Framework to changes in SharedPreferences. If you haven’t had a chance to read up on Android O yet, this is the place to start. 

Learn how the team at Basecamp made their app 100% Kotlin after spending a year with the language. The article is full of great tips to ease yourself into complete Kotlin immersion, without diving in at the deep end. 

One of the great advantages of Firebase is how little coding it requires for you to provide a back end. You can even go as far to use it as a real-time system. Find more about how to get it going here. 

Security can be tricky at the best of times, but when you APK can be reverse engineered, you need to take extra steps to store your tokens securely. Here are some tips on how using the NDK can help. 

Some projects to check out: 

  • Matisse: A well designed local image and video selector for Android. 
  • Tiny: An image compression framework. 
  • debugkit: Ever hidden debug functions in your UI? Here is a clean way to do it. 

General 

Finding time to work on side projects is hard enough, but when you have a family, it’s even tougher. Here’s one developer's thoughts on How to Build a Side Project as a Developer With A Busy Family Life.

Want to host your website a little differently? Check out this illustrated guide to setting up your website using GitHub and Cloudflare. 

And if you’ve lost your job recently, and feeling down, here’s why it could be the best thing for your career!

Swift (programming language)

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Kubernetes Service Types Explained In-Detail
  • SQL GROUP BY and Functional Dependencies: a Very Useful Feature
  • How to Translate Value to Executives Using an Outcome-Driven Mindset
  • Migrating Legacy Applications and Services to Low Code

Comments

Mobile Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • MVB Program
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends:

DZone.com is powered by 

AnswerHub logo