ryanmcgrath / cacao

Rust bindings for AppKit (macOS) and UIKit (iOS/tvOS). Experimental, but working!
MIT License
1.8k stars 65 forks source link

implement applicationShouldTerminateAfterLastWindowClosed #3

Closed jussiniinikoski closed 3 years ago

jussiniinikoski commented 3 years ago

Hello! This api you've designed looks very good!

This app delegate method was missing from a simple one window app I was trying out.

ryanmcgrath commented 3 years ago

Ah, cool! I think I skipped this one as I think it's not how a good macOS app should act, but... I think you're right and it should be supported, some apps definitely need it.

Thanks for the pull request! Merging. :)