Welcome to the Treehouse Community
Looking to learn something new?
iOS Swift DropDown Menu/List
I need help trying to create a dropdown menu or list in xcode 6 in the Swift language. I don't even know where to start, can anyone provide me with a starting point or a tutorial I could follow? Thanks. All your help is very much appreciated.
Martin WildfeuerCourses Plus Student 11,071 Points
So, as a starting point for custom controls I can recommend cocoacontrols.com. Searches like dropdown, complete or suggest come to my mind.
Searching on Google, you will almost always end up at Stack Overflow, one of the most valuable resources when it comes to specific programming questions.
From there, chances are that you will be directed to a repository on GitHub, that is where most of the open source code can be found.
As swift is a brand new language, most of the controls will be written in Objective-C. You can still use them, as long as you are using a so-called bridging header. More on the topic can be found at Apple Developer Docs.
Unfortunately, I cannot provide finished code, but here are a few links to check out
Hope that helps :)