Skip to content

Commit

Permalink
[Imports] Updates for Obj-C++ compat. Fixes #50
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Hersh committed Apr 7, 2015
1 parent 2646229 commit 2321bc7
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 12 deletions.
4 changes: 2 additions & 2 deletions Example/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ PODS:
- MagicalRecord/Core (= 2.2)
- MagicalRecord/Core (2.2)
- OCMock (3.1.2)
- SSDataSources (0.8.3)
- SSDataSources (0.8.4)

DEPENDENCIES:
- Expecta
Expand All @@ -20,6 +20,6 @@ SPEC CHECKSUMS:
Expecta: 8c507baf13211207b1e9d0a741480600e6b4ed15
MagicalRecord: f8a56bb87ab6552f20c4bb8681a1958a197ea3cd
OCMock: a10ea9f0a6e921651f96f78b6faee95ebc813b92
SSDataSources: ae1b68dc96afbe8035c7075d68a8bde4e3ab9668
SSDataSources: b93d3818dd029bbaf59356e25348acb776356e38

COCOAPODS: 0.36.3
2 changes: 1 addition & 1 deletion SSDataSources.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "SSDataSources"
s.version = "0.8.3"
s.version = "0.8.4"
s.summary = "Flexible data sources for your UITableView and UICollectionView."
s.homepage = "https://github.com/splinesoft/SSDataSources"
s.license = { :type => 'MIT', :file => 'LICENSE' }
Expand Down
2 changes: 1 addition & 1 deletion SSDataSources/SSArrayDataSource.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//

#import "SSBaseDataSource.h"
@import CoreData;
#import <CoreData/CoreData.h>

/**
* Data source for single-sectioned table and collection views.
Expand Down
2 changes: 1 addition & 1 deletion SSDataSources/SSBaseCollectionCell.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* You probably don't need to override `identifier`.
*/

@import UIKit;
#import <UIKit/UIKit.h>

@interface SSBaseCollectionCell : UICollectionViewCell

Expand Down
2 changes: 1 addition & 1 deletion SSDataSources/SSBaseCollectionReusableView.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* A simple base collection reusable view. Subclass me if necessary.
*/

@import UIKit;
#import <UIKit/UIKit.h>

@interface SSBaseCollectionReusableView : UICollectionReusableView

Expand Down
3 changes: 1 addition & 2 deletions SSDataSources/SSBaseDataSource.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@
* SSArrayDataSource, SSSectionedDataSource, SSCoreDataSource, and SSExpandingDataSource.
*/

@import Foundation;
@import UIKit;
#import <UIKit/UIKit.h>

@interface SSBaseDataSource : NSObject <UITableViewDataSource, UICollectionViewDataSource>

Expand Down
2 changes: 1 addition & 1 deletion SSDataSources/SSBaseHeaderFooterView.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* Subclass me if necessary.
*/

@import UIKit;
#import <UIKit/UIKit.h>

@interface SSBaseHeaderFooterView : UITableViewHeaderFooterView

Expand Down
2 changes: 1 addition & 1 deletion SSDataSources/SSBaseTableCell.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright (c) 2013 Jonathan Hersh. All rights reserved.
//

@import UIKit;
#import <UIKit/UIKit.h>

/**
* A simple base table cell. Subclass me and override configureCell
Expand Down
2 changes: 1 addition & 1 deletion SSDataSources/SSCoreDataSource.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//

#import "SSBaseDataSource.h"
@import CoreData;
#import <CoreData/CoreData.h>

/**
* Generic table/collectionview data source, useful when your data comes from an NSFetchedResultsController.
Expand Down
2 changes: 1 addition & 1 deletion SSDataSources/SSSection.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright (c) 2013 Splinesoft. All rights reserved.
//

@import Foundation;
#import <Foundation/Foundation.h>

/**
* SSSection models a single section in a multi-sectioned table or collection view
Expand Down

0 comments on commit 2321bc7

Please sign in to comment.