ios - How to find string in tableview and update array? -


I'm loading tableviewcell with textview I'm loading an array Teblwu and I have Tekstfild editing and renaming There is another option in the name of I if it is the name of the same name, it already exists. At that time I am showing caution but if revert to the original name I do not want to show warning

  NSMutableArray * brokenCars = [NSMutableArray arrayWithObjects: @ "Audi A6", @ "BMW Z3 ", @" Audi Quatro ", @" Audi TT ", Zero]; If (isEditMode) {if ([tempstr length]> gt; {for (PlayerInfo * player broken Carr) {if ([player.playername isqualToString: tempstr]) {isPlayerExist = YES; if (occurrences & gt; 1) {CustomAlert * alert = [[CustomAlert alloc] initWithTitle: @ "" message: @ "Please select a different name" delegate zero cancellation Krenttntileः other Btntaile: @ ""] [alert show Inwu: Self. weave]; NSIndexPath * indexPath1 = [NSIndexPath Indekspathfayr search in selected road: 0]; [_playerTableRowAtIndexPath: indexPath1 animated: Yes Scrolpojisn: UITableViewScrollPositionTop];}}}}}  


Comments

Popular posts from this blog

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -