Button handlers cannot be private
Cast the collection (which also casts the item) by appending as Type
for annotation in selectedAnnotations as [MKAnnotation] {
view.deselectAnnotation(annotation, animated: false)
}
Interprolated strings won't parse correctly when exporting for localization. Instead use String.localizedStringWithFormat()
passing in the NSLocalizedString
as the first argument.
- Remember to configure the scheme for the language you want to test, just updating the device isn't enough.
- Clean the project if not everything is coming through.
- The
Localizable.strings
portion of the.xliff
document needs to have the<target>
node added to it.
If you have an error in your Swift code the *-Swift.h
header will not build.