"cant connect to iOS agent"
Xcode 7.0 beta 4 needs icu4c 54, but 55 is active.
sturct Post { | |
let content: String | |
let createdAt: NSDate | |
} | |
var posts: [Post] = [] | |
// getMorePosts -> [Post] | |
posts.extend(getMorePosts()) |
g
= git
git revert
#!/bin/sh | |
# I was having ghost devices in my iOS Simulator. | |
# There were multiple device for one device type, one OS. | |
# For example, there were at least 4-5 devices for iPhone 6, OS 8.4 | |
# USE IT AT YOUR OWN RISK | |
devices=(`xcrun simctl list devices | grep -v '^[-=]' | cut -d "(" -f2 | cut -d ")" -f1`) | |
for device in $devices; do |
#!/bin/sh | |
# "Delete all unavailable devices." | |
xcrun simctl delete unavailable |
" For Vundle, uncomment next line | |
" Plugin 'Lokaltog/vim-easymotion' | |
" easymotion | |
let g:EasyMotion_smartcase = 1 " turn on case insensitive feature | |
let g:EasyMotion_do_mapping = 0 " disable default mappings | |
let g:EasyMotion_use_smartsign_us = 1 " 1 will match 1 and ! | |
let g:EasyMotion_use_upper = 1 | |
let g:EasyMotion_keys = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ;' |
import XCTest | |
import Argo | |
import Runes | |
class SuperClass { | |
let something: String | |
init(something: String) { | |
self.something = something | |
} |
protocol Named: class { | |
var name: String { get set } | |
} | |
class Person: Named { | |
var name: String | |
init(name: String) { | |
self.name = name | |
} |
import Argo | |
let json = [ | |
"urlString": "http://www.example.com", | |
"timestamp": 1433132865, | |
"date": "20150525", | |
"intString": "12345", | |
] | |
struct ExampleModel { |