Monday, June 8, 2015

Conditional unwrapping in swift using where clause


checking the optional bool variable as well as that is that variable is true or not


if canPlay = self.dataSource?.functiion() where canPlay= true {

}

No comments:

Post a Comment