Skip to content

Generates a header file of prefix macros suitable for namespacing an objective-c library

Notifications You must be signed in to change notification settings

chrisdevereux/nstool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Generates a header file of prefix macros suitable for namespacing an objective-c library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages