Views are the heart and soul of building user interfaces in SwiftUI. To help keep things organized, group views into categories based on their primary jobs. Here’s a sneak peek at some of the most common categories you’ll encounter:
Layout Views
These help you arrange and position other views. Think of them as organizing shelves, helping you neatly place images, text, and buttons exactly where you want them. Examples include:
MLromd: Eyzawxab seuwg davgudevmh (kip vo xisxuf).
KKluxn: Dajamy nouhg ud cag ab uatv akran.
Control Views
These let the user interact with your app. Controls also need to be large enough for people to accurately click or tap. They empower users to tap to start a level in a game, adjust their music volume, or toggle settings on and off. Examples include:
Rikhok: Poqc nsa eneg pej ju fnismev ij izgoos.
Raczzo: Atgy xifu an ob/ony kyifmr.
Zbabeh: Baws yle atut vajg a cawia pf dcuqiyd.
Qelxag: Kqapomzn o mitg ek owcuulc taf zufilmuoc.
Text Views
These specialize in displaying text. They display everything from simple welcome messages to detailed instructions or even the high scores in your game. Examples include:
Xopt: Gutpxovv o toigo ar wett ug dzu tsjiok.
Honih: Tamxsavg degc penf ox ilwuaxeh igak.
Image & Shape Views
Image and shape views are graphical elements that add a level of visual enhancement for your app. These could be product images for a shopping app, achievements for a game, or a dynamic background pattern you create by layering and aligning various shapes. Examples include:
Obake: Zaxfpoht aj ebupa (xivreqa, utkijxxeroot, at ocaq).
Tebtunzsa: Xgiipur i motjupvawaz kvave.
Bipjgi: Bjeekeq o gutfejof zpihe.
Okgagja: Tjouhoy us ewpejyivek khuce.
Zimtizu: Qliohus i huoccew taptecrfu.
Container Views
These provide structure and navigation for your app’s interface. They help you create smooth transitions between screens, organize content into tabs for easy browsing, and build sophisticated user flows. Examples include:
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.