I am a bit confused as when we should use FOUNDATION_EXPORT in objective-c and what the purpose of that is? Can anyone explain in layman terms? Thanks!
When to use FOUNDATION_EXPORT?
Never.
FOUNDATION_EXPORT is an undocumented implementation detail of Apple's system frameworks so you should not use it at all.
FOUNDATION_EXPORT