Post

Replies

Boosts

Views

Activity

Reply to Peut-on faire un tableau dans une classe
import Foundation struct Brand: Codable {     let name: String     let model: [String]     let image: String     let like: Bool } let sample = """ {    "name": "First Name",    "model": ["CAR1", "CAR2", "CAR3"],    "image": "some.png",    "like": false } """.data(using: .utf8)! let brand = try JSONDecoder().decode(Brand.self, from: sample) print(brand.name)
Topic: App & System Services SubTopic: General Tags:
Dec ’21
Reply to Peut-on faire un tableau dans une classe
import Foundation struct Brand: Codable {     let name: String     let model: [String]     let image: String     let like: Bool } let sample = """ {    "name": "First Name",    "model": ["CAR1", "CAR2", "CAR3"],    "image": "some.png",    "like": false } """.data(using: .utf8)! let brand = try JSONDecoder().decode(Brand.self, from: sample) print(brand.name)
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Dec ’21
Reply to Authentication error 7005
The tags for are developer-related categories and seeing your question is not developer-related and can be better served with the help of an Apple genius or community member over at Apple Support Community instead!
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Dec ’21