Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .h
- @interface StaticClazz: NSObject
- + (StaticPropertyClazz*)staticProperty;
- @end
- .m
- static StaticPropertyClazz* _staticProperty = nil;
- @implementation StaticClazz()
- + (StaticPropertyClazz*) staticProperty {
- return _staticProperty;
- }
- + (void)setStaticProperty(StaticPropertyClazz*)staticProperty {
- _staticProperty = staticProperty;
- }
Advertisement
Add Comment
Please, Sign In to add comment