SwiftUI combine rectangle and triangle in shape

SwiftUI combine rectangle and triangle in shape Making custom shape is not hard in SwiftUI by implementing func path(in rect: CGRect) -> Path. You just have to draw points in your desired location in 2D coordinate space by path.move() and path.addLine() func, a line will be drawn automatically. Spread the love        

Spread the love

Navigation in SwiftUI with multiple views

Navigation in SwiftUI video Download Complete Login app with Laravel API I was trying to build a simple app in iOS + SwiftUI with multiple views that uses NavigationView and NavigationLink. This app is very simple and uses a model to navigate between destinations. Enum ViewType tracks all the destinations. If you want to have …

Spread the love