Post

Replies

Boosts

Views

Activity

After updating my legal name, can I expect my original and separate developer name to stay intact?
When an organisation adds an app to an account the first time, it may choose a developer name different to its legal name. Can I expect my previously chosen developer name to stay exactly as it was before after I update my legal name? I've heard that for developers who decide to choose a different name, when/if the legal entity name has to be changed at a later stage, the App Store Connect company name is also changed to the legal entity name accordingly. But are terms App Store Connect company name and Developer Name, interchangeable? Do they refer to the same thing? If any change to a legal name means losing an originally accepted developer name irreversibly , doesn't it contradict Apple statement that a developer name cannot be edited or updated later?
0
0
1k
Dec ’22
Why repeating protocol conformance in a subclass is considered redundant?
Repeating protocol conformance in a subclass of conforming class results in a redundancy error. My problem is that, because of how protocol witness tables work, repeating protocol conformance in a subclass seems not to be redundant at all . Intuitively, in the Example3 below repeating a conformance of the parent class in the child class could restore the route from protocol extension's implementation back to child's implementation . Where am I wrong? protocol Prot { func f() func g() } extension Prot { func f(){ print("protocol extension's implementation") } func g(){ f() } } class Parent: Prot { } //Directly implementing protocol would route to a child's implementation. class Example1: Prot { func f(){ print("child's implementation")} } //Indirectly implementing protocol would route to a protocol extension's implementation. class Example2: Parent { func f(){ print("child's implementation")} } //Redundant conformance of 'Child' to protocol 'Prot' error, instead of restoring route to a child's implementation. class Example3: Parent, Prot { func f(){ print("child's implementation")} } Example1().g() Example2().g()
5
0
1.9k
Dec ’22
Can app running on Simulator exchange data with USB device connected to a Mac?
In Simulator, I can select send keyboard input to device, or get input from a microphone. Can I have I/O from other USB devices connected to a Mac? I am interested in receiving in a simulator events from a MIDI keyboard connected to a Mac (and supported by both MacOS, and iOS). There are many more possible use cases, since with DriverKit iPads can now support many more external devices.
0
0
853
Dec ’22
Can Xcode facilitate non-AWS lambda function testing and deployment?
Since WWDC'20 it is easy to test and deploy lambda functions to AWS. But can Xcode similarly facilitate workflow for cloud providers other than Amazon? There are open source solutions, like https://openwhisk.apache.org, that also support Swift. If not directly, then with some format converting scripts used for deployment, can we adapt/extend lambda testing built into Xcode?
0
0
862
Dec ’22
Bringing visual elements from imperative to declarative paradigm
UIViews can be wrapped and used in SwiftUI. But guess what other visual elements are there that can't be wrapped? Sprites! Do you thing wrapping SKNode in similar way even make sense, also with performance considerations? For a start it could bring back physics introduced in UIKit and lacking in SwiftUI, with even more options... Have you ever thought about it, and what were your thoughts?
0
0
850
Dec ’22
In SwiftUI, how to manipulate sampling rate of a gesture in time?
If increasing sampling rate isn't possible, then is the only option for "continuous" drawing repeatedly adding a bezier curve from n-2 to n-1, that takes into account n-3 and n? Are there other (easy) options to interpolate between location n-2 and n-1 not only visually, but with knowing and storing all intermediate points? Think more bitmap, less vector. Below my code and a current "uneven" result struct ContentView: View {     @State var points: [CGPoint] = []     var body: some View {         Canvas { context, size in             for point in points{                 context.draw(Image(systemName: "circle"), at: point)             }         } .gesture(             DragGesture().onChanged{ value in                 points += [value.location]             }         )     } }
0
0
1k
Dec ’22