__unsafe_unretained NSString struct var

前端 未结 4 1100
鱼传尺愫
鱼传尺愫 2021-01-03 10:38

I am trying to create a structure that has several different variable of different types in it.

several of the types are of NSString, but trying to do this was caus

4条回答
  •  天涯浪人
    2021-01-03 11:09

    Dont put objective C objects in structs. Thats why Obj C supports classes. You are coding C.

提交回复
热议问题