-
Notifications
You must be signed in to change notification settings - Fork 218
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Match nullability specifiers of NSObject
If you have the `CLANG_WARN_NULLABLE_TO_NONNULL_CONVERSION` warning enabled, the init/new methods on Valet produce the following warning: ``` Valet.framework/Headers/VALValet.h:78:1: Conflicting nullability specifier on return types, 'nullable' conflicts with existing specifier 'nonnull' Valet.framework/Headers/VALValet.h:79:1: Conflicting nullability specifier on return types, 'nullable' conflicts with existing specifier 'nonnull' ``` Additionally, since `[NSObject init]` is now declared as not returning nil, I’ve removed the unneeded nullabillty checks from the existing initializers.
- Loading branch information
1 parent
44754d8
commit 444e535
Showing
5 changed files
with
46 additions
and
52 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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