pyke369 / PKMultipartInputStream

an NSInputStream subclass suitable for building multipart/form-data http requests bodies in MacOSX/iOS applications.
http://github.com/pyke369/PKMultipartInputStream
MIT License
73 stars 19 forks source link

removeFromRunLoop:forMode: crash in iOS 8 #6

Closed paul-lalonde closed 9 years ago

paul-lalonde commented 9 years ago

Trapping the exception (deep in new SPDY handling, it seems), I'm getting: (NSException ) $0 = 0x000000017104e430 name:@"NSInvalidArgumentException" reason:@"\ -removeFromRunLoop:forMode: only defined for abstract class. Define -[PKMultipartInputStream removeFromRunLoop:forMode:]!"

Any clues?

kross50 commented 9 years ago

I had the same issue too. Hope this helps... I think the issue is now resolved in my code (still testing more) by adding the below. <BTW: I don't know why bullets show below before the (void) when in the editor it shows a hyphen. So if you see a bullet below replace it with a hyphen in your code after you copy-paste.>

// (adding to the .h)

// (and adding to the .m)

VilemKurz commented 9 years ago

This is fixed now, can be closed.