Yes, I checked the source code of switchDiskSizeBase, and as far as I can see, the guy is using some low-level hack, like opening a system framework binary, uncompress it, find some bytes at certain magic offset, read and rewrite them. This kind of thing isn't acceptable for my app, I'm looking for some legitimate ways, some public APIs.
On Wed, Nov 23, 2011 at 9:31 PM, Jens Alfke <[email protected]> wrote: > > > Have you downloaded switchDiskSizeBase and looked at the source code to see > how it works? Maybe when you see what it changes it’ll be clear how to read > the same value back in your app. > > —Jens _______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
