2015-07-05から1日間の記事一覧
Xcodeでデフォルトで生成される以下のようなtemplateを変更したい場合は // // File.swift // Project_name // // Created by xxxxxxxxxxx on xxxx/xx/xx. // Copyright © 2015年 xxxxxxxxx xxxxxxx. All rights reserved. // import Foundation このように…
Swift2からRawOptionSetTypeがOptionSetType (OptionSetType Protocol Reference) に変わったため、 例えばUIViewAutoresizingの場合、 これまでは view?.autoresizingMask = UIViewAutoresizing.FlexibleWidth | UIViewAutoresizing.FlexibleHeight だっ…