> On 20 Feb 2016, at 14:14, Gerriet M. Denkmann <gerr...@mdenkmann.de> wrote: > > >> On 20 Feb 2016, at 13:02, Quincey Morris >> <quinceymor...@rivergatesoftware.com> wrote: >> >> On Feb 19, 2016, at 21:30 , Gerriet M. Denkmann <gerr...@mdenkmann.de> wrote: >> >> Now that I code almost exclusively in Swift, the problem has largely >> disappeared, because ‘“\(someValue)"' is a lot easier*** than ‘[NSString >> stringWithFormat: "%lu", (someCast) someValue]’. > > Is there (yet) a Swift version of ‘[NSString stringWithFormat: “%08lx”, > (someCast) someValue]’ ? > Last time I checked, this was the only way to print formatted strings. > > Kind regards,
var str = String( format: "%08lx", 123 ) _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com