Yesterday I installed the official Xcode 7 and when I tried to open one of my Swift projects, appeared an alert saying that the new Xcode version wants to update my swift co
I was trying to make use of ?? in a clever way when this happened to me.
I guess swift does not like when you try to chain multiple ?? together as in, though the syntax highlighter doesn't throw any error:
let ageNum = self.ageValue > 0 ?? self.birthday?.ageFromDate() ?? 0