nmattisson/DropdownMenu

Getting started is not clear for newbies

Closed this issue · 4 comments

I'm new to iOS development but would like to try this awesome navigation controller.

So my question is - do I need manually make MyViewController inside my app the same as in example (https://github.com/nmattisson/DropdownMenu/tree/master/DropdownMenu-Example) while adding all these stuff to my storyboard?

@nmattisson another question regarding triangle, is it possible to put it on the left side without overriding drawOpenLayer?

Hi @voronianski,

I know you closed the issue so I'm assuming you figured it out already, but just in case someone else have the same questions:

  1. Yes, you need to use Storyboard to make your menu, and then hook the different components up to the appropriate outlets in the code. This is by design, with the idea that it's better to make UI in the editor than to write code to do it.
  2. With such a small change I would just change the coordinate in the code. It's generally not the recommended approach, but in that specific case I think it's easiest.

Cheers,
Nils

@nmattisson yeah, works like a charm! thanks ;)

@voronianski Great, happy you like it!