Posts

Post not yet marked as solved
1 Replies
517 Views
I lot of the frustration I'm having with trying to do simple things in SwiftUI seems to have to do with the complexity of the types of values involved. Type inference failing, and I'm unable to come up with the right types myself. Error messages not localized to where the actual mistake is!Sure, one can blame me for not completely understanding this, but this is not user friendly.Why does View need to be a generic protocol? Why all the complexity? Why the hard-to-understand error messages?Mind you: I've been coding in swift for several years now, so while I'm not an expert, I'm no novice either.
Posted
by Audulus.
Last updated
.
Post not yet marked as solved
3 Replies
954 Views
For some reason, my app cannot create documents in the "On My iPhone" section in its file browser.I'm using UIDocumentBrowserViewController. UISupportsDocumentBrowser is true in my Info.plist.I see folders for various other apps under "On My iPhone" but there isn't one present for mine.I can create documents in iCloud drive.Is there a setting that enables document creation "On My iPhone." Why would this ever be disabled? (ARGH!)
Posted
by Audulus.
Last updated
.
Post not yet marked as solved
0 Replies
2.3k Views
auval is reporting:Cocoa Views Available: 0Anyone know how to troubleshoot this? I've started with the XCode AUv3 template, and then added my own AudioUnit, which I already use in my stand-alone app. Validation passes otherwise, but I can't load the UI in Logic.
Posted
by Audulus.
Last updated
.
Post not yet marked as solved
0 Replies
540 Views
Is there a way to get a view's frame after layout? I'd like to render a line connecting two views after layout has positioned them.It's hard to upload an image in this utterly substandard forum, so imagine two boxes with a line drawn from the center of one to the center of the other, as you might see in a node graph.thanks!
Posted
by Audulus.
Last updated
.
Post not yet marked as solved
0 Replies
852 Views
Is there a way to get the vertex positions of the triangle in the fragment function, when the mesh is drawn with drawIndexedPrimitives?Seems like I'd have to use drawPrimitives, do the indexing within the vertex function (performance hit), and send the vertex positions on to the fragment stage.
Posted
by Audulus.
Last updated
.