Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7765631
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T15:12:47+00:00 2026-06-01T15:12:47+00:00

I come from the ruby and python worlds where we have many libraries that

  • 0

I come from the ruby and python worlds where we have many libraries that can syntax highlight arbitrary code from many languages. I am looking for something similar in the objc ecosystem, but i can’t seem to find such, is there one available?

The equivalent libraries in Ruby would be CodeRay and Pygments for Python,

thanks in advance!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T15:12:48+00:00Added an answer on June 1, 2026 at 3:12 pm

    Banister,

    I myself have searched for a long time for a nice and robust Cocoa Syntax Highlighter, and since I’m currently building a code-oriented text editor myself, that would be a major part of the project.

    So, I found out that there are plenty of Objective-C/Cocoa -friendly Syntax Highlighting libraries/components. For a starter (for something relatively basic, that is), I would suggest you have a look at :

    • OkudaKit (using CSS for styling)
    • UKSyntaxColoredTextDocument by Uli Kusterer (pretty nice try)

    However, if you really need something POWERFUL, well-tested and still Cocoa-friendly, I would definitely suggest you to try the Scintilla component (for Cocoa). The code is great, and the community (at Scintilla-Interest Group) will gladly help you iron out any issues you may encounter.

    In a few words :

    I’m currently using on an about-to-be-release big project and it’s working beautifully for me.


    Scintilla

    Scintilla is a free library that provides text-editing functions, with
    an emphasis on advanced features for source code editing. SciTE
    (cross-platform), Geany, Notepad++ (Windows), and Notepad2 (Windows)
    are examples of standalone editors based on Scintilla.

    Scintilla Editing Component in use (SciTe)

    Scintilla Editing Component

    Features

    Scintilla supports many features to make code editing easier in
    addition to syntax highlighting. The highlighting method allows the
    use of different fonts, colors, styles and background colors, and is
    not limited to fixed-width fonts. The control supports error
    indicators, line numbering in the margin, as well as line markers such
    as code breakpoints. Other features such as code folding and
    autocompletion can be added.


    • Download Scintilla (the Cocoa support has been integrated in the main project) : http://www.scintilla.org/SciTEDownload.html
    • Example project (integrating Scintilla with Cocoa) :
      http://bazaar.launchpad.net/~mike-lischke/scintilla-cocoa/trunk/files/head:/cocoa/ScintillaTest/
    • For complete documentation, have a look at : Scintilla
      Documentation
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I come from classes object orientation languages and recently I have been learning those
I've been learning Clojure, and since I come from a Ruby, and before that
I come from a C# background, and have just started programming in Ruby. The
I come from the Java world, where you can hide variables and functions and
I come from the Ruby world. How do I use the string value of
I come from more of a C# background yet am learning Ruby in my
Whenever I see Ruby code that says: arrayNames.collect { ... } I forget what
I'm fairly new to C# and I come from a Ruby background. I still
Where does the concept of 'development mode' come from when using ruby + webrick
So I come from a background in Java where you can create a class

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.