Scan from Camera and CTScan - a TextField, TextEditor Swift Package alternative

Опубликовано: 24 Октябрь 2021
на канале: Stewart Lynch
3,159
111

In this video, I am going to introduce you to something you might have overlooked, an exciting new feature of iOS 15 and a Swift Package that I wrote that will help you take full advantage of that new 2018 or feature in SwiftUI.
It is a new feature that allows you to capture text from the world around you and it is called "Text from Camera" and uses Live Text
At the same time, we explore features of the TextEditor and TextField features that you may not be aware of and how you can take advantage of the UITextContentType and UIKeyboardType for a TextField or TextEditor.
As a Bonus, If you are interested, I also show you how you can duplicate the package a a local framework and I will show you how to modify it to add even more customization to what I have.

If you want to support my work, you can buy me a coffee :)
https://ko-fi.com/stewartlynch

******* Download my StewartLynch YouTube Channel Application - Free **********
https://stewartlynch.gumroad.com/l/obsjz

Table of Contents:
0:00 Introduction
2:41 Scan Text Introduction
4:30 Installing CTScanText Swift Package
6:34 ScanTextEditor
9:20 ScanTextField
18:20 Customizing a Swift Package

Starter Project Files:
http://www.createchsol.com/SPMStarter...

Swift Package Repository:
https://github.com/StewartLynch/CTSca...

How to clone and modify a Swift Package
https://stewartlynch.github.io/Segmen...

References mentioned in video:
UIKit Integration with SwiftUI
   • UIKit Integration with SwiftUI  
Flo Writes Code tutorial - Live Text in SwiftUI video:
   • Live Text in SwiftUI | CaptureTextFro...  

Other References:
Stewart Lynch's YouTube Channel:
   / stewartlynch  
Stewart Lynch on Twitter:
  / stewartlynch