This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ "keys": ["shift+enter"], "command": "run_macro_file", "args": {"file": "Packages/Default/Add Line.sublime-macro"} }, | |
{ "keys": ["alt+up"], "command": "swap_line_up" }, | |
{ "keys": ["alt+down"], "command": "swap_line_down" }, | |
{ "keys": ["ctrl+shift+j"], "command": "join_lines" }, | |
{ "keys": ["super+alt+down"], "command": "duplicate_line" }, | |
{ "keys": ["shift+super+r"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true} }, | |
{ "keys": ["super+shift+s"], "command": "save_all" }, | |
{ "keys": ["super+l"], "command": "show_overlay", "args": {"overlay": "goto", "text": ":"} } | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// UIColor+customColors.m | |
// Unity-iPhone | |
// | |
// Created by Manuel Zoderer on 27/05/15. | |
// | |
// | |
#import "UIColor+customColors.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
override func viewDidLoad() { | |
super.viewDidLoad() | |
self.setUpLocationmanager() | |
let beaconSequence = locationManager.rx_didRangeBeaconsInRegion.map{$0.beacons} | |
let sortedBeaconSequence = beaconSequence.map{beacons in self.sortBeaconsByRSSI(beacons)} | |
let nearestBeaconSequence = sortedBeaconSequence.map({$0[0]}) | |
.filter{$0.proximity == CLProximity.Immediate} | |
.distinctUntilChanged{$0.minor == $1.minor} |