项目作者: nst

项目描述 :
iOS Objective-C标头,源自运行时内省
高级语言: Objective-C
项目地址: git://github.com/nst/iOS-Runtime-Headers.git
创建时间: 2011-01-09T13:37:14Z
项目社区:https://github.com/nst/iOS-Runtime-Headers

开源协议:

下载


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:

  1. $ git difftool 6.0 6.1 .

Sample usage

You can use the headers this way:

  1. NSBundle *b = [NSBundle bundleWithPath:@"/System/Library/PrivateFrameworks/FTServices.framework"];
  2. BOOL success = [b load];
  3. Class FTDeviceSupport = NSClassFromString(@"FTDeviceSupport");
  4. id si = [FTDeviceSupport valueForKey:@"sharedInstance"];
  5. 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