ccgus / CocoaScript

JavaScript + the Cocoa frameworks, and then ObjC brackets show up to party as well.
Other
618 stars 58 forks source link

How to declare class with inheritance #42

Open onmyway133 opened 8 years ago

onmyway133 commented 8 years ago

Hi, how to declare class with inheritance like this, or how can we achieve the same thing

class ViewController: NSViewController {
   function viewDidLoad() {
      super.viewDidLoad()
   }
}

Thanks :)