kas-kad / AdvancedNSOperations

Objective-C implementation of concepts introduced at WWDC 2015 Session 226 Advanced NSOperations.
53 stars 13 forks source link

Check all array insertions to prevent adding a nil value #6

Open kas-kad opened 9 years ago

kas-kad commented 9 years ago

Check all array insertions to prevent adding a nil value

kas-kad commented 9 years ago

https://github.com/purrrminator/AdvancedNSOperations/blob/master/Operations/Operations/KADOperation.m#L178

hamdshah commented 9 years ago

@purrrminator gr8 job man, i had started to convert the project to objective-c but then in the middle i found this :smiley:

"internalErrors" is not initialized which caused nil error array on finished.

https://github.com/purrrminator/AdvancedNSOperations/blob/master/Operations/Operations/KADOperation.m#L221

temporary initialization added to "willEnqueue" in my project.