This question is locked. New answers and comments are not allowed.
I'm trying to implement a DataForm into a current project but one of the requirements is to get the editor to have a similar visual appearance as the other areas of the app and so I need to either update the frames of the labels and other fields or is there a way to use a custom tableviewcell for the editor? I tried updating the frame using the code below, but the frame doesn't get updated (I put the blue background just so I can verify if it's changed the way I want and it still shows the same default frame. I know there's a way to change the offset, but that doesn't change the height of the labels, which is something I would need as well.
override func dataForm(dataForm: TKDataForm, updateEditor editor: TKDataFormEditor, forProperty property: TKEntityProperty) { //for the title editor move the label above the editor if property.name == "title" { editor.textLabel.frame = CGRectMake(15, 4, self.dataForm.frame.width, 16) editor.textLabel.font = UIFont(name: "Helvetica-Light", size: 13) editor.textLabel.textColor = UIColor.darkGrayColor() editor.textLabel.backgroundColor = UIColor.blueColor() } }