Skip to content
This repository has been archived by the owner on Oct 17, 2022. It is now read-only.

Commit

Permalink
Changing return types from id to instancetype, where appropriate. Closes
Browse files Browse the repository at this point in the history
  • Loading branch information
dcloud committed Mar 21, 2014
1 parent 3bef11a commit 8f1bba1
Show file tree
Hide file tree
Showing 22 changed files with 47 additions and 46 deletions.
4 changes: 2 additions & 2 deletions Classes/Categories/NSLayoutConstraint+Congress.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

@interface NSLayoutConstraint (Congress)

+ (id)constraintWithItem:(id)view attribute:(NSLayoutAttribute)attr constant:(CGFloat)constant;
+ (id)constraintWithItem:(id)view1 attribute:(NSLayoutAttribute)attr toItem:(id)view2;
+ (instancetype)constraintWithItem:(id)view attribute:(NSLayoutAttribute)attr constant:(CGFloat)constant;
+ (instancetype)constraintWithItem:(id)view1 attribute:(NSLayoutAttribute)attr toItem:(id)view2;

@end
4 changes: 2 additions & 2 deletions Classes/Categories/NSLayoutConstraint+Congress.m
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

@implementation NSLayoutConstraint (Congress)

+ (id)constraintWithItem:(id)view attribute:(NSLayoutAttribute)attr constant:(CGFloat)constant {
+ (instancetype)constraintWithItem:(id)view attribute:(NSLayoutAttribute)attr constant:(CGFloat)constant {
return [NSLayoutConstraint constraintWithItem:view
attribute:attr
relatedBy:NSLayoutRelationEqual
Expand All @@ -20,7 +20,7 @@ + (id)constraintWithItem:(id)view attribute:(NSLayoutAttribute)attr constant:(CG
constant:constant];
}

+ (id)constraintWithItem:(id)view1 attribute:(NSLayoutAttribute)attr toItem:(id)view2 {
+ (instancetype)constraintWithItem:(id)view1 attribute:(NSLayoutAttribute)attr toItem:(id)view2 {
return [NSLayoutConstraint constraintWithItem:view1
attribute:attr
relatedBy:NSLayoutRelationEqual
Expand Down
2 changes: 1 addition & 1 deletion Classes/Categories/NSMutableAttributedString+Congress.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@

@interface NSMutableAttributedString (Congress)

+ (id)stringWithFormat:(NSString *)format, ...NS_FORMAT_FUNCTION(1, 2);
+ (instancetype)stringWithFormat:(NSString *)format, ...NS_FORMAT_FUNCTION(1, 2);

@end
2 changes: 1 addition & 1 deletion Classes/Categories/NSMutableAttributedString+Congress.m
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

@implementation NSMutableAttributedString (Congress)

+ (id)stringWithFormat:(NSString *)format, ...
+ (instancetype)stringWithFormat:(NSString *)format, ...
{
va_list args;
va_start(args, format);
Expand Down
2 changes: 1 addition & 1 deletion Classes/Misc/SFSharedInstance.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
@protocol SFSharedInstance <NSObject>

@required
+ (id)sharedInstance;
+ (instancetype)sharedInstance;
@end
2 changes: 1 addition & 1 deletion Classes/SFAppSettings.m
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ @implementation SFAppSettings
NSURL *_remoteConfigURL;
}

+ (id)sharedInstance {
+ (instancetype)sharedInstance {
DEFINE_SHARED_INSTANCE_USING_BLOCK ( ^{
return [[SFAppSettings alloc] init];
});
Expand Down
2 changes: 1 addition & 1 deletion Classes/Services/SFBoundaryService.m
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

@implementation SFBoundaryService

+ (id)sharedInstance {
+ (instancetype)sharedInstance {
DEFINE_SHARED_INSTANCE_USING_BLOCK ( ^{
return [[SFBoundaryService alloc] initWithBaseURL:[NSURL URLWithString:@"http://ec2-184-73-61-66.compute-1.amazonaws.com/"]];
});
Expand Down
2 changes: 1 addition & 1 deletion Classes/Sharing/Activities/SFCalendarActivity.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
@property (nonatomic, strong) NSString *notes;
@property (nonatomic, strong) NSURL *url;

+ (id)activityForHearing:(SFHearing *)hearing;
+ (instancetype)activityForHearing:(SFHearing *)hearing;

@end
2 changes: 1 addition & 1 deletion Classes/Sharing/Activities/SFCalendarActivity.m
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ @implementation SFCalendarActivity {
@synthesize notes = _notes;
@synthesize url = _url;

+ (id)activityForHearing:(SFHearing *)hearing
+ (instancetype)activityForHearing:(SFHearing *)hearing
{
SFCalendarActivity *activity = [[SFCalendarActivity alloc] init];
[activity setStartDate:hearing.occursAt];
Expand Down
4 changes: 2 additions & 2 deletions Classes/Sharing/Activities/SFCongressGovActivity.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

@property (nonatomic, strong) NSURL *url;

+ (id)activityForBill:(SFBill *)bill;
+ (id)activityForBillText:(SFBill *)bill;
+ (instancetype)activityForBill:(SFBill *)bill;
+ (instancetype)activityForBillText:(SFBill *)bill;

@end
4 changes: 2 additions & 2 deletions Classes/Sharing/Activities/SFCongressGovActivity.m
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ @implementation SFCongressGovActivity

@synthesize url = _url;

+ (id)activityForBill:(SFBill *)bill
+ (instancetype)activityForBill:(SFBill *)bill
{
SFCongressGovActivity *activity = [[SFCongressGovActivity alloc] init];
[activity setUrl:[NSURL URLWithFormat:@"http://beta.congress.gov/bill/%@th-congress/%@-bill/%@",
bill.identifier.session, bill.chamber, bill.identifier.number]];
return activity;
}

+ (id)activityForBillText:(SFBill *)bill
+ (instancetype)activityForBillText:(SFBill *)bill
{
SFCongressGovActivity *activity = [[SFCongressGovActivity alloc] init];
[activity setUrl:[NSURL URLWithFormat:@"http://beta.congress.gov/bill/%@th-congress/%@-bill/%@/text",
Expand Down
8 changes: 4 additions & 4 deletions Classes/Sharing/Activities/SFGovTrackActivity.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@

@property (nonatomic, strong) NSURL *url;

+ (id)activityForBill:(SFBill *)bill;
+ (id)activityForBillText:(SFBill *)bill;
+ (id)activityForCommmittee:(SFCommittee *)committee;
+ (id)activityForLegislator:(SFLegislator *)legislator;
+ (instancetype)activityForBill:(SFBill *)bill;
+ (instancetype)activityForBillText:(SFBill *)bill;
+ (instancetype)activityForCommmittee:(SFCommittee *)committee;
+ (instancetype)activityForLegislator:(SFLegislator *)legislator;

@end
8 changes: 4 additions & 4 deletions Classes/Sharing/Activities/SFGovTrackActivity.m
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,23 @@ @implementation SFGovTrackActivity

@synthesize url = _url;

+ (id)activityForBill:(SFBill *)bill
+ (instancetype)activityForBill:(SFBill *)bill
{
SFGovTrackActivity *activity = [[SFGovTrackActivity alloc] init];
[activity setUrl:[NSURL URLWithFormat:@"http://www.govtrack.us/congress/bills/%@/%@%@",
bill.identifier.session, bill.identifier.type, bill.identifier.number]];
return activity;
}

+ (id)activityForBillText:(SFBill *)bill
+ (instancetype)activityForBillText:(SFBill *)bill
{
SFGovTrackActivity *activity = [[SFGovTrackActivity alloc] init];
[activity setUrl:[NSURL URLWithFormat:@"http://www.govtrack.us/congress/bills/%@/%@%@/text",
bill.identifier.session, bill.identifier.type, bill.identifier.number]];
return activity;
}

+ (id)activityForCommmittee:(SFCommittee *)committee
+ (instancetype)activityForCommmittee:(SFCommittee *)committee
{
SFGovTrackActivity *activity = [[SFGovTrackActivity alloc] init];
if (committee.isSubcommittee) {
Expand All @@ -41,7 +41,7 @@ + (id)activityForCommmittee:(SFCommittee *)committee
return activity;
}

+ (id)activityForLegislator:(SFLegislator *)legislator
+ (instancetype)activityForLegislator:(SFLegislator *)legislator
{
SFGovTrackActivity *activity = [[SFGovTrackActivity alloc] init];
[activity setUrl:[NSURL URLWithFormat:@"http://www.govtrack.us/congress/members/cngres/%@", legislator.govtrackId]];
Expand Down
6 changes: 3 additions & 3 deletions Classes/Sharing/Activities/SFOpenCongressActivity.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@

@property (nonatomic, strong) NSURL *url;

+ (id)activityForBill:(SFBill *)bill;
+ (id)activityForBillText:(SFBill *)bill;
+ (id)activityForLegislator:(SFLegislator *)legislator;
+ (instancetype)activityForBill:(SFBill *)bill;
+ (instancetype)activityForBillText:(SFBill *)bill;
+ (instancetype)activityForLegislator:(SFLegislator *)legislator;

@end
6 changes: 3 additions & 3 deletions Classes/Sharing/Activities/SFOpenCongressActivity.m
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,23 @@ @implementation SFOpenCongressActivity

@synthesize url = _url;

+ (id)activityForBill:(SFBill *)bill
+ (instancetype)activityForBill:(SFBill *)bill
{
SFOpenCongressActivity *activity = [[SFOpenCongressActivity alloc] init];
[activity setUrl:[NSURL URLWithFormat:@"http://www.opencongress.org/bill/%@-%@%@/show",
bill.identifier.session, bill.identifier.type, bill.identifier.number]];
return activity;
}

+ (id)activityForBillText:(SFBill *)bill
+ (instancetype)activityForBillText:(SFBill *)bill
{
SFOpenCongressActivity *activity = [[SFOpenCongressActivity alloc] init];
[activity setUrl:[NSURL URLWithFormat:@"http://www.opencongress.org/bill/%@-%@%@/text",
bill.identifier.session, bill.identifier.type, bill.identifier.number]];
return activity;
}

+ (id)activityForLegislator:(SFLegislator *)legislator
+ (instancetype)activityForLegislator:(SFLegislator *)legislator
{
SFOpenCongressActivity *activity = [[SFOpenCongressActivity alloc] init];
[activity setUrl:[NSURL URLWithFormat:@"http://www.opencongress.org/people/show/%@", legislator.govtrackId]];
Expand Down
2 changes: 1 addition & 1 deletion Classes/Sharing/Activities/SFSafariActivity.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@

@property (nonatomic, strong) NSURL *url;

+ (id)activityForURL:(NSURL *)url;
+ (instancetype)activityForURL:(NSURL *)url;

@end
2 changes: 1 addition & 1 deletion Classes/Sharing/Activities/SFSafariActivity.m
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ @implementation SFSafariActivity

@synthesize url = _url;

+ (id)activityForURL:(NSURL *)url
+ (instancetype)activityForURL:(NSURL *)url
{
SFSafariActivity *activity = [[SFSafariActivity alloc] init];
[activity setUrl:url];
Expand Down
2 changes: 1 addition & 1 deletion Classes/Views/SFImageButton.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

@interface SFImageButton : UIButton

+ (id)button;
+ (instancetype)button;

@property (nonatomic, readonly) CGSize contentSize;
@property (nonatomic, readonly) CGFloat horizontalPadding;
Expand Down
2 changes: 1 addition & 1 deletion Classes/Views/SFImageButton.m
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ @implementation SFImageButton

static CGFloat const minimumDimension = 44.0f;

+ (id)button {
+ (instancetype)button {
return [[self alloc] initWithFrame:CGRectMake(0.0f, 0.0f, 0.0f, 44.0f)];
}

Expand Down
22 changes: 11 additions & 11 deletions Congress.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@
2F15C9F2169C96EC0050DCAE /* SFBill.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = SFBill.m; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objc; };
2F15C9F4169C96ED0050DCAE /* SFLegislator.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SFLegislator.h; sourceTree = "<group>"; };
2F15C9F5169C96ED0050DCAE /* SFLegislator.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = SFLegislator.m; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objc; };
2F15CA07169CA9560050DCAE /* SFSharedInstance.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SFSharedInstance.h; sourceTree = "<group>"; };
2F15CA07169CA9560050DCAE /* SFSharedInstance.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = SFSharedInstance.h; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
2F18C509171CB26600C40783 /* SFSearchBillsTableViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SFSearchBillsTableViewController.h; sourceTree = "<group>"; };
2F18C50A171CB26600C40783 /* SFSearchBillsTableViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = SFSearchBillsTableViewController.m; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objc; };
2F18C50C171CB3B300C40783 /* SFBillSearchCellTransformer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SFBillSearchCellTransformer.h; sourceTree = "<group>"; };
Expand Down Expand Up @@ -324,8 +324,8 @@
2F8E294616EE2999006F54E1 /* SFCongressButton.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SFCongressButton.m; sourceTree = "<group>"; };
2F8E295216EE77C0006F54E1 /* SFSettingsSectionViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SFSettingsSectionViewController.h; sourceTree = "<group>"; };
2F8E295316EE77C0006F54E1 /* SFSettingsSectionViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SFSettingsSectionViewController.m; sourceTree = "<group>"; };
2F98E1071836BC870012BC6E /* SFPushConfig.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SFPushConfig.h; sourceTree = "<group>"; };
2F98E1081836BC870012BC6E /* SFPushConfig.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SFPushConfig.m; sourceTree = "<group>"; };
2F98E1071836BC870012BC6E /* SFPushConfig.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = SFPushConfig.h; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
2F98E1081836BC870012BC6E /* SFPushConfig.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = SFPushConfig.m; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objc; };
2F9B88C3183BC376009504C9 /* SFTagManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SFTagManager.h; sourceTree = "<group>"; };
2F9B88C4183BC376009504C9 /* SFTagManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SFTagManager.m; sourceTree = "<group>"; };
2F9F7AF216DBCB5600DE8AF1 /* UIView+ViewGeometryAdditions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "UIView+ViewGeometryAdditions.h"; path = "Categories/UIView+ViewGeometryAdditions.h"; sourceTree = "<group>"; };
Expand Down Expand Up @@ -396,8 +396,8 @@
2FD1545116C4522600B5EF3D /* SFVoteDetailView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SFVoteDetailView.m; sourceTree = "<group>"; };
2FD1E6A7166913FA005B3C97 /* SFNavTableCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SFNavTableCell.h; sourceTree = "<group>"; };
2FD1E6A8166913FA005B3C97 /* SFNavTableCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SFNavTableCell.m; sourceTree = "<group>"; };
2FD754EE170A1F4F009C48D8 /* SFImageButton.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SFImageButton.h; sourceTree = "<group>"; };
2FD754EF170A1F50009C48D8 /* SFImageButton.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SFImageButton.m; sourceTree = "<group>"; };
2FD754EE170A1F4F009C48D8 /* SFImageButton.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = SFImageButton.h; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
2FD754EF170A1F50009C48D8 /* SFImageButton.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = SFImageButton.m; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objc; };
2FD754F2170A2624009C48D8 /* NSMutableAttributedString+Congress.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "NSMutableAttributedString+Congress.h"; path = "Categories/NSMutableAttributedString+Congress.h"; sourceTree = "<group>"; };
2FD754F3170A2624009C48D8 /* NSMutableAttributedString+Congress.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = "NSMutableAttributedString+Congress.m"; path = "Categories/NSMutableAttributedString+Congress.m"; sourceTree = "<group>"; };
2FDAC559171F389C0067F0D8 /* SFDateFormatterUtil.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SFDateFormatterUtil.h; sourceTree = "<group>"; };
Expand Down Expand Up @@ -457,12 +457,12 @@
3FA1BEA917CD50CA00F47DF5 /* SFCongressGovActivity.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SFCongressGovActivity.m; sourceTree = "<group>"; };
3FA1BEAA17CD50CA00F47DF5 /* SFFacebookActivity.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SFFacebookActivity.h; sourceTree = "<group>"; };
3FA1BEAB17CD50CA00F47DF5 /* SFFacebookActivity.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SFFacebookActivity.m; sourceTree = "<group>"; };
3FA1BEAC17CD50CA00F47DF5 /* SFGovTrackActivity.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SFGovTrackActivity.h; sourceTree = "<group>"; };
3FA1BEAD17CD50CA00F47DF5 /* SFGovTrackActivity.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SFGovTrackActivity.m; sourceTree = "<group>"; };
3FA1BEAE17CD50CA00F47DF5 /* SFOpenCongressActivity.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SFOpenCongressActivity.h; sourceTree = "<group>"; };
3FA1BEAF17CD50CA00F47DF5 /* SFOpenCongressActivity.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SFOpenCongressActivity.m; sourceTree = "<group>"; };
3FA1BEB017CD50CA00F47DF5 /* SFSafariActivity.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SFSafariActivity.h; sourceTree = "<group>"; };
3FA1BEB117CD50CA00F47DF5 /* SFSafariActivity.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SFSafariActivity.m; sourceTree = "<group>"; };
3FA1BEAC17CD50CA00F47DF5 /* SFGovTrackActivity.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = SFGovTrackActivity.h; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
3FA1BEAD17CD50CA00F47DF5 /* SFGovTrackActivity.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = SFGovTrackActivity.m; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objc; };
3FA1BEAE17CD50CA00F47DF5 /* SFOpenCongressActivity.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = SFOpenCongressActivity.h; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
3FA1BEAF17CD50CA00F47DF5 /* SFOpenCongressActivity.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = SFOpenCongressActivity.m; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objc; };
3FA1BEB017CD50CA00F47DF5 /* SFSafariActivity.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = SFSafariActivity.h; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
3FA1BEB117CD50CA00F47DF5 /* SFSafariActivity.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = SFSafariActivity.m; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objc; };
3FA2ED7817A850D900DCC8F0 /* SFCommitteeMemberCellTransformer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SFCommitteeMemberCellTransformer.h; sourceTree = "<group>"; };
3FA2ED7917A850D900DCC8F0 /* SFCommitteeMemberCellTransformer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SFCommitteeMemberCellTransformer.m; sourceTree = "<group>"; };
3FA2ED7C17A8681B00DCC8F0 /* SFHearing.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SFHearing.h; sourceTree = "<group>"; };
Expand Down
3 changes: 2 additions & 1 deletion Other Sources/SFPushConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@
//

#import <Foundation/Foundation.h>
#import <UAConfig.h>

@interface SFPushConfig : NSObject

+ (id)defaultConfig;
+ (UAConfig *)defaultConfig;

@end
2 changes: 1 addition & 1 deletion Other Sources/SFPushConfig.m
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

@implementation SFPushConfig

+ (id)defaultConfig {
+ (UAConfig *)defaultConfig {
UAConfig *config = [UAConfig config];
config.detectProvisioningMode = YES;

Expand Down

0 comments on commit 8f1bba1

Please sign in to comment.