请问这个链式语法怎么转swift
Opened this issue · 0 comments
zt1993 commented
WZRunLoopObserver.main.limit(50).cache(YES).add(^{
imageView1.image = [UIImage imageWithData:[NSData dataWithContentsOfURL:[NSURL URLWithString:path]]];
}).add(^{
imageView2.image = [UIImage imageWithData:[NSData dataWithContentsOfURL:[NSURL URLWithString:path]]];
});
请问这个方法怎么转成swift