Hi, you can do that :
let scoreDecoration: String
if teamScore > 10 {
scoreDecoration = "🎉"
} else {
scoreDecoration = ""
}
Or use ternary operator :
let scoreDecoration = teamScore > 10 ? "🎉" : ""
Post
Replies
Boosts
Views
Activity
Hi,
Yes you could add a subscription feature later, and implement an account creation for your user is not something mandatory, its your own decision.
Hi,
App Group is designed to be a shared container for multiple apps from the same team.
It's an app capability so I don't think you can apply it to a compiled binary framework.
Hello,
You need a signed iOS firmware (aka .ipsw file) to restore your device at a specific version.
But when a new iOS version is released, older version is quickly unsigned (quickly mean few days after newly version is released).
Moreover, restoration will lead to a loose of data.
You should have a backup.
Hi,
It seems that you want implement password autofill feature.
But I think you have to implement app’s associated domains before.
You should take a look at https://developer.apple.com/documentation/security/password_autofill/
Hello,
Unfortunately Tap to Pay is currently only available in the United States and Taiwan.
Hi,
On Apple developer website you can download older versions of Apple software (including Xcode) :
https://developer.apple.com/download/all/
Same behavior here (on iPad Pro 2020), delay occur only with Xcode run.
Hello,
I confirm that Agent Role (aka Account Holder) is unique in your developer account but you have multiple other roles available to grant the right access to the right people in your organization (and all of these roles can be attribute to as much as necessary collaborators)
In your case, Administrator roles can be given to multiples people and give nearly all access to your account.
For references to all roles and permission :
https://developer.apple.com/support/roles/
Hi,
OpenGL is deprecated since years now : macOS Mojave (2018), but no kill date is known.
But yeah, it works on M1 (natively for arm64 apps or via Rosetta for x86 apps with some performances drawbacks).
I can't assure that it the same for OpenCL.
Note that "new" app technologies (like Catalyst for example) does not work with Open GL.
Does apps created during small business program will have 30% fees or only future apps ?
15% fees apply to all apps distribute with your account during all the time your are under Small Business Program.
App creation date is not related to fees, the only thing to know is :
15% fees if you are under Small Business Program
30% otherwise (excluding subscription in-app exceptions if more than 1 year that is 15%).
The program stop as soon as the 1million dollars are reached or after a year of small business program ?
The program stop as soon as the 1 million USD threshold is reached, so first million will be at 15%, next at 30% fees.
The threshold is an account threshold not an app threshold.
For all informations, refers to https://developer.apple.com/app-store/small-business-program/
Hello,
According to https://developer.apple.com/support/app-account/
Store credit is not accepted as a form of payment for Apple Developer Program memberships.
Permanently does not really exist outside on the Appstore : to install an app, it must be signed and all certificates have an expiration date, with no exception.
It seems correct to put it in UIButton extension, but I am not sure that traitCollectionDidChange is a solution because you are not in your app when trait changement occurred and so your code is not executed.
Using sort of dynamic color seems to be a better option.
Define a light and dark color in your Color Set if you use Asset Catalog or use UIColor init(dynamicProvider:) initializer.
Something like this :
static var myBorderColor: UIColor {
if #available(iOS 13.0, *) {
return UIColor { (traits) -> UIColor in
// Return one of two colors depending on light or dark mode
return traits.userInterfaceStyle == .dark ?
UIColor(red: 0.5, green: 0.4, blue: 0.3, alpha: 1) :
UIColor(red: 0.3, green: 0.4, blue: 0.5, alpha: 1)
}
} else {
// iOS 12 and earlier, no dark mode
return UIColor(red: 0.3, green: 0.4, blue: 0.5, alpha: 1)
}
}
}
In the Testflight tab, you can watch all the builds that you have upload.