Question: what is nsobject in ios swift?
Answer: Subclassing NSObject in Swift gets you Objective-C runtime flexibility but also Objective-C performance. Avoiding NSObject can improve performance if you don't need Objective-C's flexibility. Edit: ... This allows us to instruct Swift that a method should use dynamic dispatch, and will therefore support interception.