nst/iOS-Runtime-Headers

iOS Objective-C headers as derived from runtime introspection

Objective-C

7,972

67 commits

updated May 17, 2022

See the code

README

Dynamically Generated iOS Headers

Here are iOS Objective-C headers as derived from runtime introspection.

The headers were generated using RuntimeBrowser for iPhone.

You can search the headers with github search:

https://github.com/search?type=Code&q=repo:nst/iOS-Runtime-Headers+hack

Diffs

You can compare versions based on their tags, see the tags page:

$ git difftool 6.0 6.1 .

Sample usage

You can use the headers this way:

NSBundle *b = [NSBundle bundleWithPath:@"/System/Library/PrivateFrameworks/FTServices.framework"];
BOOL success = [b load];

Class FTDeviceSupport = NSClassFromString(@"FTDeviceSupport");
id si = [FTDeviceSupport valueForKey:@"sharedInstance"];

NSLog(@"-- %@", [si valueForKey:@"deviceColor"]);

Timeline

  • Green == public
  • Red == private
  • Blue == dylib

The code to draw this picture is in https://github.com/nst/RuntimeBrowser/tree/master/tools/ios_headers_history.

iOS Frameworks

Nicolas Seriot

nst/iOS-Runtime-Headers

iOS Objective-C headers as derived from runtime introspection

Objective-C

7,972

67 commits

updated May 17, 2022

See the code

README

Dynamically Generated iOS Headers

Here are iOS Objective-C headers as derived from runtime introspection.

The headers were generated using RuntimeBrowser for iPhone.

You can search the headers with github search:

https://github.com/search?type=Code&q=repo:nst/iOS-Runtime-Headers+hack

Diffs

You can compare versions based on their tags, see the tags page:

$ git difftool 6.0 6.1 .

Sample usage

You can use the headers this way:

NSBundle *b = [NSBundle bundleWithPath:@"/System/Library/PrivateFrameworks/FTServices.framework"];
BOOL success = [b load];

Class FTDeviceSupport = NSClassFromString(@"FTDeviceSupport");
id si = [FTDeviceSupport valueForKey:@"sharedInstance"];

NSLog(@"-- %@", [si valueForKey:@"deviceColor"]);

Timeline

  • Green == public
  • Red == private
  • Blue == dylib

The code to draw this picture is in https://github.com/nst/RuntimeBrowser/tree/master/tools/ios_headers_history.

iOS Frameworks

Nicolas Seriot

Significant stargazers

(top 24 of 34)

Aman Karmani

3,108 followers · starred May 2026

Samuel Giddins

1,053 followers · starred Nov 2014

JP Simard

2,004 followers · starred Nov 2014

Norio NOMURA

292 followers · starred Jan 2011