@aral You should be able to do 'a as? NSNumber' in one step without unwrapping 'a'; it'll produce nil if 'a' is nil or not NSNumber.
Any ideas for a shorter method with better intent for doing this? (AnyObject? -> unwrapped value in Swift) https://gist.github.com/aral/f65d30da4aff818af3c4 …
-
-
-
@jckarter Ah, of course, and it won’t get to the where :) Thanks, Joe!
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.