Load screens provide a visual indicator to users that data is being fetched and a useful reminder that the app isn’t frozen. They also can prevent unwanted user interaction with your site. This screencast walks through building a simple load screen in React that will improve user experiences
In this screencast, we’re going to look at how to write your native iOS code for React Native in a more idiomatic Swift way. By the end of this screencast you’ll be able to refactor your React Native Objective-C code to be Swift code that isn’t React Native specific.
In part 1, we began simplifying our React Native native iOS code by separating an idiomatic Swift class from a React Native adapter. We’re going to finish this extraction by moving over a method that returns data. By the end of this screencast you should be comfortable with writing idiomatic Swift methods that return data synchronously or asynchronously, and adapting them to React Native.