Performs the receiver’s non-concurrent task.
- iOS 2.0+
- macOS 10.5+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
The default implementation of this method does nothing. You should override this method to perform the desired task. In your implementation, do not invoke
super. This method will automatically execute within an autorelease pool provided by
NSOperation, so you do not need to create your own autorelease pool block in your implementation.
If you are implementing a concurrent operation, you are not required to override this method but may do so if you plan to call it from your custom