• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSByteCountFormatter in Swift
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSByteCountFormatter in Swift


  • Subject: NSByteCountFormatter in Swift
  • From: "Gerriet M. Denkmann" <email@hidden>
  • Date: Fri, 04 Jul 2014 16:27:27 +0700

I tried:

let a : UInt = 12345
let byteString = NSByteCountFormatter( stringFromByteCount: a, countStyle: .Binary )

and get an error:  "Could not find member 'Binary'"

How can I get my string?

Gerriet.


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: NSByteCountFormatter in Swift
      • From: Roland King <email@hidden>
  • Prev by Date: Re: C-Arrays in Swift
  • Next by Date: Re: NSByteCountFormatter in Swift
  • Previous by thread: Re: debugging Mac framework in Xcode 5.1.1
  • Next by thread: Re: NSByteCountFormatter in Swift
  • Index(es):
    • Date
    • Thread