Open niklele opened 7 years ago
Let's talk about this on Sat. I think I can be helpful here.
Is this a beta priority? Can we push this back until after? If we can push it back, please remove its milestone. @niklele
edit: I removed its milestone. If it's important, re-add it.
I wasn't able to use the Int() function or Int.Init() function as the parse function in safeValue because Swift couldn't resolve the function to the one that takes in String and returns Int? This will remove the need for the function safeValueInt() so that all cases use the generic function
Rational doesn't have an initializer from String to Rational? so making that will also allow for more uses of the generic function.
see Extensions/AEXMLElement.swift