Skip to content
forked from theos/headers

Headers. Not for documents. Not the opposite of footers.

License

Notifications You must be signed in to change notification settings

xieHugo/headers

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The headers that HASHBANG Productions uses. Headers are only created for classes we need, and only methods that we use are added to them. This is due to the large number of classes and methods that are broken in class dumps - this way, we manually set up the headers and they are guaranteed to work.

Code rules

  • Create headers only for what you use.

  • Follow the existing coding style.

  • Singleton (sharedInstance) methods should return instancetype.

  • Don't just copy and paste lines from class-dumps - replace id with the appropriate class. Also change arg1 and the like, or in some cases class-dump-z's guessed argument names, to something more appropriate. Cycript is helpful here:

      $ cycript -p SpringBoard
      cy# [SBBaconController sharedInstance].baconCurrentlyBeingEaten.class
      @"SBBacon"
    

    Additionally, keep ARM64 support in mind - float should become CGFloat, int should become NSInteger, and unsigned should become NSUInteger. This is especially important when using the headers as reference for hooking.

  • Any headers from an open-source library can be included here, but please note its license here in the readme.

  • Pull request your changes back to this repo so others can benefit. Optional but we’d appreciate it!

About

Headers. Not for documents. Not the opposite of footers.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 80.8%
  • Objective-C 14.0%
  • C++ 5.2%