Post

Replies

Boosts

Views

Activity

Reply to Popping application from background state
Typically, you would use a Notification. When the user responds to the notification, that can launch your app, and trigger an action. (Note though, it is also possible for the user to dismiss the notification, and not launch your app.) Other techniques (than Notification) might be possible, but as I understand it, Notification is the only "legal" one, and any other method would risk App Store rejection.
Topic: App & System Services SubTopic: Core OS Tags:
Dec ’21
Reply to Result of 'Text' initializer is unused
my goal is to change the text "hello" to number 1 when I click on it Your code is a long way from achieving that. It may be best to work through some tutorials first? Are you studying anything, at the moment? (There is no point my just writing the solution for you, as I think your current code demonstrates a number of misunderstandings.)
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Dec ’21
Reply to HSplitView of Lists initial layout
Your code works as expected, when I run it (as your screenshot 2). Preview shows the first List (as your screenshot 1). I would suggest changing the "HSplitView" to an "HStack", as that seems to make both the app and the Preview work.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Dec ’21
Reply to Result of 'Text' initializer is unused
Your code does not compile, as you have not defined "Number" The actual error is "Cannot find 'Number' in scope".
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Dec ’21
Reply to App not full screen on iPad mini 6
Did you try clearing the contents of the Derived Data folder? Product > Clean Build Folder Or the more drastic version Quit Xcode Delete the contents of the "Derived Data" folder Run the app again
Topic: App & System Services SubTopic: Hardware Tags:
Replies
Boosts
Views
Activity
Dec ’21
Reply to App not full screen on iPad mini 6
It might be worth re-creating a new nib file, using Xcode 13?
Topic: App & System Services SubTopic: Hardware Tags:
Replies
Boosts
Views
Activity
Dec ’21
Reply to Xcode 13.2 - Preview stops working with SwiftUI List
I think you will need to share the code to ArticleRow, for anyone to be able to help you with this.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Dec ’21
Reply to Geolocation Rules
No minimum, you can set whatever you like.
Replies
Boosts
Views
Activity
Dec ’21
Reply to Popping application from background state
Typically, you would use a Notification. When the user responds to the notification, that can launch your app, and trigger an action. (Note though, it is also possible for the user to dismiss the notification, and not launch your app.) Other techniques (than Notification) might be possible, but as I understand it, Notification is the only "legal" one, and any other method would risk App Store rejection.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Dec ’21
Reply to Do I need to have macos 12.x on my machine to build macos app that can run on 12.x
While it might be technically possible, it might not be wise. Could you be sure that the app would work correctly/reliably on 12.x, without actually ever running it on 12.x? It would be a bit like developing an iOS app using only the Simulator, but not an actual device. Possible(?), but not advisable.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Dec ’21
Reply to Result of 'Text' initializer is unused
my goal is to change the text "hello" to number 1 when I click on it Your code is a long way from achieving that. It may be best to work through some tutorials first? Are you studying anything, at the moment? (There is no point my just writing the solution for you, as I think your current code demonstrates a number of misunderstandings.)
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Dec ’21
Reply to ContentView doesn't preview
I suggest you post your "ContentView" code, then it may be possible to say why it doesn't preview.
Replies
Boosts
Views
Activity
Dec ’21
Reply to Xcode 13 Document Types pane bugged. Missing fields; Text is upside down.
I reported the upside-down text issue here: https://developer.apple.com/forums/thread/691718 I filed a feedback, ref: FB9684421 I haven't had a response from Apple. The original problem was random, and has not happened (for me) on the latest Xcode (13.2.1)
Replies
Boosts
Views
Activity
Jan ’22
Reply to Xcode 13 doesnt have Objective C option?
File > New > Project macOS > Command Line Tool Language: Objective-C or File > New > Project macOS > App Interface: Storyboard ( or XIB, but if you choose SwiftUI, language must be "Swift") Language: Objective-C
Topic: Programming Languages SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jan ’22
Reply to Reserving a new App name
Upload an early build to the App Store. Submitting to TestFlight should make sure (but may not be required).
Replies
Boosts
Views
Activity
Jan ’22
Reply to Communication with iphone hardware via USB cable
Do you have a question?
Topic: App & System Services SubTopic: Hardware Tags:
Replies
Boosts
Views
Activity
Jan ’22
Reply to Where to begin? Help with the following musician app idea for personal use:
Was that helpful, @modern?
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jan ’22