Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
cameryn smith
2,828 PointsCan someone explain what NSIndexPath used for and when and where would you use it?
I'm not sure how you would use NSIndexPath or even what it is?
3 Answers
Faisal Alsheikh
8,841 PointsDon't worry if some concepts are still vague to you. the learning curve for IOS development is slow at the beginning and then at a certain point in time things will become very clear to you. a few tricks from my learning experience:
1- always implement the tutorials in videos at the same time you are watching them. this will take more time and will for sure make you pause the video every few seconds just to catch up on code copying from the instructor.
2- If you are copying code and couldn't understand how did that thing work out? don't worry, watch the video again and play with the code by commenting out parts of it (adding the // before a line) to see what change will happen on the app through the simulator.
3- you will reach points of desperation during the course where you will feel that you are not meant to be a developer and this is hard stuff. Ignore these feelings and just continue what you do. focus and add up extra readings through other sites. Use stackoverflow.com and appcoda.com as additional material to read and understand.
4- take breaks and don't rush your self into finishing the material as quick as possible.
as for the question you are asking right now regarding NSIndexPath, the right answer that should come from a beginner like me is to ask you to go to apples documentation and search up NSIndexPath and from it hopefully, you will have some answers to your question.
I wish you all the best and good luck.
Faisal Alsheikh
8,841 Pointsi think it would be best for you to enrol yourself to the IOS Development track. This will answer all of your question that you have in the forum. i tried for more than a month now, and i am happy with the basic knowledge i gained during this month. so go ahead and try it out. The guys at TreeHouse did an awesome job
cameryn smith
2,828 PointsI'm already half way through it, I'm just having trouble understanding some of the basic concepts.
cameryn smith
2,828 PointsO_o woah deep.Dude thanks so much, I needed that. I don't mean to badger people with questions I'm just really trying learn this because I love programming. Those tips were something every beginner needs to hear, because I wasn't getting discouraged, i was trying to comprehend everything at once. I guess you just can't rush the learning curve but I will learn, no doubt.
Faisal Alsheikh
8,841 Pointsyes you will :)