Posts

Post not yet marked as solved
2 Replies
5.6k Views
I know it's possible to set the line limit to nil, enabling a text view to grow, but is it possible to disable truncation completely? In some odd text wrapping situations, it seems the views still prefer to truncate rather than grow an additional line, especially in cases where only a partial word would wrap.
Posted
by m_bedwell.
Last updated
.
Post not yet marked as solved
0 Replies
584 Views
I've created a custom document type, and exported the UTI as well as setting the document info in my plist. I've also created a preview extension for the document, which displays properly. If I select the 'Copy to myApp' action on the action sheet, it correctly opens my application and I'm able to see the expected results, so long as I'm not using iMessages to preview the document. I've tested from the Mail app, and from the Files app successfully. When performing the action from iMessages however, my app stays in the background and does not recieve any messages (that I can determine) nor does it gain focus.I've currently set the Document Types, Exported Type UTIs, Supports Opening Documents In Place, and Application Supports iTunes File Sharing keys in the plist.Any pointers to documentation or help would be greatly appreciated as I'm not quite sure where to even begin troubleshooting this. Given that it works in other applications, but not from iMessages, I'm confident my exported UTI and document consumption is correct.
Posted
by m_bedwell.
Last updated
.
Post not yet marked as solved
7 Replies
2k Views
I am currently unable to upload an app to testflight that I was previoiusly able to. The error message states non-public api usage, and from the symbols list, I'm deducing that it is the Combine framework usage causing the problem. Are we now restricted from using testflight to manage apps linked against Combine?
Posted
by m_bedwell.
Last updated
.
Post not yet marked as solved
2 Replies
1.2k Views
Any idea if SwiftUI prevents applications from responding to further calls to application() after an app is up and running? I've a custom document type registered for an iOS test app, and 'opening' the document brings the app into focus as expected, but application(open:options:) never recieves a call to open the document. I'm unsure if there's some new security method in play (google and rtfm have revealed nothing so far), or if SwiftUI apps just never recieve/process that call. --Mike
Posted
by m_bedwell.
Last updated
.
Post marked as solved
1 Replies
965 Views
The following code is all it takes to crash an app after updating to beta 3 of Xcode. Any file that I used a ForEach construct in will now cause an application to crash, whereas they were working well before. Anyone else seeing this issue?struct RecipeView: View { var indexes: [Int] = [1,2,3,4,5] var body: some View { VStack { ForEach( indexes ) { index in Text("\(index)") } } } }
Posted
by m_bedwell.
Last updated
.
Post not yet marked as solved
0 Replies
540 Views
I've stumbled through what documentation there is, and searched through the api's to the degree they are visible. It seems an 'obvious' add to be able to interact with sharing services in SwiftUI, without having to wrap an NSViewController to gain the ability to have a NSSharingServicePicker show itself. I'm hoping I'm overthinking this, and there's a simple solution.
Posted
by m_bedwell.
Last updated
.