Post

Replies

Boosts

Views

Activity

Does anyone at Apple do quality control anymore?
Big Sur Beta 5 won't install for me or many others it seems. I'm on a 2017 iMac 5k. The iOS 14 betas have been absolutely terrible and my 3rd gen Apple Watch claims I have to delete files in order to install the latest beta on that. I have 0 songs, 15 phantom photos (no idea how to get rid of those) and just 6 apps. The update needs 2.9GB of space and despite having nothing on the watch really I only have 2.7GB free. There is no way for me to even clear some more space. I wouldn't mind or complain if I wasn't paying apple $99 to be a developer. Not to mention the thousands of $$ paid for the hardware. The very minimum we deserve is these betas are actually able to be installed.
0
0
317
Aug ’20
SwiftUI. Is there a standard?
In iOS when a button can be actioned it is coloured accordingly so the user knows to tap. This is a standard across the platform. Is there a standard for long press gestures? In the case of swiftUI the 3D Touch/ long press can show a contextMenu. How best to indicate to a user to long press? Is there a standard colour for example to show when an element is to be long pressed?
2
0
734
Feb ’20
Ok Apple how to dismiss a SwiftUI Modal
I use UIHostingController inside my UIViewController to present a SwiftUI View. I have a button in that view which I want to tap and dismiss the presented view. How do I dimiss SwiftUI views when presented in a UIHostingController...{ let vc = UIHostingController(rootView: SwiftUIView()) present(vc, animated: true, completion: nil) }struct SwiftUIView : View { var body: some View { CustomButton() } }struct CustomButton: View { var body: some View { Button(action: { self.buttonAction() }) { Text(buttonTitle) } } func buttonAction(){ //dismiss the SwiftUIView when this button pressed } }
1
0
4.8k
Aug ’19
PDFKit memory issue
I have a loop that iterates all pages in a PDF and saves parts of its content into core data. Problem seems to be that each PDFPage takes up around 30mb+ of memory. This memory is not retuned when the loop moves to ther next page. with large enough PDF in can cause out of memory crash.At first I thought it was something in the loop holidng a reference. However when I dont run the loop, or attempt to save any of the PDFPage contents and simply swipe through the PDFPages of the PDF, the memory still goes up 30mb + per page. So my question is how to clear the previous page from memory when no longer the page in view?I would add code but seems you cant pste into here so jist know its basic PDFKit code to load a pdf url
4
0
2.4k
Feb ’18
URLRequest and gzip
From the Internet I read that URLRequest sends an Accept-Encoding header by default. I also read that URLSession auto decompresses any data that’s returned compressed. However these are what the internet says. I go to the Apple docs and read the URLSession & URLRequest sections but I can’t find where does it say that it sends the Accept-Encoding headers by default or that it auto decompresses compressed data. I know it does the latter as I am able to parse compressed data and have to do nothing to decompress. Just tell me where this stuff is documented by Apple so I can read about it.
1
0
2.6k
Aug ’17