ios - How can I use class-dump to get the headers of IOHIDLib? -


it can dump runtime headers of private frameworks of ios class-dump tool. i'm looking headers of iohidevent has been moved can not find after ios 6. but, in ios 6 sdk there lib looks it:

/applications/xcode.app/contents/developer/platforms/iphoneos.platform/developer/sdks/iphoneos6.1.sdk/system/library/extensions/iohidfamily.kext/plugins/iohidlib.plugin

how can dump headers of iohidlib?

class-dump tool lets reverse engineer objective-c binaries. but, looks me iohidlib c/c++ library, class-dump won't there:

$ class-dump -h iohidlib  2013-06-14 02:55:39.104 class-dump[4676:707] unknown load command: 0x0000002a 2013-06-14 02:55:39.106 class-dump[4676:707] unknown load command: 0x0000002b 2013-06-14 02:55:39.109 class-dump[4676:707] warning: file not contain objective-c runtime information. 

luckily, iohidevent appears part of open-source part of ios. can find headers (and .cpp file) here.

i don't know you're trying it, if it's basic touch event handling, might try using gsevent. there's bit more documentation that, if search on stackoverflow.


Comments