Tips & tricks for Swift developers in 2020

Panelists from our State of Swift 2020 webinar share their favorite tips & tricks in Swift for you to try.

We recently held our State of Swift 2020 webinar which was an absolute success! Panelists Kaya Thomas, Daniel Steinberg, and Vincent Pradeilles shared their favorite tips & tricks(-or-treats 🍬🎃) in Swift for you to try.

This article was brought to you as a sneak peak into the videos these amazing creators put together before the webinar. You can check out the full videos on YouTube.

  1. Keep up with Swift evolution
    With the stability we’ve got in Swift development, the code you wrote yesterday still works, but it looks different from the code we write today. Keeping up with the changes will also keep your code more in sync with the code that we see from Apple.
  2. Test push notifications on the simulator
    From Xcode 11.4, Apple has made it possible to drag APNs files to the simulator to test how the notifications will look and respond. All you need to do is drag & drop the .apns file from your Finder to the bundle identifier to simulate a real-time push notification.
  3. Be mindful of the iOS 14 Widget memory
    If you are experiencing crashes when your widgets loads, check your image sizes! The new iOS 14 has a 30 MB widget memory limit. Checking out how much memory your widget uses and adjusting image sizes may solve your crashing problems.
  4. Use the Accessibility Inspector
    With the Accessibility Inspector, you can navigate in your app in a simulator as you would using voiceover on a device. Here you can also see the properties of each element in your app and review the element types and labels (that will be read out loud to users). I highly recommend going through your app to ensure that all the elements that you expect to be, are indeed accessible.
  5. Use extensions liberally & embrace ResultBuilders
    Watch Daniel walk you through how he uses extensions and ResultBuilders in his code from 2:05.
  6. Check out Vincent’s YouTube channel for bite-sized Swift videos
    Vincent launched a Swift Tips video series on his Youtube channel — check out his videos to learn more about Swift through his short examples.

Don’t miss out!

You can still watch our webinar to learn more from Kaya, Daniel, Vincent, and our host, Alex Logan. ✨ We talked about iOS 14 announcements to best practices, challenges, and the community behind Swift. Watch it on-demand!

No items found.

Explore more topics

App development

Best practices from engineers on how to use Bitrise to build better apps, faster.


Meet other Bitrise engineers, technology experts, power users, partners and join our BUGs.


All the updates about Bitrise events, sponsorships, employees, and more.


Mobile development, latest tech, industry insights, and interviews with experts.

Mobile DevOps

Learn why mobile development is unique and requires a set of unique practices.


Stay tuned for the last updates, new features, and product improvements.

Get the latest from Bitrise

Join other Mobile DevOps engineers who receive regular emails from Bitrise, filled with tips, news, and best practices.