井戸端iOS飯
とは?
井戸端iOS飯とは、昼休み1時間+MTG分の30分の計1時間30分を利用して、 NBFオフィスのコラボのプロジェクターとスクリーンを利用して、 最新のスマホアプリ開発技術に関する動画を見ながらご飯を食べて、 交流する場です。
ぜひお気軽にご参加ください。
require 'yaml' | |
cops = File.read('.rubocop_todo.yml') | |
.split("\n\n") | |
.drop(1) | |
.map { | |
{ | |
count: _1.match(/Offense count: (\d+)/).captures[0].to_i, | |
yaml: YAML.load(_1), | |
auto_correct: _1.match(/Cop supports --auto-correct/) != nil | |
} |
import Foundation | |
import CoreData | |
protocol NSManagedObjectMappable: NSManagedObject where MapFrom.MapFrom == Self { | |
associatedtype MapFrom: MappableFromNSManagedObject | |
static func mappedObject(from object: MapFrom, in context: NSManagedObjectContext) -> Self | |
} | |
enum MappingError: Error { | |
case missingNonOptionalValue(String) |
import Darwin | |
let string = "hello world" | |
var array = [UInt8]() | |
string.withCString { ptr in | |
print("strlen: \(strlen(ptr))") | |
let length = strlen(ptr) | |
var currentPtr = ptr |
import Foundation | |
let array: [String?] = ["a", "b", "c", "e"] | |
print(array) // => [Optional("a"), Optional("b"), Optional("c"), Optional("e")] | |
let strings = array.flatMap { $0! } | |
print(type(of: strings)) // => Array<Character> |
#!/usr/bin/env sh | |
UUID=$(defaults read /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUID) | |
echo Xcode DVTPlugInCompatibilityUUID is $UUID | |
for MyPlugin in ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins/* | |
do | |
UUIDs=$(defaults read "$MyPlugin"/Contents/Info DVTPlugInCompatibilityUUIDs) | |
echo $MyPlugin | |
if echo "${UUIDs[@]}" | grep -w "$UUID" &>/dev/null; then | |
echo "The plug-in's UUIDs has contained the Xcode's UUID." | |
else |
井戸端iOS飯とは、昼休み1時間+MTG分の30分の計1時間30分を利用して、 NBFオフィスのコラボのプロジェクターとスクリーンを利用して、 最新のスマホアプリ開発技術に関する動画を見ながらご飯を食べて、 交流する場です。
ぜひお気軽にご参加ください。
# 1 | |
class Coriander | |
include MyApp::Entity::HasId | |
end | |
# 2 | |
class Coriander | |
include MyApp::Entity::Identifiable | |
end |
class ChainQuery | |
def initialize(init_value) | |
@init_value = init_value | |
@filters = [] | |
end | |
def add_filter(&block) | |
@filters << block | |
self | |
end |
〒 153-0064 東京都目黒区下目黒5-11-24 シェアハウス(中村・矢口・荻原宅)
class NotifyEndpoint | |
enum platform: [:apns, :gcm] | |
end |