Tested in Mac OS X: super == command
Open/Goto
- super+t: go to file
- super+ctrl+p: go to project
- super+r: go to methods
#!/bin/sh | |
### | |
# SOME COMMANDS WILL NOT WORK ON macOS (Sierra or newer) | |
# For Sierra or newer, see https://github.com/mathiasbynens/dotfiles/blob/master/.macos | |
### | |
# Alot of these configs have been taken from the various places | |
# on the web, most from here | |
# https://github.com/mathiasbynens/dotfiles/blob/5b3c8418ed42d93af2e647dc9d122f25cc034871/.osx |
#import <Foundation/Foundation.h> | |
void method1(NSArray *numbers) | |
{ | |
NSArray *sorted = [numbers sortedArrayUsingSelector:@selector(compare:)]; | |
} | |
void method2(NSArray *numbers) | |
{ | |
NSNumber *max=[numbers valueForKeyPath:@"@max.doubleValue"]; |