mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Update NewInCocoa2018 notes.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Dark Mode
|
||||
# Dark Mode - WWDC 2018
|
||||
|
||||
https://developer.apple.com/documentation/appkit/supporting_dark_mode_in_your_interface
|
||||
https://developer.apple.com/videos/play/wwdc2018/210/
|
||||
@@ -36,4 +36,19 @@ Build with 10.14 SDK
|
||||
NSAppearanceCustomization
|
||||
NSView, NSWindow conforms
|
||||
NSWindow.appearanceSource
|
||||
Configure NSBox to fill color to get desired material
|
||||
visualEffectView.maskImage
|
||||
Can do drawing handler images - for instance with a path
|
||||
backgroundStyle on rows - .normal and .emphasized
|
||||
|
||||
Backward deployment…
|
||||
Most system colors are available pre-Mo
|
||||
Asset catalogs available on 10.13
|
||||
Find hardcoded colors, use asset catalog colors
|
||||
NSColor(named: "SomeColor")
|
||||
Prefer block-based image drawing instead of lockFocus
|
||||
Prefer NSTextField to drawing strings
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
8
Technotes/NewInCocoa2018.md
Normal file
8
Technotes/NewInCocoa2018.md
Normal file
@@ -0,0 +1,8 @@
|
||||
# What’s New in Cocoa - WWDC 2018
|
||||
|
||||
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
|
||||
|
||||
Submodule submodules/DB5 updated: 1b20fde3a7...6b32b49bed
Submodule submodules/RSDatabase updated: 0c68ac2744...4e7358074e
Reference in New Issue
Block a user