"SSwift, and you don't want to write a simple function out of principle?"
I know I can do that. I just think it's dumb I should have to. I'm not going to bother making a wrapper funciton like that though, that's overkill. I'm just gonna make some temporary local vars in the function I need to get the values in I guess.
But I guess you could say yes, it's the principle of the thing.
What would be really great is if they'd fix var so that you can cast the return value to different types. It's absurd that you can't stick an int into a float.
I know I can do that. I just think it's dumb I should have to. I'm not going to bother making a wrapper funciton like that though, that's overkill. I'm just gonna make some temporary local vars in the function I need to get the values in I guess.
But I guess you could say yes, it's the principle of the thing.
What would be really great is if they'd fix var so that you can cast the return value to different types. It's absurd that you can't stick an int into a float.