Dec 29 2017
Assigning a button’s action – with added bug
Edited to add: This, apparently, works as intended – you need to assign the button’s _target_ with testButton.target = self. It doesn’t completely explain why the code is working under some circumstances, but it’s not a bug as such. This thoroughly spoilt my day today. I was convinced I’d gotten the ‘assign-an-action-on-the-fly’ code correctly, but […]
Jan 5 2018
Storyboard Embed Segues
macOS 10.12, Xcode 9.2 In the macOS Storyboard Segues post I briefly referred to embed segues; I have just used one and found an ideosynchracy that is worth documenting. At the moment, about 100% of bugs (as opposed to cases I didn’t handle or things I forgot to set up) are due to storyboard issues: […]
By Extelligent Cocoa • Wiki • • Tags: containerView, NSStoryboardSegue