Swiftui, iOS App Development, iOS Development, Mobile App Development, Swift.
DataModel.swift import Foundation struct DataModel: Identifiable, Hashable { let id = UUID() let text: String } class SampleData { static let firstScreenData = [ DataModel(text: "🚂 Trains"), DataModel(text: "✈️ Planes"), DataModel(text: "🚗 Automobiles"), ] static let secondScreenData = [