¡@

Home 

2014/10/15 ¤U¤È 10:11:47

iphone Programming Glossary: myprocess

How to print a NSInteger value from an NSManagedObject using NSLog

http://stackoverflow.com/questions/1528670/how-to-print-a-nsinteger-value-from-an-nsmanagedobject-using-nslog

I expect. For example I assign the object 'sequence' to an NSInteger and then display using an NSLog format string MyProcess myProcess array objectAtIndex i NSInteger sequence NSNumber numberWithInteger NSInteger myProcess.sequence intValue NSLog.. NSInteger myProcess.sequence intValue NSLog @ sequence d myProcess.sequence Console output is 2009 10 06 16 11 05.871 MyProcess 33185 20b sequence 565256 But when I try 'Print to Console' from the debugger I see the value 1 MyStoryImage 0x3f59a80 entity.. I see the value 1 MyStoryImage 0x3f59a80 entity MyObject id 0x3f2d540 x coredata FF21959A 4B67 4587 A25F 66A7B8139DFA MyProcess p2 data sequence 1 x coredata FF21959A 4B67 4587 A25F 66A7B8139DFA MyProcess p1 Your help is appreciated objective c iphone..