Skip to content

mikechan1234/swiftui-redacted-views

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

swiftui-redacted-views

Developed using Xcode 15.0

  • This project applies the redacted view modifier in the parent view and the redactionReasons environment value in the subviews
  • Subviews use the environment to listen out for changes to based on the parent view
  • BodyView preview's the variation of redactionReasons and the combinations/single value needed to hide views

About

Example of using redacted view modifier

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages