How do you implement the use of Java's Runnable in Objective-C?

Asked 2 years ago, Updated 2 years ago, 37 views

How should I approach the object that I used to write in Java with Implement Runable in Objective-C? It's called NSThread. If I inherit this guy, does it look similar? In summary, Obj-C wants to implement the form of throwing Runnable into Java's ThreadExecutor.

ios

2022-09-22 08:19

1 Answers

Why don't you use Grand Central Dispatch (GCD) or NSOperation?


2022-09-22 08:19

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.