-
-
Save fabb/751731fad1a5d5b7d631fcf5de2555fc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// TheAbyss.h | |
+ (NSString *)greetingMessageFromTheOtherworld; | |
// TheAbyss.m | |
+ (NSString *)greetingMessageFromTheOtherworld { | |
return nil; | |
} | |
// LonesomeWanderer.swift | |
TheAbyss.greetingMessageFromTheOtherworld().isEmpty | |
// compiles fine, but crashes at runtime with a lovely message: | |
// "fatal error: unexpectedly found nil while unwrapping an Optional value" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment