NSUserDefaults-Property icon indicating copy to clipboard operation
NSUserDefaults-Property copied to clipboard

swift @dynamic

Open tychop opened this issue 10 years ago • 1 comments

How do you use the code in a swift project?

tychop avatar Dec 26 '14 12:12 tychop

Since Swift doesn't support the functionality of @dynamic except for Core Data (i.e. @NSManaged), you need to implement it in ObjC like NSUserDefaults+Example.[hm] does and import the header file via your bridge file.

nh7a avatar Dec 26 '14 16:12 nh7a