Post

Replies

Boosts

Views

Activity

Reply to Homebrew and Xcode
Fear not. Homebrew will uninstall cleanly, as you have found. Xcode is supplied by Apple... I think we can assume that Apple are a trusted source? You can uninstall Xcode by dragging it's icon (from Applications) to the Trash. If you have used Xcode (before uninstalling it), then it may have created some folders, elsewhere on your drive... ...but unless you are pretty obsessive about these things, they can be safely ignored. Alternatively, a quick web search should uncover a full list of any extra Xcode files and folders, that you can safely delete, if you want to.
Apr ’22
Reply to Xcode - segue between table and detail view
self.navigationController?.pushViewController(vc!, animated: true) Force-unwrapping is dangerous. Make that your vc is not nil, before you push it. If it is nil, then solve that problem. e.g. if let vc = storyboard?.instantiateViewController(withIdentifier: "ActionDetailViewController") as? ActionDetailViewController { /// setup vc... self.navigationController?.pushViewController(vc, animated: true) } else { print("Error: couldn't instantiate ActionDetailViewController") }
Mar ’22
Reply to Universal Control and Extended display to Middle Aged iMacs.
Universal Control document, including "Supported Devices": https://support.apple.com/en-us/HT212757 Specifically: iMac introduced in 2017 or later, plus iMac (Retina 5K, 27-inch, Late 2015) extending the display to my late 2015 iMac to use it as a secondary 5k display is still not a reality. It sounds like this should work... ...so it might be worth double-checking that everything is set up correctly (as explained in that same link).
Topic: Community SubTopic: Apple Developers Tags:
Mar ’22
Reply to Blocking screenshots and recordings in app
It is not possible to prevent screenshots and screen recording on iOS. And yet, ScreenShieldKit seems to have achieved this! That suggests, at the least, that it is very difficult, and there is no "simple" coding solution. I suggest that you investigate ScreenShieldKit, and see if their pricing model suits your needs (depending on how important this feature is, for your app).
Topic: App & System Services SubTopic: Core OS Tags:
Mar ’22
Reply to How to take screenshot when you don't have the device
It sounds like your tasks are: Open the project in Xcode Run it on a Simulator From the Simulator, take the screenshots you need You could make it easier for people to help you, by posting some more information: What platform does the app run on (e.g. macOS, tvOS, watchOS, iOS, iPadOS)? How was the app developed (e.g. Xcode project using Swift, or...)? Can you successfully open the project in Xcode?
Mar ’22
Reply to Homebrew and Xcode
Fear not. Homebrew will uninstall cleanly, as you have found. Xcode is supplied by Apple... I think we can assume that Apple are a trusted source? You can uninstall Xcode by dragging it's icon (from Applications) to the Trash. If you have used Xcode (before uninstalling it), then it may have created some folders, elsewhere on your drive... ...but unless you are pretty obsessive about these things, they can be safely ignored. Alternatively, a quick web search should uncover a full list of any extra Xcode files and folders, that you can safely delete, if you want to.
Replies
Boosts
Views
Activity
Apr ’22
Reply to Xcode Download does not work > says wrong OS Version
Xcode 13.3 Release Notes: "Xcode 13.3 requires a Mac running macOS Monterey 12 or later." https://developer.apple.com/documentation/xcode-release-notes/xcode-13_3-release-notes Your MacBook is able to run Monterey, so you would need to update to Monterey first, then install Xcode.
Replies
Boosts
Views
Activity
Apr ’22
Reply to Send SMS and MMS from app
Have a look at MFMessageComposeViewController See https://developer.apple.com/documentation/messageui/mfmessagecomposeviewcontroller
Replies
Boosts
Views
Activity
Apr ’22
Reply to Build succeeded but App crashes -Thread 1: must pass a class of kind UITableViewCell Ask Question Asked today Modifie
Does not crash for me. To see the "Log Out" text, I had to change your return UITableViewCell() to return cell Xcode 13.3 (13E113) Tip: keep it to one question per thread.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Mar ’22
Reply to GPS speed received is 0 even though the device is moving
speed "Because the actual speed can change many times between the delivery of location events, use this property for informational purposes only." i.e. "speed" is not always literally correct You should also check "speedAccuracy" "When this property contains a negative number, the value in the speed property is invalid."
Replies
Boosts
Views
Activity
Mar ’22
Reply to Can't conform to NSViewRepresentable
Both examples build cleanly for me (in a new macOS SwiftUI project). (I have to supply example 1 with a dummy implementation of HFTextView) Xcode 13.3 (13E113)
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’22
Reply to Attach magnetically an object in SwiftUI
This is a repeat question.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’22
Reply to Getting the following error when trying to fetch a remote image.
Your link is dodgy. The website has a certificate that is not valid.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Mar ’22
Reply to Universal Control and Extended display to Middle Aged iMacs.
Interestingly, the list of iMacs that can connect to the new Studio Display includes the "2017 or later", but not your "Retina 5K, 27-inch, Late 2015". I wonder if this might be related, and the "Late 2015" is missing something critical?
Topic: Community SubTopic: Apple Developers Tags:
Replies
Boosts
Views
Activity
Mar ’22
Reply to AR Smart Signage on Cylindrical Surface
Repeated posting of what appears to be an advertisement. Reported as spam.
Replies
Boosts
Views
Activity
Mar ’22
Reply to Xcode - segue between table and detail view
self.navigationController?.pushViewController(vc!, animated: true) Force-unwrapping is dangerous. Make that your vc is not nil, before you push it. If it is nil, then solve that problem. e.g. if let vc = storyboard?.instantiateViewController(withIdentifier: "ActionDetailViewController") as? ActionDetailViewController { /// setup vc... self.navigationController?.pushViewController(vc, animated: true) } else { print("Error: couldn't instantiate ActionDetailViewController") }
Replies
Boosts
Views
Activity
Mar ’22
Reply to Universal Control and Extended display to Middle Aged iMacs.
Universal Control document, including "Supported Devices": https://support.apple.com/en-us/HT212757 Specifically: iMac introduced in 2017 or later, plus iMac (Retina 5K, 27-inch, Late 2015) extending the display to my late 2015 iMac to use it as a secondary 5k display is still not a reality. It sounds like this should work... ...so it might be worth double-checking that everything is set up correctly (as explained in that same link).
Topic: Community SubTopic: Apple Developers Tags:
Replies
Boosts
Views
Activity
Mar ’22
Reply to Blocking screenshots and recordings in app
It is not possible to prevent screenshots and screen recording on iOS. And yet, ScreenShieldKit seems to have achieved this! That suggests, at the least, that it is very difficult, and there is no "simple" coding solution. I suggest that you investigate ScreenShieldKit, and see if their pricing model suits your needs (depending on how important this feature is, for your app).
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Mar ’22
Reply to How to take screenshot when you don't have the device
It sounds like your tasks are: Open the project in Xcode Run it on a Simulator From the Simulator, take the screenshots you need You could make it easier for people to help you, by posting some more information: What platform does the app run on (e.g. macOS, tvOS, watchOS, iOS, iPadOS)? How was the app developed (e.g. Xcode project using Swift, or...)? Can you successfully open the project in Xcode?
Replies
Boosts
Views
Activity
Mar ’22
Reply to PreviewProvider view initializer compiler error with @Binding
Try this: struct RootView_Previews: PreviewProvider {     static var previews: some View {         let thingToPreview = Thing()         RootView(thingToUse: .constant(thingToPreview))     } }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’22