First, install Xcode 6 beta.
And run it.
sudo xcode-select -switch /Applications/Xcode6-Beta.app/Contents/Developer
$ xcrun simctl status_bar booted override --time "9:41" --batteryState charged --batteryLevel 100 --cellularMode active |
#import <Cocoa/Cocoa.h> | |
@interface MyTextView : NSView <NSTextInput, NSTextInputClient> { | |
NSMutableAttributedString *_text; | |
NSRange _selectedRange; | |
NSRange _markedRange; | |
} | |
@end |
// Taken from the commercial iOS PDF framework http://pspdfkit.com. | |
// Copyright (c) 2014 Peter Steinberger, PSPDFKit GmbH. All rights reserved. | |
// Licensed under MIT (http://opensource.org/licenses/MIT) | |
// | |
// You should only use this in debug builds. It doesn't use private API, but I wouldn't ship it. | |
// PLEASE DUPE rdar://27192338 (https://openradar.appspot.com/27192338) if you would like to see this in UIKit. | |
#import <objc/runtime.h> | |
#import <objc/message.h> |
/** | |
Provides the ability to verify key paths at compile time. | |
If "keyPath" does not exist, a compile-time error will be generated. | |
Example: | |
// Verifies "isFinished" exists on "operation". | |
NSString *key = SQKeyPath(operation, isFinished); | |
// Verifies "isFinished" exists on self. |
--[[ deepcopy.lua | |
Deep-copy function for Lua - v0.2 | |
============================== | |
- Does not overflow the stack. | |
- Maintains cyclic-references | |
- Copies metatables | |
- Maintains common upvalues between copied functions (for Lua 5.2 only) | |
TODO |
#!/usr/bin/env bash | |
# Install Git Large File Storage (LFS) | |
brew install git-lfs | |
git lfs install | |
# Download & Install Llama | |
git clone https://github.com/ggerganov/llama.cpp | |
cd llama.cpp | |
LLAMA_METAL=1 make -j # build with Metal support for (M-series) Apple Silicon |
2018-08-05
18.08.0
3
$ strings /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/sourcekitd.framework/Versions/Current/XPCServices/SourceKitService.xpc/Contents/MacOS/SourceKitService|grep source.lang.swift
source.lang.swift.keyword
source.lang.swift.pattern
source.lang.swift.syntaxtype.argument
source.lang.swift.syntaxtype.parameter
source.lang.swift.attribute.availability
source.lang.swift.decl.extension
source.lang.swift.decl.var.parameter
source.lang.swift.stmt.brace
// | |
// NSObject+setValuesForKeysWithJSONDictionary.h | |
// | |
// Created by Tom Harrington on 12/29/11. | |
// Tweaked by Mark Dalrymple | |
// | |
// Copyright (c) 2011 Atomic Bird, LLC. All rights reserved. | |
// | |
#import <Foundation/Foundation.h> |