Skip to content

Commit 2321bc7

Browse files
author
Jonathan Hersh
committed
[Imports] Updates for Obj-C++ compat. Fixes #50
1 parent 2646229 commit 2321bc7

10 files changed

+11
-12
lines changed

Example/Podfile.lock

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ PODS:
44
- MagicalRecord/Core (= 2.2)
55
- MagicalRecord/Core (2.2)
66
- OCMock (3.1.2)
7-
- SSDataSources (0.8.3)
7+
- SSDataSources (0.8.4)
88

99
DEPENDENCIES:
1010
- Expecta
@@ -20,6 +20,6 @@ SPEC CHECKSUMS:
2020
Expecta: 8c507baf13211207b1e9d0a741480600e6b4ed15
2121
MagicalRecord: f8a56bb87ab6552f20c4bb8681a1958a197ea3cd
2222
OCMock: a10ea9f0a6e921651f96f78b6faee95ebc813b92
23-
SSDataSources: ae1b68dc96afbe8035c7075d68a8bde4e3ab9668
23+
SSDataSources: b93d3818dd029bbaf59356e25348acb776356e38
2424

2525
COCOAPODS: 0.36.3

SSDataSources.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "SSDataSources"
3-
s.version = "0.8.3"
3+
s.version = "0.8.4"
44
s.summary = "Flexible data sources for your UITableView and UICollectionView."
55
s.homepage = "https://github.com/splinesoft/SSDataSources"
66
s.license = { :type => 'MIT', :file => 'LICENSE' }

SSDataSources/SSArrayDataSource.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//
88

99
#import "SSBaseDataSource.h"
10-
@import CoreData;
10+
#import <CoreData/CoreData.h>
1111

1212
/**
1313
* Data source for single-sectioned table and collection views.

SSDataSources/SSBaseCollectionCell.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* You probably don't need to override `identifier`.
1313
*/
1414

15-
@import UIKit;
15+
#import <UIKit/UIKit.h>
1616

1717
@interface SSBaseCollectionCell : UICollectionViewCell
1818

SSDataSources/SSBaseCollectionReusableView.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* A simple base collection reusable view. Subclass me if necessary.
1111
*/
1212

13-
@import UIKit;
13+
#import <UIKit/UIKit.h>
1414

1515
@interface SSBaseCollectionReusableView : UICollectionReusableView
1616

SSDataSources/SSBaseDataSource.h

+1-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@
1313
* SSArrayDataSource, SSSectionedDataSource, SSCoreDataSource, and SSExpandingDataSource.
1414
*/
1515

16-
@import Foundation;
17-
@import UIKit;
16+
#import <UIKit/UIKit.h>
1817

1918
@interface SSBaseDataSource : NSObject <UITableViewDataSource, UICollectionViewDataSource>
2019

SSDataSources/SSBaseHeaderFooterView.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* Subclass me if necessary.
1212
*/
1313

14-
@import UIKit;
14+
#import <UIKit/UIKit.h>
1515

1616
@interface SSBaseHeaderFooterView : UITableViewHeaderFooterView
1717

SSDataSources/SSBaseTableCell.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// Copyright (c) 2013 Jonathan Hersh. All rights reserved.
77
//
88

9-
@import UIKit;
9+
#import <UIKit/UIKit.h>
1010

1111
/**
1212
* A simple base table cell. Subclass me and override configureCell

SSDataSources/SSCoreDataSource.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//
88

99
#import "SSBaseDataSource.h"
10-
@import CoreData;
10+
#import <CoreData/CoreData.h>
1111

1212
/**
1313
* Generic table/collectionview data source, useful when your data comes from an NSFetchedResultsController.

SSDataSources/SSSection.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// Copyright (c) 2013 Splinesoft. All rights reserved.
77
//
88

9-
@import Foundation;
9+
#import <Foundation/Foundation.h>
1010

1111
/**
1212
* SSSection models a single section in a multi-sectioned table or collection view

0 commit comments

Comments
 (0)