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 trialtofful
6,988 PointsWhen are we gonna learn SEGMENTED CONTROL on iOS lessons?
I was wondering if you guys are planning to teach us SEGMENTED CONTROL on iOS course, and how to connect the app with my data base (I have a hosting with mySQL and I want to use it).
Thank you Cheers
2 Answers
Matthew Mascioni
20,444 PointsGood question!
Assuming you mean the segmented control offered in UISegmentedControl, Apple offers some great reference, along with other tutorials available online:
- Segmented Controls: UIKit User Interface Catalog
- UISegmentedControl Class Reference
- Here is How You Use UISegmentedControl: Mobile App Mastery
Perhaps I might write a tutorial too :) If I do, I'll share it here.
As for connecting to a database, there are a variety of ways it can be done. Ray Wenderlich covers a simple way in PHP, but there are other languages that it could be coded in. Recently, objc.io released an awesome issue just on syncing data through various methods. Of course, in order to write the scripts to make the connection between your app and your web server possible, you may want to learn some languages to program on the web, like Rails or PHP, both of which Treehouse covers with great content.
I'm not quite sure if UISegmentedControl will be covered in future Treehouse videos, but keep an eye on their roadmap. There's another iOS project coming at some point relating to Core Data. Where getting data from a web service is concerned, you may want to get your feet wet by checking out both the Ribbit and Photo Bombers projects, both of which fetch data from pre-existing web services, that way you can get a good grip on the iOS side of things if you haven't already!
Hope this helps.
tofful
6,988 PointsWooww! thank you so much for your complete reply.. Definitely I'll check all the sources you've provided.
many thank, so helpful info.
Matthew Mascioni
20,444 PointsAnytime! Happy coding :)