This script detects apps with not yet updated versions of Electron.
Repo: https://github.com/tkafka/detect-electron-apps-on-mac
See:
This script detects apps with not yet updated versions of Electron.
Repo: https://github.com/tkafka/detect-electron-apps-on-mac
See:
(assuming you are paying cash)
These are the instructions for getting the debugger.html project to connect to and debug Safari on various platforms.
Requirements
| import Cocoa | |
| class MyAppDelegate: NSObject, NSApplicationDelegate { | |
| let window = NSWindow() | |
| var didFinishLaunching: NSWindow -> () = { _ in () } | |
| func applicationDidFinishLaunching(aNotification: NSNotification) { | |
| didFinishLaunching(window) | |
| } | |
| } |
| # Upgrading Xcode can wreak havok on your custom Alcatraz setup. | |
| # Each plugin must list the UUIDs of Xcode that it supports. Thus | |
| # with each new release we must update the list of UUIDs for each | |
| # plugin we want to continue using. | |
| # | |
| # You can discover the UUID of an Xcode app bundle by running this command | |
| defaults read /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUID | |
| # > 7FDF5C7A-131F-4ABB-9EDC-8C5F8F0B8A90 |
Here's my own list of the interesting stuff announced during this year's WWDC, collected from the keynotes, various Apple docs, blog posts and tweets.
If you're planning to watch the videos, I really recommend this Mac app that helps you download and watch them: https://github.com/insidegui/WWDC.
http://www.apple.com/osx/elcapitan-preview/
| // | |
| // ArrayDiff.swift | |
| // | |
| // Created by Frank A. Krueger on 6/30/15. | |
| // Copyright © 2015 Krueger Systems, Inc. All rights reserved. | |
| // License: MIT http://opensource.org/licenses/MIT | |
| // | |
| import Foundation |
| /** | |
| * | |
| * SCSS Type Setting Mixin | |
| * | |
| * For easier writing of font sizes and line-heights, relatively. | |
| * This can be used for writing base styles, but also specific ones if necessary. | |
| * | |
| **/ | |
| // Root Font Size Variable — best to avoid changing unless you like risks. |
| /** | |
| * The following preprocessor macros can be used to adopt the new nullability annotations and generics | |
| * features available in Xcode 7, while maintaining backwards compatibility with earlier versions of | |
| * Xcode that do not support these features. | |
| */ | |
| #if __has_feature(nullability) | |
| # define __ASSUME_NONNULL_BEGIN NS_ASSUME_NONNULL_BEGIN | |
| # define __ASSUME_NONNULL_END NS_ASSUME_NONNULL_END | |
| # define __NULLABLE nullable |
| @interface NSObject (Debounce) | |
| - (void)debounce:(SEL)action delay:(NSTimeInterval)delay; | |
| @end |