2011-05-26

SyntaxHighlighter Objective-C brush

I just wanted to write my first post on Objective-C/Cocoa topic when I noticed that SyntaxHighlighter doesn't support this language out of the box. Despite thorough crawling I didn't find anything useful, thus I decided to write my own brush.
It works with SyntaxHighlighter 3.0.83, is available on GitHub, and its brush name is oc.

12 comments:

  1. can I have just a script about Objective-C...?

    ReplyDelete
  2. The linked script is an Objective-C only brush script. You only have to include it in your Blogger HTML template.

    ReplyDelete
  3. I also found this one:
    http://scottdensmore.typepad.com/blog/2011/04/objective-c-syntax-highlighter-reboot.html
    This is called as 'objc'.

    ReplyDelete
    Replies
    1. His sample doesn't seem to be as colorful as mine - use the one which is better :)

      Delete
  4. Is there anything else required to add to Blogger Html along with this link?
    Like CSS and other file as shown in http://scottdensmore.typepad.com/blog/2011/04/objective-c-syntax-highlighter-reboot.html

    ReplyDelete
    Replies
    1. Hi,

      Best is to read the documentation on http://alexgorbatchev.com/SyntaxHighlighter/ .

      Cheers,
      Andras

      Delete
  5. Hey can you please tell me , how use that script into blogger,I have already setup Syntax highlighter for java but now I want to add for Objective, and not getting how to add your brush.

    Regards,
    RDC

    ReplyDelete
    Replies
    1. Hi,

      Best is to read the documentation on http://alexgorbatchev.com/SyntaxHighlighter/ .

      Cheers,
      Andras

      Delete
  6. Nahát, egy fellow countrymen, jólátni. :D
    Vagyhát gondolom.

    ReplyDelete
  7. This comment has been removed by the author.

    ReplyDelete
  8. Hi, am trying to write objective c code on my blog. But not able to make it look like an editor. Please provide me the detail procedure of using your script.
    Regards,
    Maitrayee

    ReplyDelete