servo/cocoa-rs

How do I implement delegates?

zhenchaoli opened this issue · 2 comments

Hi!

This is not really an issue (or maybe it is?), but how do I implement an NSApplicationDelegate for example, and assign it to NSApp so that I can start responding to events?

Yeah, definitely! Thanks @paulrouget