Code/HelloFuseCarbon: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 4: | Line 4: | ||
at this point it's several revisions out of date, but it'll get you started. | at this point it's several revisions out of date, but it'll get you started. | ||
Goodness included: | |||
* A complete "hello world" Fuse project using Carbon | |||
* a CFileRef object: powerful abstraction on FSRef / full path / Alias records / Directories, extremely useful, you have to see it | |||
* A SuperString object: a very *very* powerful abstraction on strings. Compatible with CFStrings, HFSUniStr255, pure unicode buffer, c-strings, p-strings, std::strings, OSType, float / integer, any kind of encoding, any kind of converting, eg: to utf8, 16, 32, truncating, searching, subsituting, comparing, splitting, etc etc, it's huge but still light weight (20 bytes overhead per). To use this cross platform(!) and for the very latest version, see the [http://kjams.com/cflite/downloads/CFTest.zip CFTest] project under [[Code/CFLite|CFLite]]. | |||
* A set of low level File System Utilities for doing just about anything | |||
* A simplified and easy to use Thread object for creating preemptive threads, with a completion call back. | |||
Latest revision as of 02:28, 19 November 2008
This contains a carbon XCode project for the MacFUSE project.
at this point it's several revisions out of date, but it'll get you started.
Goodness included:
- A complete "hello world" Fuse project using Carbon
- a CFileRef object: powerful abstraction on FSRef / full path / Alias records / Directories, extremely useful, you have to see it
- A SuperString object: a very *very* powerful abstraction on strings. Compatible with CFStrings, HFSUniStr255, pure unicode buffer, c-strings, p-strings, std::strings, OSType, float / integer, any kind of encoding, any kind of converting, eg: to utf8, 16, 32, truncating, searching, subsituting, comparing, splitting, etc etc, it's huge but still light weight (20 bytes overhead per). To use this cross platform(!) and for the very latest version, see the CFTest project under CFLite.
- A set of low level File System Utilities for doing just about anything
- A simplified and easy to use Thread object for creating preemptive threads, with a completion call back.