0
J'utilise swift 4.0 pour réécrire main.swift de mon application iOS. Et ceci est mon main.swift:comment convertir UnsafeMutablePointer <UnsafeMutablePointer <Int8>?> En UnsafeMutablePointer <UnsafeMutablePointer <Int8>>!
UIApplicationMain(CommandLine.argc,
CommandLine.unsafeArgv
NSStringFromClass(MyAPP.self),
NSStringFromClass(AppDelegate.self))
il y a une erreur de compilation ici:
Cannot convert value of type 'UnsafeMutablePointer<UnsafeMutablePointer<Int8>?>' to expected argument type 'UnsafeMutablePointer<UnsafeMutablePointer<Int8>>!'
Quelqu'un sait comment convertir UnsafeMutablePointer<UnsafeMutablePointer<Int8>?>
-UnsafeMutablePointer<UnsafeMutablePointer<Int8>>!
ici?
Il fonctionne pour moi, Merci beaucoup. – archerLj