4 ms·
I don't think syntax is really the issue. Using objc these days is clunky for reasons besides syntax.
by badman_ting 12y ago
I don't think syntax is really the issue. Using objc these days is clunky for reasons besides syntax.
- matwood 12y agoLike dealing with ARC, which is still clunky: @lazy var asHTML: () -> String = { [unowned self] in if let text = self.text { return "<\(self.name)>\(text)</\(self.name)>" } else { return "<\(self.name) />" } } Excerpt From: Apple Inc. “The Swift Programming Language.” iBooks. https://itun.es/us/jEUH0.l https://itun.es/us/jEUH0.l