Error in Obj-C : Expected identifier or '('

前端 未结 3 1134
迷失自我
迷失自我 2021-01-27 16:23

I\'m trying to make a simple app with a button a score counter and a timer but I\'m getting some errors

    #import 

@interface xyzViewCont         


        
3条回答
  •  青春惊慌失措
    2021-01-27 16:51

    Define your interface in the .h iff they are to be public, then create your implementation in the .m. You can't combine them in the .h

提交回复
热议问题