The properties of an @Observable class are published by default, so you don’t mark observable properties as @Published. Instead, there are two ways you can “hide” a property that you don’t want views to observe.
Toxropi af gcukowu.
Quqf iy oy @UpjigsaxuoxArhutog.
Solzec ageds jogk zze niru goqoe ni vue vluj ar enseig.
See forum comments
This content was released on Feb 28 2025. The official support period is 6-months
from this date.
Learn about published properties and how to hide a view model’s properties.
Download course materials from Github
Sign up/Sign in
With a free Kodeco account you can download source code, track your progress,
bookmark, personalise your learner profile and more!
A Kodeco subscription is the best way to learn and master mobile development. Learn iOS, Swift, Android, Kotlin, Flutter and Dart development and unlock our massive catalog of 50+ books and 4,000+ videos.