I have a core data model set up and I am using a text entry box to record data. My code looks like this:
NSManagedObject *newDevice = [NSEntityDescription insertNewObjectForEntityForName:@"Device" inManagedObjectContext:context];
NSNumber *timetickNumber = [NSNumber numberWithInt:timeTick];
[newDevice setValue:timetickNumber forKey:@"name"];
[newDevice setValue:self.versionTextField.text forKey:@"version"];
[newDevice setValue:self.companyTextField.text forKey:@"company"];
For the second entry title 'version' I am trying to add text in front of what ever is typed. For example, it would say 'This is' and then show the text that was typed next to it. Any thoughts? Thanks in advance!