Post

Replies

Boosts

Views

Activity

Reply to How to define a Class instance type conforming to a protocol?
After digging a little deeper into The Objective-C Programming Language documentation, I actually found the exact answer to such a scenario: Protocols can’t be used to type class objects. Only instances can be statically typed to a protocol, just as only instances can be statically typed to a class. (However, at runtime, both classes and instances respond to a conformsToProtocol: message.) Which means that it's just not supported and I should implement this differently
Topic: Programming Languages SubTopic: General Tags:
Jan ’23
Reply to How to define a Class instance type conforming to a protocol?
After digging a little deeper into The Objective-C Programming Language documentation, I actually found the exact answer to such a scenario: Protocols can’t be used to type class objects. Only instances can be statically typed to a protocol, just as only instances can be statically typed to a class. (However, at runtime, both classes and instances respond to a conformsToProtocol: message.) Which means that it's just not supported and I should implement this differently
Topic: Programming Languages SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jan ’23
Reply to Xcode 14.1: Account Authentication Failure
bump
Replies
Boosts
Views
Activity
Jan ’23
Reply to "the host declined to create a scene" calling requestSceneSessionActivation
Have been struggling to resolve the same problem for about two days. Turned out the application should not require full screen when supporting multiwindow/multiscenes:
Topic: UI Frameworks SubTopic: General Tags:
Replies
Boosts
Views
Activity
Oct ’22