17

Introduction to Cocui

September 16 tagged cocoa, cocui, ui and screencast. filed under software

Cocui is a way to quickly create functional Cocoa applications using WebKit. Download and read more at http://github.com/rsms/cocui. You can watch the video in full resolution at Vimeo.


17 comments

  • Avatar
    Andy L September 17

    Hi Rasmus, looks useful — did you check JSTalk out? Looks like you and Gus could join forces…

  • Avatar

    Looks great. A few tips and minor critiques:
    * Cmd-/ in Textmate toggles commented lines on and off.
    * Giving your app the Textmate icon was a bit confusing.
    * Are your JSON en/decoding functions using the native Ecmascript 5 JSON.stringify and JSON.parse methods now supported in Webkit? https://bugs.webkit.org/show_bug.cgi?id=26249

      • Avatar

        • ⌘/ for comments is enabled by the “Source” bundle. I’m pretty sure that ships with TextMate by default, I don’t *think* I installed it separately. Maybe 10.6 menu item search overrides it (I’m still on 10.5)

      • Avatar

        Also, I would use Douglas Crockford’s json2.js, instead of writing your own encoding methods. It’s the reference implemention for the Ecmascript standard.

        http://json.org/json2.js

        Personally, I would ideally replace your own methods with direct calls to JSON.stringify/parse for the sake of standardising around conventions, but if you need to maintain your own methods, you could at least make them wrap json2.js methods directly.

  • Avatar
    Austin Bales December 1

    This is pretty slick, but I’m having trouble accessing the NSApp instance. Specifically I’m trying to create a dock badge, but beyond App.terminate() i’m unable to use any of NSApp’s functionality.

    App.dockTile is not an object or a function.

      • Avatar
        Austin Bales December 13

        Oh, I see. Unfortunately, the reason why Cocui is so appealing is my limited Obj-C/Cocoa knowledge. I guess there’s no avoiding it – I’ll have to learn Cocoa :-/

  • Avatar
    Karl January 5

    Please apologize, cause totally off topic but where do you have your wallpaper from?

  • Avatar
    Abdul Johnson February 21

    It is useful to try everything in practice anyway and I like that here it’s always possible to find something new. :)

  • Avatar
    Tinsun April 7

    Another stupid question: what screencasting app do you use? I find the zoom effects appealing, but maybe they are done post recording? TIA!

  • Avatar
    Floalsunlot April 20

    Good day!

    I just wanted to say hi

    Bye everyone!

  • Avatar
    bestvideoconverter July 17

    Hey, Is there anybody here?.
    I love blog.hunch.se because I learned a lot here. Now it’s time for me to pay back.
    Why I want to post this guide on this of blog.hunch.se is to help people solve the same problem.
    Please let me know if it is off topic here.
    This is the guide, hope it would help you.

    Guide:How to convert OGG file to MP3 and convert OGG to WAV?
    How to convert OGG file to MP3? How to convert OGG to WAV? This step-by-step guide will guide you how to solve this problem with ImTOO OGG Converter(, ) , an OGG to WAV converter and MP3 to OGG encoder. ImTOO OGG Converter(, ) can help you easily and fastly convert OGG file to MP3 and convert OGG to WAV with high quality. Free download is available.
    Introduction of ImTOO OGG Converter(, )
    ImTOO OGG Converter(, ) for converting OGG to MP3 is OGG to WAV converter to easily convert OGG to WAV, and MP3 to OGG encoder to fastly convert OGG file to MP3. It can convert audio to MP3, WAV, OGG and WMA . It supports decoding audio formats like WMA, M4A, MP4, APE, OGG, AAC, MP2 . It can also extract audio from video file formats - AVI, WMV, MPEG and MP4 etc.
    ImTOO OGG Converter(, ) for converting OGG to MP3, as a best OGG to WAV converter and a powerful MP3 to OGG encoder, can convert OGG to WAV and convert OGG file to MP3 with high quality and fast speed. Except for converting OGG to MP3, this OGG to WAV converter can helps you convert OGG to WAV, and supports conversion among OGG, MP3, WMA, WAV. You can get free download trial of this MP3 to OGG encoder to convert OGG file to MP3.
    Features: An MP3 to OGG encoder- convert MP3 to OGG, and convert OGG file to MP3. An OGG to WAV converter- convert OGG to WAV. Support conversion among OGG, MP3, WMA, WAV. It is easy to use and fast in speed - With the concise interface and design, users can easily handle the software without any help. The converting speed is super fast in ImTOO OGG Converter(, ) so users don’t have to wait so long. A file can be converted within just a few seconds. It supports ID3 tag - All ID3 tags in the original files will be reserved after the conversion. Codec and encoders are built-in - The software integrates with all audio encoders and decoders - users can convert all supported audio formats It supports batch conversion - You can select all files you want to convert and ImTOO OGG Converter(, ) will automatically encode them one by one. User-defined output path - You are able to edit the output path or use the same one as the input path. It offers excellent output quality - Using ImTOO OGG Converter(, ) for converting OGG to MP3, you will get any output formats you want with excellent quality.
    In conclusion, ImTOO OGG Converter(, ) for converting OGG to MP3 is easy to use, fast in speed, excellent in quality and reasonable in price. And it offers excellent after service that ensures the convenience and joy for all users in using the software. All the users’ emails will be replied within a business day! Why not free download this OGG to WAV converter and MP3 to OGG encoder to convert OGG file to MP3 and convert OGG to WAV.
    Step-by-step Guide: How to convert OGG file to MP3 and convert OGG to WAV? (Take converting OGG file to MP3 for example)
    Step 1: Free download ImTOO OGG Converter(, ) and save it in your computer, and then run it.
    Step 2: Launch ImTOO OGG Converter(, ) and the interface is as follows:
    From this concise and easy-to-use interface, you can find 3 steps to guide you how to complete to convert OGG file to MP3
    Step 3: Click “Add” button to load OGG file(s):
    And the file(s) to be converted to MP3 will be displayed:
    Step 4: Click “Encoder” combo-box to select Lame MP3 Encoder(*.mp3) as outputed file format:
    Step 5: Click “Browse” button to select a path for the MP3 outputed file
    And you also can select the same path as input folder:
    Step 6: Click “Encode” button to start convert OGG file to MP3:
    That’s OK. It will complete to convert OGG file to MP3 with a few seconds.

Comment