Question: what is the difference between category and extension in objective-c?
Answer: Categories are an Objective-C language feature that let you add new methods to an existing class, much like C# extensions. ... Objective-C's extensions are a special case of categories that let you define methods that must be declared in the main implementation block.