11

Drawing in iOS with SwiftUI [SUBSCRIBER]

 2 years ago
source link: https://www.raywenderlich.com/30399648-drawing-in-ios-with-swiftui
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Drawing in iOS with SwiftUIGroupGroupGroupGroupGroupGroupGroupGroupGroupGroupShapeGroupGroupGroupGroupGroupGroupGroupGroupGroupGroupGroupGroupGroupGroupGroupGroupGroupGroupGroupGroupGroupGroupGroupGroupGroupGroupGroupGroupGroupGroupGroupGroupGroupGroupGroupGroupGroup

Build in-demand dev skills — and level up fast.
Starting at just $19.99/mo.

Stay relevant to recruiters at top companies with over 4,000+ videos, 40+ books, exclusive Professional Development Seminars, and more.

This course is available as part of the raywenderlich.com Professional subscription. To learn more click here

Drawing in iOS with SwiftUI

Jun 7 2022 · Video Course (1 hr, 57 mins) · Advanced

Learn about drawing using SwiftUI by creating custom controls using a combination of SwiftUI and Core Graphics. Covers shapes, colors, drawing with Pencil, and how to integrate them into a non-trivial app.

Version

  • Swift 5.5, iOS 15, Xcode 13
w750.png

Drawing with SwiftUI

Shapes

6:55 Free

Start off by going over simple colors and shapes and understand how to add them to your views. Use modifiers to clip views to your chosen shape.

Colors

6:46

Learn about Gradients, how to create your own named colors, and what dark mode means for your colors.

Explore SwiftUI paths, learn to create simple custom shapes, and the many ways of outlining with a stroke.

Dig deeper into SwiftUI paths and draw a custom heart shape with help from Bezier curves and transforms.

Learn how to group your custom shapes with an Enum, and display them all in a grid.

Create data storage for the mind map cells using an environment object, and draw example cells from the model.

Learn how to periodically update and animate views with TimelineView.

Learn how to create gestures to select a mind map cell, drag it, and add a new cell by double-tapping the background.

Custom Controls

Create a custom slider with a gradient background, and learn how to send inputs to controls and receive outputs.

Later, you’ll create a sketch pad, so here you’ll create a reusable color picker to allow the selection of different drawing colors.

SF Symbols are fantastic Apple-designed vector icons. But did you know you can create your own SF Symbols? Open up your vector editor and have a go!

Custom Menu

11:34

Learn about rotation and scale effects by creating a circular flyout menu and placing your icons around the edge of a circle.

Install the menu into the app and add custom actions to it. You’ll be able to delete cells and also use your shapes grid to choose the shape of each cell.

In this episode, learn how easy it is to create a simple drawing pad using drag gestures and SwiftUI paths.

To practice installing an existing custom control, install the color picker into the drawing pad and hook it up to the drawing color.

To practice installing an existing custom control, install the color picker into the drawing pad and hook it up to the drawing color.

Version history

iOS 15, Swift 5.5, Xcode 13 (Selected)

Jun 7 2022

iOS 13, Swift 5, Xcode 11

Feb 11 2020

Who is this for?

This course is for iOS developers who are familiar with Swift and SwiftUI fundamentals, and would like to create custom user interfaces using SwiftUI.

Covered concepts

  • SwiftUI shapes & colors
  • Custom shapes
  • Custom controls using SwiftUI
  • Canvas view
  • Timeline view

Contributors

Catie Catterwaul

Catie makes things for, with, and about Apple tech in collaboration with her husband, Jessy! She is inspired by everyone at...

Instructor
Adriana Kutenko

Graphic Illustrator with a Bachelor’s Degree in Fine Arts. I am a perpetual perfection seeker with a big passion for History...

Illustrator

Comments

Reviews

We want to hear your thoughts!

Log into your account to leave a review for this Video Course.

All videos. All books.
One low price.

A raywenderlich.com subscription is the best way to learn and master mobile development — plans start at just $19.99/month!

Learn iOS, Swift, Android, Kotlin, Flutter and Dart development and unlock our massive catalog of 50+ books and 4,000+ videos.

illustration-desk-arrangement-80d3c3dbe1072286b711db91b3d1a8f2442903cd5718fe758d02c22ebfaba15c.svg

The largest and most up-to-date collection of courses and books on iOS, Swift, Android, Kotlin, Flutter, Dart, Server-Side Swift, Unity and more!

All videos. All books. One low price.

A raywenderlich.com subscription is the best way to learn and master mobile development — plans start at just $19.99/month!

Learn iOS, Swift, Android, Kotlin, Flutter and Dart development and unlock our massive catalogue of 50+ books and 4,000+ videos.

  • © 2022 Razeware LLC
  • Made with ♥ from around the world
  • 6000+ Tutorials and counting

raywenderlich.com and our partners use cookies to understand how you use our site and to serve you personalized content and ads. By continuing to use this site, you accept these cookies, our privacy policy and terms of service .


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK