IOS + Swift

IOS + Swift Swift 5
Swift – Add Sections to List
May 9, 2021
0
struct Pizzeria: View {     let name: String     var body: some View {         Text(“Restaurant: \(name)“)     } }   struct MainView: View {     var body: some View {         List {             Section(header: Text(“Important tasks”)) {     […]
IOS + Swift Swift 5
Swift – How to let users delete rows from a list
May 9, 2021
0
struct MainView: View {   @State private var users = [“ZERIN”, “ARIF”, “TIKLU”]     var body: some View {         NavigationView {             List {                 ForEach(users, id: \.self) {                   […]
IOS + Swift Swift 5
Swift – Carousel Lists on watchOS
May 9, 2021
0
List(1..<51) { Text("\($0)") } .listStyle(CarouselListStyle())
IOS + Swift Swift 5
Swift – create expanding lists
May 9, 2021
0
,
// //  MainView.swift //  MySwiftLearning1 // //  Created by Arifur Rahman Jerin on 4/30/21. // import SwiftUI struct Bookmark: Identifiable {     let id = UUID()     let name: String     let icon: String     var items: [Bookmark]?     // some example websites     static let apple = Bookmark(name: […]
Swift 5
Swift – create grouped and inset grouped lists
May 9, 2021
0
//  MainView.swift //  MySwiftLearning1 // //  Created by Arifur Rahman Jerin on 4/30/21. // import SwiftUI struct Pizzeria: View {     let name: String     var body: some View {         Text(“Restaurant: \(name)“)     } } struct MainView: View {     var body: some View {     […]
Coding IOS + Swift
IOS + Swift Code: Read Data from Remote Json File
September 6, 2017
0
, ,
My JSON FILE: {"teams":[{ "id": "1", "clubName": "USJF", "isDeleted": "0" }, { "id": "2", "clubName": "Docume", "isDeleted": "0" }, { "id": 3, "clubName": "Chelsea", "isDeleted": 0 }, { "id": 4, "clubName": "Bercelona", "isDeleted": 0 }]} JSON FILE Screenshot: IOS CODE: // // ViewController.swift // HelloJson // // Created by Arifur Rahman Zerin on 9/5/17. // […]