Lists have become more powerful in iOS15, some of the new features/improvements done in lists are as below: 1. Swipe Actions 2. Refreshable 3. ListRowSeparator and ListRowSeparatorTint 4. Bindings as List Iterator Swipe Actions Left and right swipe actions like edit, delete, etc for list items can be added using the swipeActions modifier. We can […]
Hi, I am Anjali Aggarwal, an iOS developer at Rightpoint. Through this blog, I would like to share some of the new features introduced in SwiftUI for iOS 15. We will cover the below topics in the first part of this series: 1. Updates in search2. AsyncImage3. Adding Toolbars4. Bordered Buttons5. Submit Labels Searching made […]
…and how Stackable can help Some common iOS interface design patterns are way easier to talk about than they are to develop. Adaptable, maintainable code should be as easy to write and tinker with as it is to express in a conversation with your designer. I want to cover six tricky layouts that I encounter […]
Out of sheer curiosity, I often find myself checking my daily step count on Apple’s Health app. In an attempt to get a basic intro to Swift, I sought out to replicate this functionality by creating my own custom application. In this post, I’m going to walk through how to display the number of steps a user has taken today using HealthKit. However, this article just scratches the surface of all HealthKit has to offer. Check out the documentation if […]
Note: this article is up to date as of Swift 5.0 and Xcode 10.2 XCTest is Apple’s framework for testing code and user interfaces. It provides a variety of methods for testing equality, comparison, and error-throwing. However, the function names can be longer than the test input, making it hard to see what is going […]
ARKit is quite good at tracking images, but it struggles to disambiguate similar compositions. Core ML can help fill in the gaps. ARKit Image Tracking ARKit is a powerful tool that allows developers to create Augmented Reality apps. It comes loaded with image detection and tracking functionality, which allows apps to “anchor” virtual content contextually on to […]
This series of blog posts will provide examples of how we develop Swift applications without IB and demonstrate some general strategies for app architecture. For this first post, I’m going to cover presenting and dismissing a modal view controller over a home view controller. Even though the example is relatively simple, I am going to […]
Learn more about swift localized strings. From xcode localization to nslocalizedstring, discover our tips on localization and pluralization that will make it easier next time you create user-facing strings that contain numbers.
XCTest is designed to help write tests in Swift and is used for Swift packages and applications. The preferred unit test Swift organizes test cases and asserts expectations in your application code. One of the biggest challenges to Unit Testing in Swift is often the setup. XCTest helps manage optionals Swift, Swift guard let and Swift assertions. Learn the problem with XCTest and the simple fix to help you use it in a more efficient way.