Post

Replies

Boosts

Views

Activity

Comment on Using URLSession in Combine
Hmm... So I was actually close to completing my work with AnyPublisher? I thought I had to use Future as an asynchronous process, which has ultimately solved my question, though. I have to compare yours with mine closely to see your points. It's very kind of you to read my lines of code and come up with a solution. Thank you.
Topic: UI Frameworks SubTopic: UIKit Tags:
Nov ’21
Comment on Getting an Updated Value Through @EnvironmentObject
Thanks. I've realized that as well.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’22
Comment on How to Update a UILabel Object with MainActor
Thanks. Are you telling me to just use DispatchQueue.main.async, then?
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Feb ’22
Comment on Using Subclassed UIViewController
Thanks. Where are you calling setup - in BaseViewController's required init?
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Feb ’22
Comment on Where and How to Create FileManager as a Singleton?
Thanks. I haver never mentioned the MVVM architecture, though.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Feb ’22
Comment on Picker with Unexpected Results
Actually, the index issue is not resolved.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jan ’22
Comment on Picker with Unexpected Results
Thanks a lot. That solves the index issue. But the simulator still starts with no value for the second Picker, though.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jan ’22
Comment on Publishers.CombineLatest in SwiftUI
That's exactly what I'm talking about. I've asked Google about "SwiftUI Publishers.CombineLatest and figured out I had to use ObservableObject after going through a few dozen websites. I don't think I could figure it out on my own. Thanks a lot.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jan ’22
Comment on Using Combine-Future to Fetch Server Data
Yes. You are quite attentive. That solves the problem. Thanks a lot.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Dec ’21
Comment on Using Combine-Future to Fetch Server Data
Thanks. But this question is not about completionHandler, async/await or the Future. Besides, the Future part is working.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Dec ’21
Comment on Hiding Application Name over Toolbar?
I didn't know there's a solution in NSWindow. Thanks a lot.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Dec ’21
Comment on Combining More Than Four @Published Variables in Combine?
Thanks.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Nov ’21
Comment on Using URLSession in Combine
I can confirm to you that your version runs without a problem.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Nov ’21
Comment on Using URLSession in Combine
I see. You have taken my 'subject' out of the getGitData function. That makes sense.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Nov ’21
Comment on Using URLSession in Combine
Hmm... So I was actually close to completing my work with AnyPublisher? I thought I had to use Future as an asynchronous process, which has ultimately solved my question, though. I have to compare yours with mine closely to see your points. It's very kind of you to read my lines of code and come up with a solution. Thank you.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Nov ’21
Comment on Observing Changes in Multiple @Published Variables at the Same Time?
Sure. Thanks.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Oct ’21