Similar in vein to #497, just cleaning up docs

This commit is contained in:
Eric O'Connell 2018-10-16 21:46:48 -07:00 committed by GitHub
parent 485bde7ff2
commit 66b8d1a381
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 29 additions and 29 deletions

View File

@ -2,41 +2,41 @@
https://developer.apple.com/videos/play/wwdc2018/209/
NSImage(named: string) is now allowed!
NSMenuItemValidation is now a real protocol, other informals have been made real
Secure coding with NSKeyedArchiver, unarchiver
- NSImage(named: string) is now allowed!
- NSMenuItemValidation is now a real protocol, other informals have been made real
- Secure coding with NSKeyedArchiver, unarchiver
NSColor.controlAccentColor
.withSystemEffect - pressed, disabled, etc.
Content Tint Color
NSButton, NSImageView contentTintColor
- NSColor.controlAccentColor
- .withSystemEffect - pressed, disabled, etc.
- Content Tint Color
- NSButton, NSImageView contentTintColor
Layer Backing
Not one to one NSView to CALayer (unlike UIKit)
No need to set .wantsLayer = true
Use NSView draw method instead of layer drawing
Fine to implement updateLayer along with draw method
.wantsUpdateLayer is okay
Dont use NSView lock/unlock focus
### Layer Backing
- Not one to one NSView to CALayer (unlike UIKit)
- No need to set .wantsLayer = true
- Use NSView draw method instead of layer drawing
- Fine to implement updateLayer along with draw method
- .wantsUpdateLayer is okay
- Dont use NSView lock/unlock focus
User Notifications
NSUserNotification deprecated
### User Notifications
- NSUserNotification deprecated
NSToolbar
centeredItemIdentifier
Auto layout now used when min max sizes not specified
### NSToolbar
- centeredItemIdentifier
- Auto layout now used when min max sizes not specified
NSGridView
Grid views authored in IB work in 10.13
### NSGridView
- Grid views authored in IB work in 10.13
NSTextView
fieldEditor
scrollableTextView
etc.
performValidatedReplacement - calls delegates properly, fills in atts from typing atts
May need to call setSelectedRange first to get proper atts
validRequestor - Services API
### NSTextView
- fieldEditor
- scrollableTextView
- etc.
- performValidatedReplacement - calls delegates properly, fills in atts from typing atts
- May need to call setSelectedRange first to get proper atts
- validRequestor - Services API
Custom Quick Actions
### Custom Quick Actions