Pavel Akhrameev
Pavel Akhrameev
"Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'data parameter is nil'". Check responce for nil before use [NSJSONSerialization JSONObjectWithData:response options:kNilOptions error:&error]; add if (!responce) return; before it
add missed `renderer.dispose()` call
Hi! I've added _baseInit call on initWithNibName. Addition JASidePanels-subclass as an implementation of class with xib-file fixed. It was unexpected to find out different behavior for subclassing and for composition...
(and test for this case provided)
as closures are @noescape by default and don't retain 'self' since Swift version 3 More info: https://stackoverflow.com/questions/38141298/lazy-initialisation-and-retain-cycle https://github.com/apple/swift-evolution/blob/main/proposals/0103-make-noescape-default.md https://michael-kiley.medium.com/why-your-lazy-vars-arent-creating-strong-reference-cycles-in-ios-d512ff2c9403
Reverted arrows colors to make them readable + add gray rounded rectangles under black text
just polishing code