Skip to content

Instantly share code, notes, and snippets.

@motokiee
Created March 1, 2016 05:00
Show Gist options
  • Save motokiee/824b2662ac517c9cf6a7 to your computer and use it in GitHub Desktop.
Save motokiee/824b2662ac517c9cf6a7 to your computer and use it in GitHub Desktop.
Objective-Cでこんなメソッドを作って、Swiftから呼び出してみたけど空文字でクラッシュしなかった。_StringCoreの_ownerがnilだとこうなるっぽい...? #CodePiece
- (nonnull NSString*)hey {
return nil;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment