Error Expected : before token [

Discussion in 'iOS Programming' started by ikillwindows, Mar 11, 2011.

  1. ikillwindows macrumors newbie

    Mar 6, 2011
    I was following this tutorial and came across an error when trying to build and run. It read

    Expected ':' before '[' token

    This appears twice. What am I doing wrong and how can i fix it. The guy in the video didnt get this error and I triple checked my code to make sure I completely copied him.
  2. admanimal macrumors 68040

    Apr 22, 2005
  3. xStep macrumors 68000

    Jan 28, 2003
    Less lost in L.A.
    Another tip is to comment out that line and keep going up until the real problem line reveals it self.

    As mentioned, post your code.
  4. ikillwindows thread starter macrumors newbie

    Mar 6, 2011

Share This Page