If you look in NSObjCRuntime.h (in Foundation) you will see that FOUNDATION_EXPORT
compiles to extern
in C, extern "C"
in C++, and other things in Win32. So, it’s more compatible across languages and operating systems. For many projects, this won’t make any difference.
More Related Contents:
- Forward-declare enum in Objective-C
- 3 questions about extern used in an Objective-C project
- Synthesized property and variable with underscore prefix: what does this mean? [duplicate]
- What’s the difference between “class method” and “static method”?
- Compiler error: “initializer element is not a compile-time constant”
- What does this gdb output mean?
- What’s the meaning of Base SDK, iOS deployment target, Target, and Project in xcode
- Objective-C Exceptions
- Why put underscore “_” before variable names in Objective C [duplicate]
- how to check screen size of iphone 4 and iphone 5 programmatically in swift
- What is the difference between inheritance and Categories in Objective-C
- Private Methods in Objective-C, in Xcode 4.3 I no longer need to declare them in my implementation file ?
- Properties and accessors in Objective-C
- Container View Controller Examples [closed]
- Placement of the asterisk in Objective-C
- How do I weak link frameworks on Xcode 4?
- How to Base64 encoding on the iPhone
- NSDate is 5 hours off
- error: writable atomic property cannot pair a synthesized setter/getter with a user defined setter/getter
- Hide autolayout UIView : How to get existing NSLayoutConstraint to update this one
- How to stop unwanted UIButton animation on title change?
- iOS: How do I know if a property is KVO-compliant?
- Using NSRegularExpression to extract URLs on the iPhone
- Send notification to Mountain lion notification center
- @property and @synthesize
- Objective C – How do I use initWithCoder method?
- UIBezierPath Multiple Line Colors
- Detecting if UIView is intersecting other UIViews
- Give warning when [super method] is not called
- How to get the width of an NSString?