mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
The frontend option -split-objc-selectors splits the first part of an Objective-C selector into both a function name and the first parameter name at the last preposition. For example, this Objective-C method: - (NSString *)stringByPaddingToLength:(NSUInteger)newLength withString:(NSString *)padString startingAtIndex:(NSUInteger)padIndex is imported as func stringByPadding toLength(newLength: Int) withString(padString: String) startingAtIndex(padIndex: Int) -> String Swift SVN r15156
27 KiB
27 KiB