]> gitweb.factorcode.org Git - factor.git/commit
cocoa: Allow ?-> syntax for methods that might not exist.
authorDoug Coleman <doug.coleman@gmail.com>
Thu, 1 Jun 2017 16:55:08 +0000 (11:55 -0500)
committerDoug Coleman <doug.coleman@gmail.com>
Thu, 1 Jun 2017 21:53:05 +0000 (16:53 -0500)
commitd838f95370a30f4870dddc563ffcce8064a1f78a
treebe2500adedc95f2f1461f9a9d60af0aae09e935c
parentf7ce73b962adcf7fbe1155932d7e44b0e9b16826
cocoa: Allow ?-> syntax for methods that might not exist.

If a method doesn't exist we need to provide a signature so the stack is balanced. This should also allow deploying from macOS versions that do not contain methods to ones that do. This is an alternative to asking a class if it provides a selector.
basis/cocoa/cocoa.factor
basis/cocoa/messages/messages.factor
basis/cocoa/touchbar/touchbar.factor