@@ -6,34 +6,38 @@ segment of Mach-O files. It generates declarations for the classes,
66categories and protocols. This is the same information provided by
77using 'otool -ov', but presented as normal Objective-C declarations.
88
9- The latest version and information is available at:
9+ This is the unstable fork from https://github.com/nygard/class-dump .
1010
11- http://stevenygard.com/projects/class-dump
11+ The original version and information is available at:
1212
13- The source code is also available from my Github repository at:
13+ http://stevenygard.com/projects/class-dump
1414
15- https://github.com/nygard/class-dump
16-
17- "Swift support"
18- ==========
15+ Swift support
16+ -------------
1917
20- I added "Swift support" for class-dump.
18+ This version includes "Swift support" for class-dump.
2119
22- Now, this tool can dump Objective-C headers even the MachO file uses Swift and ObjC at the same time.
23- Notice, only ObjC headers can be dumped!
20+ Now, this tool can dump Objective-C headers even the Mach-O file uses Swift and Objective-C at the same time.
21+ Notice, only Objective-C headers can be dumped!
2422
2523LAST, THIS IS AN EXPERIMENTAL VERSION.
2624
27- 我为class-dump添加了"Swift支持"。
25+ Install
26+ -------
27+
28+ You can install class-dump via Homebrew.
29+
30+ brew install manicmaniac/tap/class-dump
2831
29- 现在,这个工具可以dump出可执行文件的Objective-C头文件,即使那个MachO文件同时使用了Swift和ObjC。请注意只有ObjC类的头文件可以被dump出来!
32+ Or you can build it manually.
3033
31- 最后,这只是一个试验版本。
34+ xcodebuild build -project class-dump.xcodeproj -target class-dump -configuration Release
35+ mv build/Release/class-dump /usr/local/bin/class-dump
3236
3337Usage
3438-----
3539
36- class-dump 3.5 (64 bit)
40+ class-dump 3.5-0.1.0 (64 bit)
3741 Usage: class-dump [options] <mach-o-file>
3842
3943 where options are:
7074
7175 class-dump /Dev42/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk/System/Library/Frameworks/UIKit.framework -r --sdk-root /Dev42/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk
7276
77+ Versioning rule
78+ ---------------
79+
80+ To distinguish this forked version from original one, I added version suffix after the original version string.
81+ This suffix itself follows semantic versioning.
82+
83+ For example, ` 3.5-0.1.0 ` means the original version is ` 3.5 ` and I added minor changes to it (` 0.1.0 ` ).
7384
7485License
7586-------
@@ -91,9 +102,3 @@ GNU General Public License for more details.
91102You should have received a copy of the GNU General Public License
92103along with this program; if not, write to the Free Software
93104Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
94-
95- Contact
96- -------
97-
98- You may contact the author by:
99- e-mail: nygard at gmail.com
0 commit comments