Why should you check a static variable for nil if it was initialized to nil on the previous line?

后端 未结 0 684
孤独总比滥情好
孤独总比滥情好 2021-02-15 22:05

Below is a code sample from Apple\'s iOS Core Data tutorial and I thought it was weird that the conditional statements are checking if the object is nil. Wouldn\'t the object al

相关标签:
回答
  • 消灭零回复
提交回复
热议问题