I have two arrays
1)nameArray;
2)numberArray;
These arrays contains names and numbers , I want to display these name and numbers in a tableview without using nib . How to create custom cell programmatically
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The above code isn’t tested, I’m not on a computer to do this (rather on my iPhone typing this all out) but it should be pretty much what you need code wise.
textLabel = property name you set for the label in your custom cell class
subtextLabel = property name you set for the label in your custom cell class
Hope this helps!