Skip to content

Xcode 8+ extension for adding NS_ASSUME_NONNULL macros automatically

License

Notifications You must be signed in to change notification settings

sunhr/LWAssumeNonnull

Repository files navigation

LWAssumeNonnull

Build Status

Xcode 8+ extension for adding NS_ASSUME_NONNULL_BEGIN and NS_ASSUME_NONNULL_END macros automatically

Feature

  • Add NS_ASSUME_NONNULL_BEGIN and NS_ASSUME_NONNULL_END macros in your .h files

image

  • Add default categories in your .m and .mm files

image

Building

  1. Setup Code Signing for Target LWAssumeNonnullContainer and LWAssumeNonnull by applying your own Team
  2. Build Target LWAssumeNonnull
  3. Copy all app and appex products to your Application folder
  4. Open LWAssumeNonnullContainer.app then close it
  5. Open Preference - Extension of macOS, make sure LWAssumeNonnull is selected as Xcode Source Editor
  6. Restart Xcode and enjoy it, add a shortcut if you like

About

Xcode 8+ extension for adding NS_ASSUME_NONNULL macros automatically

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published