Thumbnail image

12Bay Integrated SwiftUI. With 12Bay, No StoryBoard, No XIB Files, No Cocoapods, ...

Table of Contents

Bus booking function write by SwiftUI

For three months, I dedicated myself to learning SwiftUI and using it to develop a bus booking feature. Along the way, I faced several challenges in integrating SwiftUI into an existing UIKit-based project. In my upcoming articles, I will dive deep into these challenges, providing detailed insights and solutions. But first, let’s explore the user interface for booking a ride, which includes selecting a bus route, choosing seats, and specifying pickup/drop-off points.

12Bay Bus Booking

12Bay Bus Booking

How to apply SwiftUI in a real UIKit project?

In the upcoming articles, I will share a step-by-step guide on how I learned and applied SwiftUI in a real-world project. Through this, we can acquire the essential knowledge of SwiftUI to implement in future projects. Additionally, I will introduce the TTBaseUIkit library that I utilized to build basic views, which can be easily reused for future.

  • The differences in mindset between UIKit and SwiftUI.
  • Reusability of components in SwiftUI.
  • How to pass data between views in SwiftUI.
  • Interaction between views in SwiftUI and ViewControllers in UIKit.
  • Which architecture is the best in SwiftUI: MVVM, VIPER, or TCA?

You can find 12bay application by link: 12Bay

12Bay+SwiftUI

12Bay+SwiftUI

Conclusion

Learning something new can often seem difficult, particularly when we have no prior experience with the subject. However, it’s important to persevere and keep trying, as with time and effort, we can overcome the initial challenges and gain a deeper understanding of the topic. - Keep trying!

SwiftUI is a modern way to declare user interfaces for any Apple platform. Create beautiful, dynamic apps faster than ever before.- Apple

Posts in this Series

If you enjoy reading my articles and find them helpful, please support me. Your support will encourage me to create and share more content with you ^^

By me a coffee