-5
試圖弄清楚這個Obj C應該如何轉換爲swift? -如何在swift中編寫Objective-C塊
[_encoder encodeWithBlock:^int(NSArray* data, double pts) {
return 0;
}];
請指教??
試圖弄清楚這個Obj C應該如何轉換爲swift? -如何在swift中編寫Objective-C塊
[_encoder encodeWithBlock:^int(NSArray* data, double pts) {
return 0;
}];
請指教??
self.encode.encodeWithBlock:{ (data, pts) in
return 0;
}
非常感謝Syed e Hussani – TheSnakeWizard