UITableView send selection to email address

Discussion in 'iOS Programming' started by PG6, Nov 28, 2014.

  1. PG6 macrumors newbie

    Joined:
    Nov 28, 2014
    #1
    I've got an list with objects in a TableView. The list with objects is being loaded from an external .plist on a server. Now I'd like to get that when the cells in the TableView are tapped they become another colour (green) and when finished tapping cells you can press a button which sends the tapped cells(the names of the objects) to an email address or a server, so the owner of the app can see which objects were selected.

    Can anyone help me (or point me in the right direction) on how to make this?
     
  2. dejo Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #2
    First, welcome to the forums!

    Second, it would be helpful if you provided some background information on yourself before we can try to answer your question. What is your experience level with iOS and Objective-C programming? Unless, of course, you are using Swift. Then, how familiar with that are you? Is this your first time trying to write an app using UITableView? Are you using any resources in your education on programming? If so, what? Please try to be as specific as possible.
     
  3. grandM macrumors 6502a

    grandM

    Joined:
    Oct 14, 2013
    #3
    you would have to use section and row of Indexpath to obtain the identifier of the objects. Having these identifiers you can mail info about the objects. Changing background color is done by cell.backgroundcolor =[UIColor greencolor]
     

Share This Page