Error Expected : before token [

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

  1. ikillwindows macrumors newbie

    Joined:
    Mar 6, 2011
    #1
    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

    Joined:
    Apr 22, 2005
  3. xStep macrumors 68000

    Joined:
    Jan 28, 2003
    Location:
    Less lost in L.A.
    #3
    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

    Joined:
    Mar 6, 2011

Share This Page