Created
October 22, 2014 12:18
-
-
Save Ryusuke-Kawasaki/38351f7abe4da767ca19 to your computer and use it in GitHub Desktop.
Optional4.swift
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
var middleName:String? | |
middleName = "abcde" | |
middleName?.isEmpty | |
middleName = nil | |
middleName?.isEmpty //nilに対してメッセージを送っても何もしな |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment