How to implement Infinite Page Controls like Instagram in Swift for a UICollectionView? [closed]
Closed 4 days ago.
How do I make such a view with SwiftUI?
I want to show an area where I move my finger on the image and I want to move it around on the image, I want these cut images to change when I move it dynamically on the image, how can I do it with SwiftUI or how should I google it?
How to remove grey background from UISearchBar inside UINavigationBar?
Normally, you can customize UISearchBar appearance, including the background color, using UIAppearance API. To customize the background color, you can use theme UISearchTextField, which is a UITextField subclass used in search bars:
Easing functions for using CADisplayLink
I need to manually animate something frame by frame in SwiftUI using CADisplayLink
, which provides me frame to frame updates. For animating a value from a
to b
in a linear fashion, the implementation is trivial, simply calculate a rate of change with (b-a) / duration
and apply this delta to the value on every frame.
UIAnimatedNavigationTransition with UIKit and SwiftUI
When creating an animated transition in an iOS application with UIKit, we typically use UIAnimatedNavigationTransition between two view controllers. However, a new business requirement necessitates replacing one of the view controllers with a SwiftUI view. How can we make the animated navigation transition work between a SwiftUI view and a UIKit view controller? Is there a way to achieve this?
Wrapping a UIKit view with initializer that can throw inside a SwiftUI screen
I’d like to know if there is a good existing way to wrap a UIKit inside SwiftUI when the initializer of the UIKit component can throw an error.
No such module ‘UIKit’ for SwiftUI project
It’s been about 10 years since I last worked with iOS. I was experimenting with using an API to check if the user has CarPlay open, but the solution I found depends on UIKit, specifically UIScreen.
Multiple Network Callbacks from SwiftUI views to a UIKit view to Start and End a Loading Screen
I’m currently working on my app with MVVM and a combination of views made with UIKit and SwiftUI and having some trouble figuring out how to handle network callbacks between the views. All network operations are done with Async/Await.