{"published":"2015-07-26 22:44:45","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.toyship.org%2Farchives%2F2208\" title=\"Swift 2.0 \u306e\u65b0\u3057\u3044Option\u3001OptionSetType - Toyship.org\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"toyship","blog_url":"https://www.toyship.org/","image_url":null,"width":"100%","type":"rich","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","blog_title":"Toyship.org","version":"1.0","author_url":"https://blog.hatena.ne.jp/toyship/","categories":["iOS","Swift"],"description":"Swift 2.0\u3067\u306f\u3001Option\u306e\u578b\u304c\u5909\u308f\u308a\u307e\u3057\u305f\u3002 \u3042\u305f\u3089\u3057\u304f\u5c0e\u5165\u3055\u308c\u305f OptionSetType \u306b\u3064\u3044\u3066\u3061\u3087\u3063\u3068\u898b\u3066\u307f\u307e\u3057\u305f\u3002 OptionSetType\u3068\u306f \u6700\u8fd1\u3001Swift1.2\u306e\u65e2\u5b58\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306eSwift2.0\u5bfe\u5fdc\u3092\u5c11\u3057\u305a\u3064\u59cb\u3081\u305f\u3093\u3067\u3059\u304c\u3001UIUserNotificationType \u306e option \u8a2d\u5b9a\u3067\u30b3\u30f3\u30d1\u30a4\u30eb\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3002 \u3053\u3093\u306a\u611f\u3058\u306e\u30b3\u30fc\u30c9\u3092\u66f8\u3044\u3066\u3044\u305f\u3093\u3067\u3059\u304c\u3001\u300cBinary operator '|' cannot be applied to two UIUserNotificationType operands\u300d\u3068\u3044\u3046\u30a8\u30e9\u30fc\u304c\u8868\u793a\u3055\u308c\u3066\u3044\u307e\u3057\u305f\u3002 let ty\u2026","url":"https://www.toyship.org/archives/2208","title":"Swift 2.0 \u306e\u65b0\u3057\u3044Option\u3001OptionSetType"}