[CHANGE] Swift: use `NSNumber?` so you can set attributes to nil.
Check in MogenSwiftTest.