2 ms·
Its interface is definitely cumbersome by Java standards - but through it you gain a lot of control over performance. String ops are painful because you are clo
by potatolicious 18y ago
Its interface is definitely cumbersome by Java standards - but through it you gain a lot of control over performance. String ops are painful because you are cloning your memory over and over, and if you used NSMutableString instead, you'd get a much nicer interface as a result.
If ever in Cocoa you think to yourself "man, this API is really awkward", Google it, you might find that you're not using it right. It certainly worked for me.