Companies Home Search Profile

Starting with SwiftUI: essentials of descriptive UI

Focused View

Web Academy

1:10:08

126 View
  • 1 - Course Introduction.mp4
    06:51
  • 2 - Starting new SwiftUI project.mp4
    10:07
  • 3 - SwiftUI view essentials.mp4
    11:27
  • 4 - Descriptive UI SwiftUI vs UIKit.mp4
    24:01
  • 5 - Building skeleton for UI.mp4
    17:42
  • Description


    What is deciriptive UI and how SwiftUI different from UIKit

    What You'll Learn?


    • How to start new SwiftUI project
    • SwiftUI view essentials
    • Descriptive UI: SwiftUI vs UIKit
    • Building skeleton for UI

    Who is this for?


  • This course is designed for those who already have basic knowledge and skills in Swift development and want to develop them professionally.
  • What You Need to Know?


  • Familiarity with Swift, XCode, URLSession, JSONDecoder and Codable protocol
  • More details


    Description

    SwiftUI is a modern UI framework introduced by Apple, designed to make building user interfaces for iOS, macOS, watchOS, and tvOS easier and more intuitive. We cover some essential concepts and techniques for creating descriptive UIs with SwiftUI:

    1. Views and Modifiers: Everything in SwiftUI is a view. Views are the basic building blocks of your UI. You compose views to create more complex UIs. SwiftUI provides a wide range of built-in views like Text, Image, Button, etc. You can customize these views using modifiers, which are methods that alter the appearance or behavior of a view.

    2. Declarative Syntax: SwiftUI uses a declarative syntax, meaning you describe what you want your UI to look like, and SwiftUI figures out how to render it. This is in contrast to the imperative approach where you would specify each step to create and update your UI.

    3. State and Data Binding: SwiftUI relies heavily on the concept of state. State represents the data that drives your UI. You declare state properties using the @State property wrapper. When the value of a state property changes, SwiftUI automatically updates the affected views. You can bind views to state properties using the $ prefix.

    4. Layout and Stacks: SwiftUI uses stacks to arrange views horizontally or vertically. There are three main types of stacks: HStack (horizontal), VStack (vertical), and ZStack (for overlaying views). You use these stacks to organize the layout of your UI.

    5. Navigation: SwiftUI provides built-in navigation features for building navigation-based user interfaces. You can use NavigationView along with NavigationLink to create navigation hierarchies. NavigationView provides a navigation bar, while NavigationLink allows you to navigate between different views.

    6. Lists and Grids: SwiftUI offers List and LazyVGrid/LazyHGrid views for displaying collections of data. Lists are commonly used for displaying vertical scrolling content, while LazyVGrid and LazyHGrid are used for grid layouts.

    7. Modifiers: SwiftUI provides a rich set of modifiers to customize the appearance and behavior of views. Modifiers allow you to change properties like font, color, padding, alignment, etc. You can chain multiple modifiers together to create complex UI designs.

    8. Conditional Views and Loops: You can conditionally show or hide views using if statements or ternary operators. For iterating over collections, you can use ForEach to generate views dynamically based on the elements of the collection.

    9. Gesture Recognizers: SwiftUI supports various gesture recognizers like tap, drag, long press, etc., which you can attach to views to enable user interaction. Gestures are implemented using modifiers like onTapGesture, onLongPressGesture, etc.

    10. Custom Views and Modifiers: SwiftUI allows you to create your own custom views and modifiers to encapsulate reusable UI components and behaviors. You can define custom views by creating structs that conform to the View protocol.

    Who this course is for:

    • This course is designed for those who already have basic knowledge and skills in Swift development and want to develop them professionally.

    User Reviews
    Rating
    0
    0
    0
    0
    0
    average 0
    Total votes0
    Focused display
    Category
    Web Academy is an online education platform created as an extension of the Web Academy Group local company in Kyiv, Ukraine. This platform exists to provide a place to learn, grow, interact and develop relationships in IT.Given the global demand for IT skills and expertise, such initiatives can play a crucial role in helping individuals gain the knowledge and experience needed for careers in the tech industry. Additionally, by fostering interactions and relationships, Web Academy can create a sense of community among its users, providing networking opportunities and support for their educational and professional growth.
    Students take courses primarily to improve job-related skills.Some courses generate credit toward technical certification. Udemy has made a special effort to attract corporate trainers seeking to create coursework for employees of their company.
    • language english
    • Training sessions 5
    • duration 1:10:08
    • Release Date 2024/06/25

    Courses related to SwiftUI