SWIFTUI - Quick Start
$10.00
Minimum price
$20.00
Suggested price

SWIFTUI - Quick Start

Version: 2.0 - Date: 04.2021

About the Book

 Content

Intention of this Book is to get you quickly started with SwiftUI. SwiftUI is declarative Programming Language for building user interface for iOS Applications. It is based on SWIFT Programming Language and it is supported by XCode Integrated Development Environment (IDE) .

 Standalone Tutorials

The core of this Book are standalone tutorials that explain different functionalities of SwiftUI Framework. Each tutorial contains minimum amount of code and text needed to explain specific functionality. Such simple examples allow full understanding of the functionality without any unnecessary distractions. This approach allows students to grasp presented concepts in a fast and efficient manner.

 Theoretical Background

Where needed tutorials are preceded by chapters focusing on theoretical background. This way reader can fully understand functionalities explained in the subsequent chapters. But such chapters are in minority and of secondary importance because the main focus is on code examples.

 How to use this Book

Purpose of this Book is to learn functionalities covered by the tutorials in three steps:

1. Go through tutorials to learn specific functionalities

2. Go through Summary chapter which will help you organize what you have learned

3. Start practicing by repeating tutorials or doing your work while using  Summary chapter as reference

 

About the Author

Ivor Online
Ivor Online

WHY TUTORIALS?

"Things are only as complicated as they are badly explained" 

Proper documentation is essential to avoid struggle and frustration when working with simple things that only seem complicated by not being properly documented and explained. 

 

WHAT KIND OF TUTORIALS?

"Working example is worth thousand words"

Just like the picture is worth thousand words the same goes for the working example. Documentation in the form of working examples is proved to be the fastest and the most effective way of transferring knowledge. Sometimes an example is all you need to get the things done. And if there are some accompanying comments that explain what is going on even better. This approach is used in this book. This results in fast learning and the ability to apply tutorials when you need them in the spirit of Just In Time Support. 

I wish you rapid learning!

www.ivoronline.com

 

 

Table of Contents

  • 1. Quick Start
    • 1.1 Install
      • 1.1.1 XCode - Install using App Store
      • 1.1.2 XCode - Install using Web Browser
    • 1.2 Settings
      • 1.2.1 Add your developer account to XCode
      • 1.2.2 Automatically manage signing
    • 1.3 Create Application
      • 1.3.1 Create Project
        • 1.3.2 View App in Preview
        • 1.3.3 View App in Simulator
    • 2. XCode
      • 2.1 Settings
        • 2.1.1 Code Editor - Set Indentation
        • 2.1.2 Code Editor - Disable Line Wrapping
        • 2.1.3 Automatic Preview - Show/Hide
        • 2.1.4 Automatic Preview - Below Code
        • 2.1.5 Automatic Preview - Landscape
      • 2.2 Commands
        • 2.2.1 Simulator - Move Window
        • 2.2.2 Simulator - Take Screenshot
        • 2.2.3 Simulator - Open Home Screen
        • 2.2.4 Show available Devices and Simulators
      • 2.3 Application
        • 2.3.1 Import Images
        • 2.3.2 Specify Icons
        • 2.3.3 Specify Name, Bundle ID & Version
        • 2.3.4 Specify Orientation
        • 2.3.5 Specify Initial Screen
        • 2.3.6 Specify Launch Screen
      • 2.4 Playgrounds
        • 2.4.1 Create Project
        • 2.4.2 Interface
        • 2.4.3 Inspect Variables
        • 2.4.4 Run till Line
        • 2.4.5 Commands
    • 3. View Operations
      • 3.1 Property Wrappers
        • 3.1.1 $
        • 3.1.2 @State
        • 3.1.3 @Binding
        • 3.1.4 @Published
        • 3.1.5 @ObservedObject
        • 3.1.6 @EnvironmentObject
      • 3.2 Basic View Operations
        • 3.2.1 Create New File
        • 3.2.2 Add View
        • 3.2.3 Edit View Properties
        • 3.2.4 Button Action
        • 3.2.5 Apply Modifier to View
        • 3.2.6 Apply Modifier to Modifier
      • 3.3 Advanced View Operations
      • 3.3.1 Animations
      • 3.3.2 Transitions
      • 3.3.3 Gestures
      • 3.3.4 Conditional Views
      • 3.3.5 Create Views from Array using For Each
      • 3.3.6 Move View Between Containers
    • 3.4 Custom Views
      • 3.4.1 Custom View - Create
      • 3.4.2 Custom View - Call
      • 3.4.3 Custom View - Combine
  • 4. View Types
    • 4.1 Visible Views
      • 4.1.1 Button
      • 4.1.2 Image
      • 4.1.3 Map View (wrapper)
      • 4.1.4 Text
      • 4.1.5 TextField
      • 4.1.6 Video Player (AVKit - no default controls)
      • 4.1.7 Video Controller (AVKit - default controls)
      • 4.1.8 VideoPlayer
    • 4.2 Container Views
      • 4.2.1 HStack
      • 4.2.2 List
      • 4.2.3 NavigationView
      • 4.2.4 VStack
      • 4.2.5 ZStack
      • 4.3 Helper Views
      • 4.3.1 Divider
      • 4.3.2 Spacer
  • 5. View Modifiers
    • 5.1 .animation
    • 5.2 .background
    • 5.3 .bold
    • 5.4 .border
    • 5.5 .clipped
    • 5.6 .cornerRadius
    • 5.7 .edgesIgnoringSafeArea
    • 5.8 .font
    • 5.9 .fontWeight
    • 5.10 .foregroundColor
    • 5.11 .frame
    • 5.12 .gesture
    • 5.13 .italic
    • 5.14 .mask
    • 5.15 .offset
    • 5.16 .onLongPressGesture
    • 5.17 .onTapGesture
    • 5.18 .overlay
    • 5.19 .padding
    • 5.20 .scaleEffect
    • 5.21 .shadow
    • 5.22 .tracking
    • 5.23 .transition
    • 5.24 .underline
  • 6. Summary
    • 6.1 XCode - Playground
    • 6.2 XCode - Application
    • 6.3 Property Wrappers
    • 6.4 Views - Basic Operations
    • 6.5 Views - Advanced Operations
    • 6.6 Views - Visible
    • 6.7 Views - Container
    • 6.8 Views - Modifiers
    • 6.9 Views - Custom
  • 7. Errors
    • 7.1 Agree to the latest Program License Agreement
    • 7.2 Views: NavigationLink Works Only Once
    • 7.3 Views: Text Field not reacting to input
    • 7.4 ForEach: referencing initializer
    • 7.5 ForEach: Type '_' has no member 'myid'
    • 7.6 Video: Player is blank
    • 7.7 Video: No factory registered for id
    • 7.8 Video: App Transport Security has blocked a cleartext HTTP
    • 7.9 Video: nw_endpoint_flow_copy_multipath_subflow_counts Called
    • 7.10 Distribution: No suitable application records were found
    • 7.11 Distribution: Missing required Icon sizes
    • 7.12 Distribution: Missing Compliance

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earnedover $13 millionwriting, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub