I am developing an application in xmpp.I have gmail and facebook contacts in a tableview.But i want to differentiate those contacts.For Example gmail contacts will shown by ‘g’ letter and facebook contacts will shown by ‘f’ letter.can any one help me for my question.
thanks inadvance
You can create two sections for each of the Contact list:
Then you can give a header Title for each section:
And then according to the section number, you can implement your
cellForRowAtIndexPathby creating a separate arrays for both the kinds of contacts.All the best!!!