Skip to content

Instantly share code, notes, and snippets.

View sergeyzenchenko's full-sized avatar

Sergey Zenchenko sergeyzenchenko

View GitHub Profile
@PaulTaykalo
PaulTaykalo / CKComponent+Injection.mm
Created October 26, 2015 18:34
UpdateOnClassInjection for liver reload Componens from Componentkit
@implementation CKComponent (Injection)
- (void)updateOnClassInjection {
dispatch_async(dispatch_get_main_queue(), ^{
// Search for the first component hostig view
id comp = self;
while (comp) {
comp = [comp nextResponder];
if ([comp isKindOfClass:[CKComponentHostingView class]]) {