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