Top "Nsinteger" questions

An NSInteger is a data type in Objective-C. It is used to describe an integer.

adding NSInteger object to NSMutableArray

I have an NSMutableArray @interface DetailViewController : UIViewController <UITableViewDelegate, UITableViewDataSource> { NSMutableArray *reponses; } @property (nonatomic, retain) NSMutableArray *reponses; @end and …

iphone objective-c cocoa-touch nsmutablearray nsinteger
sort NSInteger using sortUsingComparator

I am trying to sort an array of NSObjects (a object is of a class). The object class has several …

objective-c ios cocoa-touch nsinteger
C/Objective-C read and get last digit of integer?

How can i get the last digit of an integer (or NSInteger) outputted to integer? example: int time = CFAbsoluteGetCurrent(); int …

objective-c c integer nsinteger digit
How do I get specific values from a NSIndexPath

I have a NSArray with NSIndexPaths inside of it NSArray *array = [self.tableView indexPathsForSelectedRows]; for (int i = 0; i < [array …

objective-c uitableview nsarray nsinteger nsindexpath
How to convert typedef enum to NSNumber?

Is each value of a typedef enum treated as an int? E.g., given the following typedef enum: // UIView.h …

enums typedef nsnumber nsinteger nsuinteger
Bad Receiver type 'NSInteger' (aka 'int')

int thumbCount = [_totalThumbs thumbsViewNumberOfThumbs:self]; _totalThumbs is a NSInteger type property. thumbsViewNumberOfThumbs is a method of type NSInteger. I need …

iphone nsinteger
Implicit Conversion from NSInteger to NSString not allowed in ARC.. what workaround should be used to deal with Integers

This is my code in my viewcontroller.m file - (void)viewDidLoad{ [super viewDidLoad]; [self.abilitygeneration setText:((TestAbility *)[self.testabilities …

xcode nsstring ios5 xcode4.2 nsinteger
Obtaining float from division between NSIntegers

I have two NSInteger variables called "domande" and "corrette". I have to execute this operation with them: corrette*10/domande. I …

objective-c floating-point nsinteger
Compare NSNumber with NSInteger

I spent some time today chasing down two bugs, and ended up fixing both of them using the same solution. …

iphone objective-c ios nsnumber nsinteger
Convert int64_t to NSInteger

How can i convert int64_t to NSInteger in Objective-C ? This method returns into score an int64_t* and I …

objective-c casting nsinteger