No, it is not declared twice, it is a class interface (anonymous category) that is created to store methods that you want to keep in your class, for methods that you do not want another class to see or interact with ..
People often declare a standard category with a name (usually "private") for storing private methods, but the main advantage of using an anonymous category for a named category is that the compiler will complain if you do not implement a method declared in an anonymous category.
I noticed that it is created by default with Xcode 4.3 onwards.
Putting methods into this extension A class is like declaring private methods in Java or C ++ ...
source share