Tag Archives: Swift, SwiftUI

Swift – The word clock

By | 06/10/2020

Finally, I have deployed my app called ”The word clock”.It is a nice word clock for iPhone, where minutes and hours aren’t static but they change their position.This is the first version and it shows only the time.In the next version, I will add other features like alarm and widget. If you want to download… Read More »

SwiftUI – clipShape()

By | 23/09/2020

In this post, we will see how to use clipShape() in order to clip an image controlling its shape.But what is clipShape()?From Apple developer web site:“Sets a clipping shape for a view.Use clipShape(_:style:) to clip the view to the provided shape. By applying a clipping shape to a view, you preserve the parts of the… Read More »

SwiftUI – TabView

By | 19/06/2020

In this post, we will see how to create a TabView, used to show two different Pages. We start, creating two SwiftUI views called Page1 and Page2: [PAGE1.SWIFT] [Page2.swift] Then, we will add another SwiftUI view called TabMenu where, we will define the TabView: [TABMENU.SWIFT] We have done and, if we run the application, this… Read More »