Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 550 Bytes

README.md

File metadata and controls

16 lines (12 loc) · 550 Bytes

nstool

Outputs content for a header file defining macros that alias class, symbol and protocol names.

This allows an objective-c library to be embedded privately in other libraries without causing a name collision if a library user also links to that library.

Arguments:

  • library-path: Path to a .dylib or .a library
  • namespace-suffix: String appended to all symbol names.
  • filtered-prefixes: Optional list of prefixes to classes and functions that should not be aliased (eg. NS and UI).

Inspired by a similar tool in NimbusKit.