¡@

Home 

2014/10/15 ¤U¤È 10:12:14

iphone Programming Glossary: numbercopy

NSInteger to binary (string) value in 8bit format

http://stackoverflow.com/questions/1920213/nsinteger-to-binary-string-value-in-8bit-format

Adam Rosenfield... SO Question 655792 NSInteger theNumber 56 NSMutableString str NSMutableString string for NSInteger numberCopy theNumber numberCopy 0 numberCopy 1 Prepend 0 or 1 depending on the bit str insertString numberCopy 1 @ 1 @ 0 atIndex 0.. Question 655792 NSInteger theNumber 56 NSMutableString str NSMutableString string for NSInteger numberCopy theNumber numberCopy 0 numberCopy 1 Prepend 0 or 1 depending on the bit str insertString numberCopy 1 @ 1 @ 0 atIndex 0 NSLog @ Binary version.. NSInteger theNumber 56 NSMutableString str NSMutableString string for NSInteger numberCopy theNumber numberCopy 0 numberCopy 1 Prepend 0 or 1 depending on the bit str insertString numberCopy 1 @ 1 @ 0 atIndex 0 NSLog @ Binary version @ str Thanks..