NSTabViewController is not NSTabView's delegate by default
| Originator: | keithbsmiley | ||
| Number: | rdar://19732856 | Date Originated: | 05-Feb-2015 11:20 AM |
| Status: | Open | Resolved: | |
| Product: | OS X SDK | Product Version: | 10.10.2 |
| Classification: | UI/Usability | Reproducible: | Always |
Summary: After dragging a NSTabViewController into a storyboard, and choosing your transition options (such as crossfade) and setting the style to "Toolbar" these settings are ignored. Subclassing NSTabViewController and overriding the relevant methods shows they are not being called. To fix this you must make your NSTabViewController the delegate of the contained NSTabView. This should be the default. Steps to Reproduce: 1. Drag a NSTabViewController into a storyboard 2. Turn on crossfade 3. Change the style to "Toolbar" to get the preferences window effect 4. Run the application, switch between tabs. Expected Results: There should be a crossfade animation Actual Results: There is no animation. You first have to set the NSTabView delegate to your NSTabViewController. This should be the default.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!
Remains an issue in 10.3, XCode Version 6.3.2 (6D2105)
Source: http://stackoverflow.com/questions/27488481/nstabviewcontroller-ignoring-transitions-and-title-propagation-settings/27495916#27495916