iOS 判断数组不为空

if (array != nil && ![array isKindOfClass:[NSNull class]] && array.count != 0)
原文地址:https://www.cnblogs.com/liuting-1204/p/5959147.html