문제

I want to make a Mac app to view and edit several GB sized binary files.

How do I start off? :-(

I thought I should begin with a simple scrolling hex viewer, but stuck already.

I think NSTextView is not the way to go. Because I only need to draw 255 kind of two character pair over and over. Also need to manage huge text data.

1) can I use NSLayoutManager drawGlyphsForGlyphRange method?
2) is it possible with NSTextView and clever text management?
3) or something else?

It will be greatly helpful if I could consult samples or demos.

도움이 되었습니까?

해결책

http://github.com/ridiculousfish/HexFiend/

Hex Fiend is an open source hex editor that can edit huge files (the website says it has been tested on a 118GB file).

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top