If you’re running Windows 10 on a Macbook Pro 2013 (Early), and constantly stumble upon an awesome Machine Check Error screen whenever you reboot, you shoooould try:
- Open the device manager
- Locate you GeForce GT 650M
- Uninstall the 2017 Driver
- Let Windows install the system’s driver
For the record, this is the driver you’d want:
I keep loosing this snippet, over an over, apparelty.
If you ever need to symbolicate (manually) a memory address, you’ll just need the dSYM file:
xcrun atos -l LOAD_ADDRESS SYMBOL_ADDRESS -o dSYMs/APP-NAME.dSYM/Contents/Resources/DWARF/APP-NAME
let predicate = NSCompoundPredicate(orPredicateWithSubpredicates: [
NSPredicate(format: "entity = %@", Note.entity()),
NSPredicate(format: "content CONTAINS[cd] %@", "1")
NSPredicate(format: "entity = %@", Tag.entity()),
NSPredicate(format: "name CONTAINS[c] %@", "tag")
Now, this yields another problem: there is no API to limit the number of entities to fetch “per group”.
If you do need this feature, you’re probably better of with multiple NSFetchRequest(s).
Scenario: You’ve installed Bootcamp on your mac (shame on you), AND updated AMD’s graphic cards, to deal with stability issues.
If, for some reason, your MacBook’s special keys (Brightness, Volume, etc) stop working:
- Boot into your macOS partition
- Open BootCamp Assistant
- Click over Action > Download Windows Support Software
- Save the package to a flashdrive
- Boot back into Windows
- Run BootCamp > Drivers > Apple > AppleKeyboardInstaller64
- Think closely, why, in the name of Satan, you’d need Windows
In order to get NSTokenField (or NSTextField) play well with a ScrollView, you should:
- Pin the fixed edges (in my case: Top / Bottom / Left)
- Leave alone the edges that can grow (again, in my case: Right)
- Set a placeholder Intrinsic Size, to keep IB happy
- Override intrinsicContentSize
- Pinning the TokenField to every single edge simply causes the container view to assume the actual TokenField’s size (and thus, kills the scrolling behavior).
- Sample code available here!