I edited some code to use a variable instead of a number.
NSUInteger *hoeveelChars = [eersteDertigTek length] - 30;
I changed
substringFromIndex: [eersteDertigTek length] - 30]
to
substringFromIndex: [eersteDertigTek length] - hoeveelChars]
Gives me the error invalid operands to binary expression (‘nstuinteger”(aka”nisgned int”) and (‘nstuinteger”(aka”nisgned int”)).
Not sure how to fixe this since I do need to have the – number as a variable is there anyone that knows a solution to this?
Just use
NSUIntegeris not a class. See Foundation Data Types Reference.