Apple's all-new declarative UI framework SwiftUI is here! It is not likely that adoption will be high in a professional environment for a little while, however, it is still fun to play with this new framework which could revolutionize app development. SwiftUI has some very powerful capabilities built in, such as the cross-device compatibility, automatic … Continue reading Tutorial: Introduction to Apple’s new SwiftUI framework
Tag: Tutorial
Icons are essential in iOS development. They can be used to display navigational information throughout your application, many of which will be familiar to the user, such as the search and home icon, as they are similar throughout app design. But what is the best way of delivering these icons to your users? We could … Continue reading Tutorial: Creating CAShapeLayers using UIBezierPaths
Parsing JSON into objects is a core part of object orientated programming. Almost every application relies on using a process to decode JSON safely. In Swift now, Apple has provided a mechanism to help simplify this process for developers. Swifts Codable protocol maps the coding keys on your object models to the JSON that has … Continue reading Tutorial: Using Swifts Codable Protocol
Google's Firebase platform includes the Real-Time Database. This is a fantastic way to coordinate quickly changing data to your application. The beauty of using this mechanism is the fact that when a change is made to your data, a notification is sent to your application to update the relevant piece of data. There are two … Continue reading Tutorial: Firebase Dynamic Lists
This is an effective image slider that you can use to show your users multiple images inside a single window. This the user can swipe the Photo Slider or use the UIPageControl to change the current image. Tutorial: Start with an empty single application template. First, we put a UIView into the UIViewController in the … Continue reading Tutorial: iOS Photo Slider View
Animations can add a lot of magic to your application. They can be used to impress your users with great effects and give important user feedback to encourage a positive behavior. Creating animations using the Apple supplied UIView API is quite easy and by using UIViewAnimationOptions correctly, you can either create or improve the animations … Continue reading Tutorial: Improving your animations with UIViewAnimationOptions
Taking and sharing photos is an important feature of many apps. Using the UIImagePickerViewController is a simple and easy way of enabling your user to either take a new photo or get an existing one from the user's photo library. Tutorial: First of all, we want to start a new single application template project. We … Continue reading Tutorial: Creating a UIImagePickerController
This is quite a neat effect that you can add to any of your views on your app. Essentially as you move your phone, the accelerometers inside predict the orientation changes of the phone and provide this movement to your view. It is a great trick to help bring attention to prominent views or images in your app.
Creating custom UIViews can be very useful for many reasons; code reusability, view controller code reduction and improve maintainability. It enables you to build one component and use it in multiple places around your application. This will reduce the total number of lines in your project and enable you to make changes to your component … Continue reading Tutorial: Creating custom UIViews
It is an essential part of software development to handle errors correctly and iOS development is no different. It is important to reduce the impact of the error to your user and inform your user clearly if an action is required.