Post

Replies

Boosts

Views

Activity

Get the title view of an editor style UINavigationItem (iOS 16+)
I'd like to match the behaviour of the new Freeform app by offering an Export as PDF function accessible from the title menu. I can't figure out how to get the actual view that displays the document menu to supply as the UIActivityViewController's popoverPresentationController source view. The Freeform app shows the PDF document sharing popover directly under the little arrow to the right of the document title, so there must be a way.
3
0
1.1k
Dec ’22
Slow framework unit test failure (~5s)
Starting from Xcode 12.4 (I think), failing unit tests in framework targets take about 5 seconds to complete. Successful tests complete almost instantly (as expected). For example, the following test:     func testExampleFailure() {         XCTFail()     } Takes 4.356 seconds to execute on my 2019 MacBook Pro: Test Case '-[FrameworkTests.FrameworkTests testExampleFailure]' failed (4.356 seconds). This seems to only affect unit tests in Framework targets (unit tests for App targets are unaffected). I have also tested this in fresh Framework template projects across multiple Macs, so it appears to be an Xcode bug. I'd hoped Xcode 13 would fix this issue, but it persists for me on Monterey. Perhaps someone could suggest a workaround?
9
7
3.7k
Oct ’22
Installing Catalina on external HD deleted all my files
Yesterday I installed the Catalina Beta 7 on an external HD that I use for photo storage as well. My photos were in a folder called Photos at the root of the hard drive. After upgrading the HD from Mojave (which I had already installed on the drive) to Catalina, I noticed that the entire photos folder (about 1TB of data) was missing.Finder still shows my external drive as having 1 TB used, so I'm assuming my files are somewhere, but I can't find them.I found in the release notes for Beta 1 (I installed Beta 7), this message:"During upgrades to macOS 10.15, files and folders stored at the root-level of a volume are moved aside to /Library/SystemMigration/History/Migration-UUID/QuarantineRoot/."However there is only a 59 KB file "Request" in that folder. It sounds like root level files are not safe during installation of Catalina, which is probably an issue for others installing on an externa drive that's also used for storage.Any suggestions for recovering my precious photos?
7
0
2.6k
Mar ’21