Function | Shortcut |
---|---|
Previous Tab | ⌘ + Left Arrow |
Next Tab | ⌘ + Right Arrow |
Go to Tab | ⌘ + Number |
Go to Window | ⌘ + Option + Number |
Go to Split Pane by Direction | ⌘ + Option + Arrow |
Go to Split Pane by Order of Use | ⌘ + ] , ⌘ + [ |
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
/// Parses a csv string and returns a 2d array. | |
/// | |
/// Size of the array will be equal to the number of rows. | |
/// And Size of the subarray will be equal to the | |
/// number of fields. | |
/// | |
/// Note: Delimiter can be changed to a different character | |
/// like semicolon. | |
func parse(string: String, delimiter: Character = ",") -> [[String]]{ | |
let rows = string.split(separator: "\n") |
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
/// Parses a csv string and returns a 2d array. | |
/// | |
/// Size of the array will be equal to the number of rows. | |
/// And Size of the subarray will be equal to the | |
/// number of fields. | |
/// | |
/// Note: Delimiter can be changed to a different character | |
/// like semicolon. | |
func parse(string: String, delimiter: Character = ",") -> [[String]]{ |