Re: Why doesn't my Swift method get called.

2015-06-17 Thread James Cicenia
Hmm, I had a bad UIImage(named: "menu-new”) should have been menu-news as an array element in the parameter. > On Jun 17, 2015, at 9:09 AM, Dave wrote: > > What happens when you put a breakpoint in the method, rather then trying to > step into it? > >> On 17 Jun 2015, at 14:47, James Cic

Re: Why doesn't my Swift method get called.

2015-06-17 Thread Dave
What happens when you put a breakpoint in the method, rather then trying to step into it? > On 17 Jun 2015, at 14:47, James Cicenia wrote: > > I added a swift file to my project. I wanted to use an open source sidebar. > > I have checked my targets, etc. > Xcode compiles, builds and runs my co

Why doesn't my Swift method get called.

2015-06-17 Thread James Cicenia
I added a swift file to my project. I wanted to use an open source sidebar. I have checked my targets, etc. Xcode compiles, builds and runs my code without a problem. But when I debug it, it just goes over and never into the method. Why would it do that? It builds and compiles, and even if I clic