lib/udgenerator/swift.rb in udgenerator-1.0.3 vs lib/udgenerator/swift.rb in udgenerator-1.0.4

- old
+ new

@@ -12,9 +12,11 @@ result[$1] = object($2) elsif /\s*(var|let)\s+(\w+)\s*:\s*(\w+)\??\s*;?\s*/ =~ s then result[$2] = object($3) end } + result.delete("sharedManager") + result.delete("defaults") result end def object(type) if "NSString" == type NSString.new()