• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Hex Editor
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hex Editor


  • Subject: Re: Hex Editor
  • From: Markus Hitter <email@hidden>
  • Date: Sun, 15 Jan 2006 08:50:38 +0100


Am 14.01.2006 um 22:12 schrieb jjoonathan:

I am going to be implementing a hex editor in my application (shouldn't be editing anything larger than a few magabytes, but speed is desirable because it needs to be able to open/close the objects in sink with the selection in a table view), and I would like to know how I should go about doing so.

Use an NSTextView, filled with an NSMutableString? printf() and - stringWithFormat already has nice formatters for hex values. You'd have to add a delegate for -textDidChange (or similar) to do your custom editing. No need to subclass the NSTextView.


is there a good open source hex editing view

I'm not aware of one, for hex/binary editing I still use the ancient bvi ("binary-vi").



HTH, Markus

- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/




_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Hex Editor
      • From: Cameron Hayne <email@hidden>
References: 
 >Hex Editor (From: jjoonathan <email@hidden>)

  • Prev by Date: Re: Ligatures - or more so not ligatures
  • Next by Date: Re: Endian-ness of four-char constants (Was: Endian-ness of "PkgInfo" file)
  • Previous by thread: Hex Editor
  • Next by thread: Re: Hex Editor
  • Index(es):
    • Date
    • Thread