Post

Replies

Boosts

Views

Activity

Reply to Image development proposal
essential options such as the right back What is a "right back"? Do you mean that little left arrow button at the bottom of every screen on an Android phone? If so, just swipe to the right from the left of the screen to go back. the missing numeric line in the keyboard It's not missing; you tap the 123 button. If you feel that the numerical line should always be displayed, then can we also always have a line of symbols, too? No, because it takes up to much space. Apple has arrived at this design over many iterations, and you are the first person I've ever encountered who wants this, so I'd say they're doing fine. Touch ID isn't missing, it's not required on a device with Face ID. And you;'re showing a fundamental misunderstanding of what Face ID is. It doesn't "record your face"; it scans it with a LIDAR scanner and makes a mathematical model of it. Then, when you scan with Face ID to unlock, it creates a mathematical model of the scan and compares it to the original. If it matches, it's you. If it doesn't, it's not you. That mathematical model cannot be reverse-engineered to generate a picture of your face. It never records enough information for it to do that. And even if it did, it would only ever be stored on your device. Apple is not in the game of staling your information. Anyway... You're in the wrong place to list your issues. These are the Developer Forums, where developers of third-party apps for Apple's platforms ask each other for hints and tips on coding. These forums are not where Apple's actual developers chat about new features. If you have suggestions, you should raise each of them separately at: https://www.apple.com/feedback/
Topic: Community SubTopic: Apple Developers Tags:
Nov ’24
Reply to unexpected nil
How have you defined nextOrder? Just as an Int?? Your code seems to work properly in an existing project of mine: func abc() { var nextOrder: Int? = modelData.availableEvents.map { $0.category }.max() if nextOrder == nil { nextOrder = 0 } nextOrder! += 1 } No errors for me.
Nov ’24
Reply to cd on terminal
A few hints here: Firstly, you only have to do this once, but please type: chsh -s /bin/zsh and press Enter. That will change your shell - the environment you're in when you open the Terminal - to zsh, the new, default environment for macOS. pwd will tell you your current location. cd directoryWithoutSpaces will try to change directory (cd = change directory) to the directory called directoryWithoutSpaces inside your current location. If the directory you want to go to has spaces in it, you can either surround the directory name (not the cd command, just the directory) with double quotes, or you can 'escape' the space by putting a backslash in front of each space, so... cd "directory with spaces" will try to change directory to the directory called directory with spaces inside your current location. And cd directory\ with\ spaces will do the same thing. So, let's say you have a folder on your desktop called cheese. You open the Terminal and you type pwd to see where you are. You should be in your home directory, which will be displayed as ~/robertsantovasco. You type cd Desktop and you're in ~/robertsantovasco/Desktop. Type cd cheese and you're now in ~/robertsantovasco/Desktop/cheese. If you want to go up a level, you can type cd .. so you're now in ~/robertsantovasco/Desktop. There's a handy shortcut to go back to the directory you were just in: cd -. So, if you followed the steps above to go into ~/robertsantovasco/Desktop/cheese and back to ~/robertsantovasco/Desktop then typing cd - will put you back into ~/robertsantovasco/Desktop/cheese. This is a simple set of instructions for using the Terminal, but you likely need to do a little more in-depth reading.
Nov ’24
Reply to refreshed/updated data on widgets
Looking at your code: // Generate a timeline consisting of five entries an hour apart, starting from the current date. let currentDate = Date() for hourOffset in 0 ..< 5 { let entryDate = Calendar.current.date(byAdding: .hour, value: hourOffset, to: currentDate)! let entry = SimpleEntry(date: entryDate, configuration: configuration) entries.append(entry) } You can easily change that to update more often. You're updating once every hour for five hours. Try every 5 minutes instead. You can create a timeline for as any entries as you want, but bear in mind that too many entries in the timeline can cause your widget to go all weird. You should be safe with about 200 entries. I noticed weird behaviour when I accidentally had 2,000 entries in there. It's up to the OS to decide whether or not to update your widget, and I think there's a limit of something like 70 updates a day (can't remember where I saw that number). Also, if I were you, I'd separate the UI parts from the data parts, so move your widget views into their own files, and put the intent timeline stuff into the AppIntent.swift file. (And maybe change the "This is an example widget" stuff, and cut down on the whitespace.)
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Nov ’24
Reply to iOS 18 review
Are you talking about the app switcher? You swipe up from the bottom and can close an app? You want a way to close all apps at once? I think you have a fundamental misunderstanding of what that function does. When you exit an app or switch to another one, the app you're leaving is given a few seconds to do some cleanup before it is suspended. Those apps are put into the background and are not running. They are consuming no battery or CPU power. The images you see in that screen are snapshots of the app before it was suspended. By suspending apps you actually save battery power because many apps have to perform initial setup before you can start using them. Even though that overhead is quite small it means that if you kill an app in that screen, the app will have to do its setup when you next launch it. There is no reason to need to close all suspended apps other than some weird 'need' to have nothing in that screen.
Nov ’24
Reply to Bring back Touch Bar to MacBook Pro
These are the Developer Forums, where developers of apps for Apple's platforms ask each other for hints and tips on coding. Your product request has nothing to do with us, so I'd suggest you make your statement over at the Apple Support Forums or one of the many Apple-related discussion sites. Thanks.
Nov ’24
Reply to Game wont run.
Well then, can you ask them what the problem is, and whether they've reported it to Apple? If they haven't they should. If they'll let you know what the issue is, you can raise the issue yourself via the usual site: https://feedbackassistant.apple.com/ then post the FB number here.
Topic: Community SubTopic: Apple Developers Tags:
Nov ’24
Reply to Software
You really - REALLY - need to make use of the Feedback website, and stop spamming these Developer Forums... These are the Developer Forums, where developers of third-party apps for Apple's platforms ask each other for hints and tips on coding. These forums are not where Apple's actual developers chat about new features. If you have a suggestion, you should raise it at: https://www.apple.com/feedback/ Thank you.
Topic: Community SubTopic: Apple Developers Tags:
Nov ’24
Reply to Mac book air m1 2020 carshed
Oh noes! These are the Developer Forums, where developers of apps for Apple's platforms ask each other for hints and tips on coding. Your question is more of a product support one, so I'd suggest you ask it over at the Apple Support Forums. Thanks.
Nov ’24
Reply to Image development proposal
essential options such as the right back What is a "right back"? Do you mean that little left arrow button at the bottom of every screen on an Android phone? If so, just swipe to the right from the left of the screen to go back. the missing numeric line in the keyboard It's not missing; you tap the 123 button. If you feel that the numerical line should always be displayed, then can we also always have a line of symbols, too? No, because it takes up to much space. Apple has arrived at this design over many iterations, and you are the first person I've ever encountered who wants this, so I'd say they're doing fine. Touch ID isn't missing, it's not required on a device with Face ID. And you;'re showing a fundamental misunderstanding of what Face ID is. It doesn't "record your face"; it scans it with a LIDAR scanner and makes a mathematical model of it. Then, when you scan with Face ID to unlock, it creates a mathematical model of the scan and compares it to the original. If it matches, it's you. If it doesn't, it's not you. That mathematical model cannot be reverse-engineered to generate a picture of your face. It never records enough information for it to do that. And even if it did, it would only ever be stored on your device. Apple is not in the game of staling your information. Anyway... You're in the wrong place to list your issues. These are the Developer Forums, where developers of third-party apps for Apple's platforms ask each other for hints and tips on coding. These forums are not where Apple's actual developers chat about new features. If you have suggestions, you should raise each of them separately at: https://www.apple.com/feedback/
Topic: Community SubTopic: Apple Developers Tags:
Replies
Boosts
Views
Activity
Nov ’24
Reply to onMove bug
I'm not sure where to report this, so here it is. The usual place: https://www.apple.com/feedback/
Topic: UI Frameworks SubTopic: SwiftUI
Replies
Boosts
Views
Activity
Nov ’24
Reply to unexpected nil
How have you defined nextOrder? Just as an Int?? Your code seems to work properly in an existing project of mine: func abc() { var nextOrder: Int? = modelData.availableEvents.map { $0.category }.max() if nextOrder == nil { nextOrder = 0 } nextOrder! += 1 } No errors for me.
Replies
Boosts
Views
Activity
Nov ’24
Reply to cd on terminal
A few hints here: Firstly, you only have to do this once, but please type: chsh -s /bin/zsh and press Enter. That will change your shell - the environment you're in when you open the Terminal - to zsh, the new, default environment for macOS. pwd will tell you your current location. cd directoryWithoutSpaces will try to change directory (cd = change directory) to the directory called directoryWithoutSpaces inside your current location. If the directory you want to go to has spaces in it, you can either surround the directory name (not the cd command, just the directory) with double quotes, or you can 'escape' the space by putting a backslash in front of each space, so... cd "directory with spaces" will try to change directory to the directory called directory with spaces inside your current location. And cd directory\ with\ spaces will do the same thing. So, let's say you have a folder on your desktop called cheese. You open the Terminal and you type pwd to see where you are. You should be in your home directory, which will be displayed as ~/robertsantovasco. You type cd Desktop and you're in ~/robertsantovasco/Desktop. Type cd cheese and you're now in ~/robertsantovasco/Desktop/cheese. If you want to go up a level, you can type cd .. so you're now in ~/robertsantovasco/Desktop. There's a handy shortcut to go back to the directory you were just in: cd -. So, if you followed the steps above to go into ~/robertsantovasco/Desktop/cheese and back to ~/robertsantovasco/Desktop then typing cd - will put you back into ~/robertsantovasco/Desktop/cheese. This is a simple set of instructions for using the Terminal, but you likely need to do a little more in-depth reading.
Replies
Boosts
Views
Activity
Nov ’24
Reply to refreshed/updated data on widgets
Looking at your code: // Generate a timeline consisting of five entries an hour apart, starting from the current date. let currentDate = Date() for hourOffset in 0 ..< 5 { let entryDate = Calendar.current.date(byAdding: .hour, value: hourOffset, to: currentDate)! let entry = SimpleEntry(date: entryDate, configuration: configuration) entries.append(entry) } You can easily change that to update more often. You're updating once every hour for five hours. Try every 5 minutes instead. You can create a timeline for as any entries as you want, but bear in mind that too many entries in the timeline can cause your widget to go all weird. You should be safe with about 200 entries. I noticed weird behaviour when I accidentally had 2,000 entries in there. It's up to the OS to decide whether or not to update your widget, and I think there's a limit of something like 70 updates a day (can't remember where I saw that number). Also, if I were you, I'd separate the UI parts from the data parts, so move your widget views into their own files, and put the intent timeline stuff into the AppIntent.swift file. (And maybe change the "This is an example widget" stuff, and cut down on the whitespace.)
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Nov ’24
Reply to Question about installing and migrating apps from the App Store for apps deleted by developers
This looks like some AI nonsense.
Replies
Boosts
Views
Activity
Nov ’24
Reply to iOS 18 review
Are you talking about the app switcher? You swipe up from the bottom and can close an app? You want a way to close all apps at once? I think you have a fundamental misunderstanding of what that function does. When you exit an app or switch to another one, the app you're leaving is given a few seconds to do some cleanup before it is suspended. Those apps are put into the background and are not running. They are consuming no battery or CPU power. The images you see in that screen are snapshots of the app before it was suspended. By suspending apps you actually save battery power because many apps have to perform initial setup before you can start using them. Even though that overhead is quite small it means that if you kill an app in that screen, the app will have to do its setup when you next launch it. There is no reason to need to close all suspended apps other than some weird 'need' to have nothing in that screen.
Replies
Boosts
Views
Activity
Nov ’24
Reply to Bring back Touch Bar to MacBook Pro
These are the Developer Forums, where developers of apps for Apple's platforms ask each other for hints and tips on coding. Your product request has nothing to do with us, so I'd suggest you make your statement over at the Apple Support Forums or one of the many Apple-related discussion sites. Thanks.
Replies
Boosts
Views
Activity
Nov ’24
Reply to App Rejection for iOS 18.1 issue I cant replicate
There is no "Enter as guest" button on there. If you mean the "Login as Gest User" - please check your spelling here! - then perhaps it's because it's in the toolbar, and the toolbar is intercepting the presses?
Replies
Boosts
Views
Activity
Nov ’24
Reply to Duplicate a project for testing
Huh? Two ways: Close Xcode. Copy the folder and give it a different name. Open project from that folder. Implement tests in the original project. (Recommended)
Replies
Boosts
Views
Activity
Nov ’24
Reply to Game wont run.
Well then, can you ask them what the problem is, and whether they've reported it to Apple? If they haven't they should. If they'll let you know what the issue is, you can raise the issue yourself via the usual site: https://feedbackassistant.apple.com/ then post the FB number here.
Topic: Community SubTopic: Apple Developers Tags:
Replies
Boosts
Views
Activity
Nov ’24
Reply to iPhone 15 Pro Magsafe Problem
Does your Anker thing charge any other iPhone via MagSafe? If so, then yes the problem is in your iPhone. If it doesn't, then it's clearly the Anker thing that's broken. Can you find out?
Topic: Community SubTopic: Apple Developers Tags:
Replies
Boosts
Views
Activity
Nov ’24
Reply to ImageRenderer rounds points coordinates to integer values
I know you've answered this, but it would help others in future who might come across this post, for you to post your original non-working code, and the fixed code that works.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Nov ’24
Reply to Software
You really - REALLY - need to make use of the Feedback website, and stop spamming these Developer Forums... These are the Developer Forums, where developers of third-party apps for Apple's platforms ask each other for hints and tips on coding. These forums are not where Apple's actual developers chat about new features. If you have a suggestion, you should raise it at: https://www.apple.com/feedback/ Thank you.
Topic: Community SubTopic: Apple Developers Tags:
Replies
Boosts
Views
Activity
Nov ’24
Reply to Mac book air m1 2020 carshed
Oh noes! These are the Developer Forums, where developers of apps for Apple's platforms ask each other for hints and tips on coding. Your question is more of a product support one, so I'd suggest you ask it over at the Apple Support Forums. Thanks.
Replies
Boosts
Views
Activity
Nov ’24