Like in java:
A final class cannot be subclassed. This is done for reasons of security and efficiency. Accordingly, many of the Java standard library classes are final, for example java.lang.System and java.lang.String. All methods in a final class are implicitly final.
How can I achieve this behavior in objective-c?
You can’t. Efficiency doesn’t come into it. If you are that bothered about security don’t use objective-c. There will always be a way to get around any measures you take.