FLEXTool / FLEX

An in-app debugging and exploration tool for iOS
Other
14.07k stars 1.7k forks source link

Fix: when data is nil, `isValidJSONData` will crash #680

Closed ZuhanLin closed 2 months ago

ZuhanLin commented 1 year ago

fix crash

NSExceptional commented 1 year ago

I would rather assert data is not nil with NSParameterAssert and do whatever we need to do first to not even present the view controller if there is no data