Skip to content

Commit

Permalink
Merge pull request #45 from hayashi311/support-modules-flag-off
Browse files Browse the repository at this point in the history
Enable to compile when CLANG_ENABLE_MODULES=No
  • Loading branch information
vtourraine committed Dec 3, 2015
2 parents fa9a814 + 940d4c4 commit 7b0a845
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Classes/VTAcknowledgementViewController.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.

#if __has_feature(modules)
@import UIKit;
#else
#import <UIKit/UIKit.h>
#endif

/**
`VTAcknowledgementViewController` is a subclass of `UIViewController` that displays
Expand Down
4 changes: 4 additions & 0 deletions Classes/VTAcknowledgementsViewController.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.

#if __has_feature(modules)
@import UIKit;
#else
#import <UIKit/UIKit.h>
#endif

// Only available with Xcode 6+, so we need to handle older versions too.
#ifndef IBInspectable
Expand Down

0 comments on commit 7b0a845

Please sign in to comment.