how to create XML Editor for MAC?
I need to build a XML EDITOR for MAC?
Can anybody help me in this regard? How should I p开发者_运维技巧roceed?
This is a very open ended question.
You can build applications for Mac OS X in a variety of languages/technologies. Common choices include:
- Objective-C
- Java
If you're developing in Objective-C (the native development platform for OS X), you'll need XCode from Apple.
You'll probably want to learn Cocoa (the UI framework on OS X) and the core libraries (Core Foundation, Core Data etc).
Oh, where to begin?
First of all, take note of Michael Shimmins' answer; you'll need Xcode to do the program. While his answer mentions Java, I would avoid that, and go for Objective-C.
As for the application itself, it all depends on how you want to edit the XML; some more information would be great on this point.
If you want a text-editor style XML editor, you should probably start with a simple Document-Based Cocoa Application; and put in an NSTextView
, and see where you can go from there; if, on the other hand, you want a tree-based editor; you'll need to have a look at NSOutlineView
and NSXMLDocument
, part of the NSXML
bits of Cocoa.
Then you'll need to design your application, program it, test it, and finally, if applicable, release it.
My advice would be to buy, not build.
There are also free XML editors, or free versions of commercial XML Editors.
精彩评论