Post

Replies

Boosts

Views

Activity

Comment on emulate mouse click
Right, don't need it, unless you want to execute the tap once window activated. But then, need a CGEvent (I think you saw this already: https://stackoverflow.com/questions/41908620/how-to-simulate-mouse-click-from-mac-app-to-other-application)
Topic: Programming Languages SubTopic: Swift Tags:
Jul ’21
Comment on How to learn to use storyboard and Objective-C to develop iOS applications
szymczyk is right. These are 2 different things: learning XCode and Storyboards, which is quite independant of the language. And learning objective C. Do I guess well that you already know objC ? If so, use an Apple tutorial (App development with Swift for instance) but code everything in ObjC instead of Swift. That should be fairly easy.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jul ’21
Comment on Unable to Dequeue Registered CollectionViewCells
Is there a single collectionView (newsCollectionView) in your class ? Could you show the code for HeadlineNewsCollectionViewCell ? Interesting discussion here: https://stackoverflow.com/questions/17729582/uicollectionview-in-a-uicollectionviewcell
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jul ’21
Comment on In UIKit, how do you present a confirmation dialog when the user is swiping to delete a table view cell?
That's true. But if the action is really (badly) destructive, a full fledged confirmation dialog may be useful (we know in some cases we do things mechanically).
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Jul ’21
Comment on How to save return value from function in swift ui and use it
Effectively, State var are for this: save state…
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jul ’21
Comment on Could not cast value of type (0x10ca9be10) to 'NSString' (0x7fff86d8bbb0)
Thanks. Don't worry, we all have started as Swift beginners.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jul ’21
Comment on emulate mouse click
Right, don't need it, unless you want to execute the tap once window activated. But then, need a CGEvent (I think you saw this already: https://stackoverflow.com/questions/41908620/how-to-simulate-mouse-click-from-mac-app-to-other-application)
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jul ’21
Comment on Swift Playground Not Working
Does it work in manually run mode ?
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jul ’21
Comment on MacOS 11.5 GM2 (20G71) can't update to RTM
Where did you see the MacOS 11.5 RTM to download ?
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jul ’21
Comment on Ringtones
Did you file a bug report ?
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jul ’21
Comment on Strange line in UITextview
Thanks for feedback. Don't forget to close the thread now.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Jul ’21
Comment on TabView disappearing on Xcode 13
Yes, but I suspect the behaviour is the same. So it is likely not a bug, but a feature of iOS 15.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jul ’21
Comment on Playlist's curatorName property always returns nil.
Ok, my mistake, I should have looked at the tags, not the content of post.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jul ’21
Comment on Strange line in UITextview
I tried your code, but scale does nothing. And the background is blue, not red.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Jul ’21
Comment on View controller inside collection view cell
Instead of have Collection in a cell, why not create a collectionView with multiple sections (one for each former cell).
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Jul ’21
Comment on Show JSON output to screen?
Is that fully solved now ?
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jul ’21