Global variable NSMuteableArray using Singleton Class

前端 未结 3 536
一个人的身影
一个人的身影 2020-12-16 08:51

I\'m having trouble creating a nice way of passing a collection around to different view controllers. For example, I created a custom class called Message with a bunch of a

3条回答
  •  再見小時候
    2020-12-16 09:06

    A thought:

    @synthesize generates setter and getter methods, it doesn't init your variable. Where do you do that? I can't see it in the excerpts you posted.

提交回复
热议问题