diff --git a/Classes/Categories/NSLayoutConstraint+Congress.h b/Classes/Categories/NSLayoutConstraint+Congress.h index acbb460..4a701b2 100644 --- a/Classes/Categories/NSLayoutConstraint+Congress.h +++ b/Classes/Categories/NSLayoutConstraint+Congress.h @@ -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 diff --git a/Classes/Categories/NSLayoutConstraint+Congress.m b/Classes/Categories/NSLayoutConstraint+Congress.m index 88a454a..9e842b4 100644 --- a/Classes/Categories/NSLayoutConstraint+Congress.m +++ b/Classes/Categories/NSLayoutConstraint+Congress.m @@ -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 @@ -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 diff --git a/Classes/Categories/NSMutableAttributedString+Congress.h b/Classes/Categories/NSMutableAttributedString+Congress.h index 3d59652..072addc 100644 --- a/Classes/Categories/NSMutableAttributedString+Congress.h +++ b/Classes/Categories/NSMutableAttributedString+Congress.h @@ -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 diff --git a/Classes/Categories/NSMutableAttributedString+Congress.m b/Classes/Categories/NSMutableAttributedString+Congress.m index 48ff797..649b1f1 100644 --- a/Classes/Categories/NSMutableAttributedString+Congress.m +++ b/Classes/Categories/NSMutableAttributedString+Congress.m @@ -10,7 +10,7 @@ @implementation NSMutableAttributedString (Congress) -+ (id)stringWithFormat:(NSString *)format, ... ++ (instancetype)stringWithFormat:(NSString *)format, ... { va_list args; va_start(args, format); diff --git a/Classes/Misc/SFSharedInstance.h b/Classes/Misc/SFSharedInstance.h index 2199c2c..70accf7 100644 --- a/Classes/Misc/SFSharedInstance.h +++ b/Classes/Misc/SFSharedInstance.h @@ -11,5 +11,5 @@ @protocol SFSharedInstance @required -+ (id)sharedInstance; ++ (instancetype)sharedInstance; @end diff --git a/Classes/SFAppSettings.m b/Classes/SFAppSettings.m index 00022e5..554ca3d 100644 --- a/Classes/SFAppSettings.m +++ b/Classes/SFAppSettings.m @@ -38,7 +38,7 @@ @implementation SFAppSettings NSURL *_remoteConfigURL; } -+ (id)sharedInstance { ++ (instancetype)sharedInstance { DEFINE_SHARED_INSTANCE_USING_BLOCK ( ^{ return [[SFAppSettings alloc] init]; }); diff --git a/Classes/Services/SFBoundaryService.m b/Classes/Services/SFBoundaryService.m index 1fcfddf..96dc740 100644 --- a/Classes/Services/SFBoundaryService.m +++ b/Classes/Services/SFBoundaryService.m @@ -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/"]]; }); diff --git a/Classes/Sharing/Activities/SFCalendarActivity.h b/Classes/Sharing/Activities/SFCalendarActivity.h index 8d2b9a9..d5ca6dc 100644 --- a/Classes/Sharing/Activities/SFCalendarActivity.h +++ b/Classes/Sharing/Activities/SFCalendarActivity.h @@ -18,6 +18,6 @@ @property (nonatomic, strong) NSString *notes; @property (nonatomic, strong) NSURL *url; -+ (id)activityForHearing:(SFHearing *)hearing; ++ (instancetype)activityForHearing:(SFHearing *)hearing; @end diff --git a/Classes/Sharing/Activities/SFCalendarActivity.m b/Classes/Sharing/Activities/SFCalendarActivity.m index e766ba4..f67b3a5 100644 --- a/Classes/Sharing/Activities/SFCalendarActivity.m +++ b/Classes/Sharing/Activities/SFCalendarActivity.m @@ -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]; diff --git a/Classes/Sharing/Activities/SFCongressGovActivity.h b/Classes/Sharing/Activities/SFCongressGovActivity.h index 2c76cae..671fb3a 100644 --- a/Classes/Sharing/Activities/SFCongressGovActivity.h +++ b/Classes/Sharing/Activities/SFCongressGovActivity.h @@ -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 diff --git a/Classes/Sharing/Activities/SFCongressGovActivity.m b/Classes/Sharing/Activities/SFCongressGovActivity.m index f859dee..13d86a1 100644 --- a/Classes/Sharing/Activities/SFCongressGovActivity.m +++ b/Classes/Sharing/Activities/SFCongressGovActivity.m @@ -12,7 +12,7 @@ @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/%@", @@ -20,7 +20,7 @@ + (id)activityForBill:(SFBill *)bill 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", diff --git a/Classes/Sharing/Activities/SFGovTrackActivity.h b/Classes/Sharing/Activities/SFGovTrackActivity.h index 53d99b1..c410364 100644 --- a/Classes/Sharing/Activities/SFGovTrackActivity.h +++ b/Classes/Sharing/Activities/SFGovTrackActivity.h @@ -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 diff --git a/Classes/Sharing/Activities/SFGovTrackActivity.m b/Classes/Sharing/Activities/SFGovTrackActivity.m index ec4f586..bc3970a 100644 --- a/Classes/Sharing/Activities/SFGovTrackActivity.m +++ b/Classes/Sharing/Activities/SFGovTrackActivity.m @@ -12,7 +12,7 @@ @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/%@/%@%@", @@ -20,7 +20,7 @@ + (id)activityForBill:(SFBill *)bill 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", @@ -28,7 +28,7 @@ + (id)activityForBillText:(SFBill *)bill return activity; } -+ (id)activityForCommmittee:(SFCommittee *)committee ++ (instancetype)activityForCommmittee:(SFCommittee *)committee { SFGovTrackActivity *activity = [[SFGovTrackActivity alloc] init]; if (committee.isSubcommittee) { @@ -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]]; diff --git a/Classes/Sharing/Activities/SFOpenCongressActivity.h b/Classes/Sharing/Activities/SFOpenCongressActivity.h index 503184d..e664b44 100644 --- a/Classes/Sharing/Activities/SFOpenCongressActivity.h +++ b/Classes/Sharing/Activities/SFOpenCongressActivity.h @@ -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 diff --git a/Classes/Sharing/Activities/SFOpenCongressActivity.m b/Classes/Sharing/Activities/SFOpenCongressActivity.m index c85a8da..b352c12 100644 --- a/Classes/Sharing/Activities/SFOpenCongressActivity.m +++ b/Classes/Sharing/Activities/SFOpenCongressActivity.m @@ -12,7 +12,7 @@ @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", @@ -20,7 +20,7 @@ + (id)activityForBill:(SFBill *)bill 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", @@ -28,7 +28,7 @@ + (id)activityForBillText:(SFBill *)bill 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]]; diff --git a/Classes/Sharing/Activities/SFSafariActivity.h b/Classes/Sharing/Activities/SFSafariActivity.h index 34b6620..a64e489 100644 --- a/Classes/Sharing/Activities/SFSafariActivity.h +++ b/Classes/Sharing/Activities/SFSafariActivity.h @@ -12,6 +12,6 @@ @property (nonatomic, strong) NSURL *url; -+ (id)activityForURL:(NSURL *)url; ++ (instancetype)activityForURL:(NSURL *)url; @end diff --git a/Classes/Sharing/Activities/SFSafariActivity.m b/Classes/Sharing/Activities/SFSafariActivity.m index 5cec09c..efbe8a3 100644 --- a/Classes/Sharing/Activities/SFSafariActivity.m +++ b/Classes/Sharing/Activities/SFSafariActivity.m @@ -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]; diff --git a/Classes/Views/SFImageButton.h b/Classes/Views/SFImageButton.h index f6e8710..17b4700 100644 --- a/Classes/Views/SFImageButton.h +++ b/Classes/Views/SFImageButton.h @@ -10,7 +10,7 @@ @interface SFImageButton : UIButton -+ (id)button; ++ (instancetype)button; @property (nonatomic, readonly) CGSize contentSize; @property (nonatomic, readonly) CGFloat horizontalPadding; diff --git a/Classes/Views/SFImageButton.m b/Classes/Views/SFImageButton.m index e740815..7a5c55a 100644 --- a/Classes/Views/SFImageButton.m +++ b/Classes/Views/SFImageButton.m @@ -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)]; } diff --git a/Congress.xcodeproj/project.pbxproj b/Congress.xcodeproj/project.pbxproj index 4b01158..bf0304b 100644 --- a/Congress.xcodeproj/project.pbxproj +++ b/Congress.xcodeproj/project.pbxproj @@ -234,7 +234,7 @@ 2F15C9F2169C96EC0050DCAE /* SFBill.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = SFBill.m; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.objc; }; 2F15C9F4169C96ED0050DCAE /* SFLegislator.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SFLegislator.h; sourceTree = ""; }; 2F15C9F5169C96ED0050DCAE /* SFLegislator.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = SFLegislator.m; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.objc; }; - 2F15CA07169CA9560050DCAE /* SFSharedInstance.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SFSharedInstance.h; sourceTree = ""; }; + 2F15CA07169CA9560050DCAE /* SFSharedInstance.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = SFSharedInstance.h; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; }; 2F18C509171CB26600C40783 /* SFSearchBillsTableViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SFSearchBillsTableViewController.h; sourceTree = ""; }; 2F18C50A171CB26600C40783 /* SFSearchBillsTableViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = SFSearchBillsTableViewController.m; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.objc; }; 2F18C50C171CB3B300C40783 /* SFBillSearchCellTransformer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SFBillSearchCellTransformer.h; sourceTree = ""; }; @@ -324,8 +324,8 @@ 2F8E294616EE2999006F54E1 /* SFCongressButton.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SFCongressButton.m; sourceTree = ""; }; 2F8E295216EE77C0006F54E1 /* SFSettingsSectionViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SFSettingsSectionViewController.h; sourceTree = ""; }; 2F8E295316EE77C0006F54E1 /* SFSettingsSectionViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SFSettingsSectionViewController.m; sourceTree = ""; }; - 2F98E1071836BC870012BC6E /* SFPushConfig.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SFPushConfig.h; sourceTree = ""; }; - 2F98E1081836BC870012BC6E /* SFPushConfig.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SFPushConfig.m; sourceTree = ""; }; + 2F98E1071836BC870012BC6E /* SFPushConfig.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = SFPushConfig.h; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; }; + 2F98E1081836BC870012BC6E /* SFPushConfig.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = SFPushConfig.m; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.objc; }; 2F9B88C3183BC376009504C9 /* SFTagManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SFTagManager.h; sourceTree = ""; }; 2F9B88C4183BC376009504C9 /* SFTagManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SFTagManager.m; sourceTree = ""; }; 2F9F7AF216DBCB5600DE8AF1 /* UIView+ViewGeometryAdditions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "UIView+ViewGeometryAdditions.h"; path = "Categories/UIView+ViewGeometryAdditions.h"; sourceTree = ""; }; @@ -396,8 +396,8 @@ 2FD1545116C4522600B5EF3D /* SFVoteDetailView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SFVoteDetailView.m; sourceTree = ""; }; 2FD1E6A7166913FA005B3C97 /* SFNavTableCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SFNavTableCell.h; sourceTree = ""; }; 2FD1E6A8166913FA005B3C97 /* SFNavTableCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SFNavTableCell.m; sourceTree = ""; }; - 2FD754EE170A1F4F009C48D8 /* SFImageButton.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SFImageButton.h; sourceTree = ""; }; - 2FD754EF170A1F50009C48D8 /* SFImageButton.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SFImageButton.m; sourceTree = ""; }; + 2FD754EE170A1F4F009C48D8 /* SFImageButton.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = SFImageButton.h; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; }; + 2FD754EF170A1F50009C48D8 /* SFImageButton.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = SFImageButton.m; sourceTree = ""; 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 = ""; }; 2FD754F3170A2624009C48D8 /* NSMutableAttributedString+Congress.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = "NSMutableAttributedString+Congress.m"; path = "Categories/NSMutableAttributedString+Congress.m"; sourceTree = ""; }; 2FDAC559171F389C0067F0D8 /* SFDateFormatterUtil.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SFDateFormatterUtil.h; sourceTree = ""; }; @@ -457,12 +457,12 @@ 3FA1BEA917CD50CA00F47DF5 /* SFCongressGovActivity.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SFCongressGovActivity.m; sourceTree = ""; }; 3FA1BEAA17CD50CA00F47DF5 /* SFFacebookActivity.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SFFacebookActivity.h; sourceTree = ""; }; 3FA1BEAB17CD50CA00F47DF5 /* SFFacebookActivity.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SFFacebookActivity.m; sourceTree = ""; }; - 3FA1BEAC17CD50CA00F47DF5 /* SFGovTrackActivity.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SFGovTrackActivity.h; sourceTree = ""; }; - 3FA1BEAD17CD50CA00F47DF5 /* SFGovTrackActivity.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SFGovTrackActivity.m; sourceTree = ""; }; - 3FA1BEAE17CD50CA00F47DF5 /* SFOpenCongressActivity.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SFOpenCongressActivity.h; sourceTree = ""; }; - 3FA1BEAF17CD50CA00F47DF5 /* SFOpenCongressActivity.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SFOpenCongressActivity.m; sourceTree = ""; }; - 3FA1BEB017CD50CA00F47DF5 /* SFSafariActivity.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SFSafariActivity.h; sourceTree = ""; }; - 3FA1BEB117CD50CA00F47DF5 /* SFSafariActivity.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SFSafariActivity.m; sourceTree = ""; }; + 3FA1BEAC17CD50CA00F47DF5 /* SFGovTrackActivity.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = SFGovTrackActivity.h; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; }; + 3FA1BEAD17CD50CA00F47DF5 /* SFGovTrackActivity.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = SFGovTrackActivity.m; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.objc; }; + 3FA1BEAE17CD50CA00F47DF5 /* SFOpenCongressActivity.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = SFOpenCongressActivity.h; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; }; + 3FA1BEAF17CD50CA00F47DF5 /* SFOpenCongressActivity.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = SFOpenCongressActivity.m; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.objc; }; + 3FA1BEB017CD50CA00F47DF5 /* SFSafariActivity.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = SFSafariActivity.h; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; }; + 3FA1BEB117CD50CA00F47DF5 /* SFSafariActivity.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = SFSafariActivity.m; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.objc; }; 3FA2ED7817A850D900DCC8F0 /* SFCommitteeMemberCellTransformer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SFCommitteeMemberCellTransformer.h; sourceTree = ""; }; 3FA2ED7917A850D900DCC8F0 /* SFCommitteeMemberCellTransformer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SFCommitteeMemberCellTransformer.m; sourceTree = ""; }; 3FA2ED7C17A8681B00DCC8F0 /* SFHearing.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SFHearing.h; sourceTree = ""; }; diff --git a/Other Sources/SFPushConfig.h b/Other Sources/SFPushConfig.h index c56f2ba..24d48bf 100644 --- a/Other Sources/SFPushConfig.h +++ b/Other Sources/SFPushConfig.h @@ -7,9 +7,10 @@ // #import +#import @interface SFPushConfig : NSObject -+ (id)defaultConfig; ++ (UAConfig *)defaultConfig; @end diff --git a/Other Sources/SFPushConfig.m b/Other Sources/SFPushConfig.m index 7727f2f..d3ec004 100644 --- a/Other Sources/SFPushConfig.m +++ b/Other Sources/SFPushConfig.m @@ -11,7 +11,7 @@ @implementation SFPushConfig -+ (id)defaultConfig { ++ (UAConfig *)defaultConfig { UAConfig *config = [UAConfig config]; config.detectProvisioningMode = YES;