Skip to main content

3 posts tagged with "UIKit"

UIKit framework tutorials and guides

View All Tags

How to Generate Haptic Feedback in Swift

· 3 min read
Full Stack Developer
Last updated on August 23, 2021

Generate Haptic Feedback in Swift

As we have mentioned in previous posts, there are more and more iOS applications in App Store and obviously we are living in a highly competitive market. Hence, creativity and differentiation are essential for success. In today’s article, we will show you a great feature that makes apps feel more playful and performant – haptic feedback. We’ll learn how to generate haptics feedback in Swift with code examples.

How to color UIImage objects programmatically in Swift

· 2 min read
Full Stack Developer
Last updated on March 19, 2021

UIImage is the Swift approach to modeling images. In order to display an image on the screen, you’re most likely going to use UIImageView, which takes a UIImage object and presents it in the view hierarchy. To color UIImage objects there’s some extra work required. Coloring images can be very helpful when dealing with app icons, tab bar items, navigation items, etc.

How to Integrate UIKit with SwiftUI

· 4 min read
Full Stack Developer
Last updated on September 2, 2019

swift ui

When you start developing with SwiftUI, you will reach certain points during development where you would like to use some APIs from UIKit. In order to integrate UIKit with SwiftUI, you can use one of two protocols – UIViewControllerRepresentable and UIViewRepresentable. We will soon be migrating all of our iPhone app templates (currently running on UIKit) to SwiftUI, so having them use both UIKit and SwiftUI as a transition state during migration will be a huge advantage in order to not block our customers who are willing to take a stab at SwiftUI early on (even if we don’t recommend it yet!).