Post

Replies

Boosts

Views

Activity

Comment on JSON parsing from a static JSON file into the label
Is it possible? Depends on the server side. With URLSession.dataTask, only the latest data is loaded, only once at the time of call. You may need to find if there is some functionality to tell you when it changes. Or you may need to repeat calling the API. In the latter case, remaining of NowPlaying will give you a good hint when to load again.
Topic: UI Frameworks SubTopic: UIKit Tags:
Sep ’21
Comment on Date in Swift printed is wrong
Seems your expectation is wrong. As you were told in another thread of yours, Date is a locale/timeZone-independent representation of sort of absolute date & time. Its default String representation uses UTC as you found. If you want some timeZone specific date, you need String representation of Date using DateFormatter or use DateComponents, not Date.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Sep ’21
Comment on Xcode 13 archive Error
Seems you are using many third party frameworks. You should better contact the authors of them.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Sep ’21
Comment on SwiftUI help with application of multiple radio buttons to perform calculations based on selected option
Please use Code Block (shown as an icon < > with box below the editing area of Your Answer) when you show your code. And you should better not think a few hundred of lines as long, when readers say it is needed.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’21
Comment on How can I use the searchable feature for my row data in SwiftUI?
A complete code.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’21
Comment on What exactly is CIImage extent
@testinstadev, Generally, you should better not include two or more different topics in one thread. But you already have it in the local variable extent.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Sep ’21
Comment on How can I use the searchable feature for my row data in SwiftUI?
Sorry, but far from complete.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’21
Comment on "Precondition failed: NSArray element failed to match the Swift Array Element type" error on iOS version < 13 but works fine on iOS 13 and 14.
@bawenang.zyrous, why do you think so? There are many cases where sort of bad coding get apparent only in some specific conditions.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Sep ’21
Comment on [iOS 15]The tableView(_:numberOfRowsInSection:) is called before the numberOfSections(in tableView: UITableView)
I said the dataSource of the table view, so you should enclose this line: tableView.dataSource = self. Anyway, the reason of the crash may not be the one I had in mind. Can you show the complete code to reproduce the issue? Or, at least, the full code of EquipmentListVC and all the used types in it?
Replies
Boosts
Views
Activity
Sep ’21
Comment on Checkmarks are not removed from the table cell
Sorry, but I do not see what is happening just reading does not work. You should better start a new thread including your latest code, the expected result and the actual result.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Sep ’21
Comment on Deadline for requiring Xcode 13 for submissions?
It would be very useful if Apple could show all such restrictions in one place. Maybe we should utilize Feedback Assistant more often.
Replies
Boosts
Views
Activity
Sep ’21
Comment on Why Xcode 13 not available in Download on developer.apple.com?
Now you can find Xcode 13 on the More Downloads pages.
Replies
Boosts
Views
Activity
Sep ’21
Comment on JSON parsing from a static JSON file into the label
Is it possible? Depends on the server side. With URLSession.dataTask, only the latest data is loaded, only once at the time of call. You may need to find if there is some functionality to tell you when it changes. Or you may need to repeat calling the API. In the latter case, remaining of NowPlaying will give you a good hint when to load again.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Sep ’21
Comment on Macos 12 not available after update to Xcode to Version 13.0 (13A233)
You can find one in the More Downloads pages. Xcode 13 beta 5 is found on the top page.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’21
Comment on dataWithContentsOfURL is nil with url from Files app
It does not mean it is accessible in the same way as local files, ok?
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Sep ’21
Comment on CryptoKit TOTP Generation
@chriiiiii, The code shown in Security Engineer's reply compiles without any issues with Xcode 12.5.1. You may be doing something wrong. Better start your own thread.
Topic: Privacy & Security SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’21
Comment on Date in Swift printed is wrong
Seems your expectation is wrong. As you were told in another thread of yours, Date is a locale/timeZone-independent representation of sort of absolute date & time. Its default String representation uses UTC as you found. If you want some timeZone specific date, you need String representation of Date using DateFormatter or use DateComponents, not Date.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’21