> On 20 Feb 2016, at 14:14, Gerriet M. Denkmann <[email protected]> wrote:
> 
> 
>> On 20 Feb 2016, at 13:02, Quincey Morris 
>> <[email protected]> wrote:
>> 
>> On Feb 19, 2016, at 21:30 , Gerriet M. Denkmann <[email protected]> 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 ([email protected])

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 [email protected]

Reply via email to