Home Blog About Contact

 

Creating views in a loop with ForEach, Identifiable and List in SwiftUI

post thumbnail techchee

2 min readIn SwiftUI, you cannot use a control flow statement within a ViewBuilder closure. For example, you need to loop over a collection of data and create views accordingly. The screenshot below shows that a typical for loop in swift code is used but your Xcode will show you error as below.

Posted on 27 Dec 20  

List and ScrollView in SwiftUI

post thumbnail techchee

3 min readIn UIKit, we use UITableView to display a single-column, vertical and scrollable rows of contents and UIScrollView to display contents that will not fit entirely on the screen, which then allows them to be scrollable either horizontally and vertically.

Posted on 21 Dec 20  

How to create a custom popup view with SwiftUI

post thumbnail techchee

3 min readThere are a number of situations that your iOS app needs to present the users with custom popup views. For example a popup view with choices of selection (without the need to navigate to another view or view controller) or a popup view that shows some important information to alert the users.

Posted on 13 Dec 20  

A first look at SwiftUI stacks, VStack, HStack, ZStack and build some combined views

post thumbnail techchee

3 min readSwiftUI is the new way of designing and developing your UIs which has been introduced by Apple since iOS 13. It’s a new framework which allows you to write less code when developing the user interfaces of your iOS apps.

Posted on 06 Dec 20  
Topics
HabitPath Logo
Build better habits on iOS with HabitPath – easy tracking, daily summaries, streaks, reminders, widgets, and more. Your personal success starts here!
Tired of struggling with pricing pages and payments? PlanStacker lets you launch faster — beautiful pricing pages, subscription management, and Stripe/PayPal integration. All without touching code!
Our FB Twitter Our IG Copyright © 2025