From 1c33d1102233b0e17fecdde2315d6c9e4cac9bfa Mon Sep 17 00:00:00 2001 From: Lightmann Date: Sat, 25 Nov 2023 22:04:09 -0500 Subject: [PATCH] Import as-needed without implicitly importing UIKit (#89) * Import as-needed without implicitly importing UIKit * Remove duplicate imports * Try adding sandbox.h include_next back * Seems the sys header was too specific * Pass stdlib for ++ langs only * Conditionally include_next sandbox.h in sandbox.h * matrix.cxxflags -> additional_flags * Don't 'compile' directly * Remove quotes since these can be blank --- .github/workflows/compile-test.yml | 18 +++++++++++------- .../AVCaptureStillImageOutput+Private.h | 1 + AVFoundation/AVCaptureStillImageRequest.h | 1 + AddressBookUI/ABMonogrammer.h | 2 +- AlienBlue/AlienBlueAppDelegate.h | 3 +++ AlienBlue/AppSchemeCoordinator.h | 3 +++ AlienBlue/JMOutlineViewController.h | 2 ++ AlienBlue/NavigationManager.h | 3 +++ AlienBlue/Post.h | 1 + AlienBlue/PostsViewController.h | 2 ++ AlienBlue/VotableElement.h | 2 ++ Anemone/ANEMSettingsManager.h | 3 +++ AppList/ALApplicationList.h | 2 -- AppList/ALApplicationTableDataSource.h | 1 - AppList/ALValueCell.h | 1 - AppSupport/CPBitmapStore.h | 2 ++ AppSupport/CPDistributedMessagingCenter.h | 5 +++++ ApplePushService/APSMessage.h | 5 +++++ AssertionServices/BKSProcess.h | 2 ++ AssertionServices/BKSProcessAssertion.h | 4 ++++ BaseBoard/BSAction.h | 1 + BaseBoard/BSAuditToken.h | 3 +++ BaseBoard/BSBaseXPCClient.h | 2 ++ BaseBoard/BSPlatform.h | 4 +++- BaseBoard/BSProcessHandle.h | 4 ++++ BaseBoard/BSSettings.h | 4 ++++ BaseBoardUI/UIViewController+BaseBoardUI.h | 2 ++ BiteSMS/BSQCQRLauncher.h | 2 ++ BulletinBoard/BBAction.h | 4 ++++ BulletinBoard/BBAppearance.h | 3 +++ BulletinBoard/BBBulletin.h | 1 + BulletinBoard/BBDataProvider.h | 3 +++ BulletinBoard/BBDataProviderIdentity.h | 4 ++++ BulletinBoard/BBLocalDataProviderStore.h | 2 ++ BulletinBoard/BBSectionIcon.h | 2 ++ BulletinBoard/BBSectionIconVariant.h | 4 ++++ BulletinBoard/BBSectionInfoSettings.h | 3 +++ BulletinBoard/BBSectionParameters.h | 3 +++ BulletinBoard/BBSectionSubtypeParameters.h | 2 ++ BulletinBoard/BBSettingsGateway.h | 3 +++ BulletinBoard/BBThumbnailSizeConstraints.h | 3 +++ BulletinBoard/BBWeeAppController.h | 3 +++ CameraKit/UIView+CameraKitAdditions.h | 1 - Celestial/AVController.h | 2 ++ Celestial/AVItem.h | 2 ++ Celestial/AVQueue.h | 2 ++ ChatKit/CKConversation.h | 3 +++ ChatKit/CKConversationList.h | 3 +++ ChatKit/CKConversationListCell.h | 3 +++ ChatKit/CKConversationListController.h | 2 ++ ChatKit/CKDNDList.h | 4 ++++ ChatKit/CKDetailsCell.h | 3 +++ ChatKit/CKDetailsChatOptionsCell.h | 1 + ChatKit/CKDetailsTableView.h | 2 ++ ChatKit/CKEntity.h | 3 +++ ChatKit/CKMadridService.h | 3 +++ ChatKit/CKMessageCell.h | 2 ++ ChatKit/CKNavigationController.h | 2 ++ ChatKit/CKTranscriptRecipientsController.h | 2 ++ .../CKTranscriptRecipientsHeaderFooterView.h | 2 ++ ChatKit/CKTranscriptTypingIndicatorCell.h | 2 ++ ChatKit/CKTypingIndicatorLayer.h | 2 ++ ChatKit/CKTypingView.h | 1 + ChatKit/CKViewController.h | 2 ++ Contacts/CN.h | 3 +++ Contacts/CNPredicate.h | 2 ++ Contacts/CNPropertyDescription.h | 3 +++ .../CCUIContentModule-Protocol.h | 1 - ControlCenterUIKit/CCUILabeledRoundButton.h | 1 - .../CCUILabeledRoundButtonViewController.h | 1 - ControlCenterUIKit/CCUIRoundButton.h | 1 - Foundation/NSBundle+Private.h | 3 ++- Foundation/NSCache+Private.h | 2 +- Foundation/NSDistributedNotificationCenter.h | 2 ++ FrontBoard/FBSSceneSettings.h | 2 ++ FrontBoard/FBSceneHostManager.h | 3 +++ FrontBoard/FBSceneHostWrapperView.h | 2 ++ FrontBoardServices/FBSDisplay.h | 4 ++++ FrontBoardServices/FBSOpenApplicationOptions.h | 4 ++++ FrontBoardServices/FBSSceneSettings.h | 2 ++ FrontBoardServices/FBSSceneSettingsDiff.h | 2 ++ GeoServices/GEOCelestialBody.h | 2 ++ GeoServices/GEOEquatorialCelestialBodyData.h | 2 ++ GraphicsServices/GSHeartbeat.h | 9 +++++---- GraphicsServices/GSHiccup.h | 5 +++-- IMCore/IMHandle.h | 4 ++++ IMCore/IMItemsController.h | 2 ++ IMCore/IMPerson.h | 3 +++ IMCore/IMServiceImpl.h | 4 ++++ IMDaemonCore/IMDChat.h | 4 ++++ IMDaemonCore/IMDChatRegistry.h | 3 +++ IMDaemonCore/IMDFileTransferCenter.h | 3 +++ IMDaemonCore/IMDHandle.h | 3 +++ IMDaemonCore/IMDMessageStore.h | 3 +++ IMDaemonCore/IMDServiceSession.h | 2 ++ IMFoundation/IMItem.h | 5 +++++ IMSharedUtilities/IMFileTransfer.h | 3 +++ IconSupport/ISIconSupport.h | 5 +++++ Jasmine/SchemeManager.h | 3 +++ LightMessaging/LightMessaging.h | 2 +- MaterialKit/MTLumaDodgePillView.h | 2 ++ MediaPlayer/MPAVRoutingController.h | 4 ++++ MediaPlayer/MPVideoView.h | 2 ++ MediaPlayerUI/MPUMediaRemoteControlsView.h | 2 ++ MediaPlayerUI/MPUMediaRemoteViewController.h | 2 ++ MediaPlayerUI/MPUNowPlayingArtworkView.h | 2 ++ MediaPlayerUI/MPUNowPlayingController.h | 2 ++ MediaPlayerUI/MPUNowPlayingMetadata.h | 3 +++ MediaPlayerUI/MPUNowPlayingMetadataView.h | 2 ++ MediaPlayerUI/MPUTransportControlsView.h | 2 ++ MobilePhone/RecentCall.h | 2 ++ MobilePhone/RecentsTableViewCell.h | 2 ++ MobilePhone/RecentsTableViewCellContentView.h | 2 ++ MobileSMS/mSMSMessageTranscriptController.h | 2 ++ MobileTimer/WorldClockView.h | 1 + Pandora/NowPlayingDrawerCell.h | 3 +++ Pandora/PMRadio.h | 2 ++ Pandora/TrackDescriptor.h | 3 +++ PassKitUI/PKGlyphViewDelegate.h | 3 +++ PassKitUIFoundation/PKGlyphView.h | 1 + PersistentConnection/PCPersistentTimer.h | 5 +++++ PhotoLibrary/PLCropOverlay.h | 1 - PhotoLibrary/PLWallpaperImageViewController.h | 1 - PhotoLibrary/UIView+PhotoLibraryAdditions.h | 1 - PhotoLibraryServices/PLManagedAlbum.h | 3 +++ PhotoLibraryServices/PLManagedAsset.h | 2 ++ PhotoLibraryServices/PLPhotoLibrary.h | 2 ++ PhotosUI/UIImage+PhotosUIAdditions.h | 1 - Preferences/PSRootController.h | 1 - Preferences/PSTableCell.h | 1 - Preferences/PreferencesAppController.h | 2 ++ QuartzCore/CABackdropLayer.h | 3 ++- SparkAppItem.h | 2 ++ SparkAppList.h | 4 ++++ SparkAppListTableViewController.h | 2 ++ SplashBoard/XBApplicationSnapshot.h | 1 + SpringBoard/BBBulletin+SpringBoardAdditions.h | 1 + SpringBoard/SBAppSliderController.h | 1 + SpringBoard/SBAppSliderScrollingViewDelegate.h | 2 ++ SpringBoard/SBAppSwitcherController.h | 1 + SpringBoard/SBAppSwitcherModel.h | 2 ++ SpringBoard/SBAppSwitcherPageViewController.h | 2 ++ .../SBAppSwitcherPeopleButtonAndLabelView.h | 3 +++ SpringBoard/SBAppSwitcherPeopleDataSource.h | 3 +++ SpringBoard/SBAppSwitcherPeopleScrollView.h | 2 ++ .../SBAppSwitcherPeopleScrollViewDelegate.h | 3 +++ .../SBAppSwitcherPeopleViewController.h | 2 ++ .../SBAppSwitcherScrollingViewDelegate.h | 2 ++ SpringBoard/SBAppSwitcherSnapshotView.h | 3 +++ SpringBoard/SBAppView.h | 1 + SpringBoard/SBAppViewControllerDelegate.h | 3 +++ SpringBoard/SBAppWindow.h | 2 ++ SpringBoard/SBApplicationController.h | 2 ++ SpringBoard/SBApplicationHosting.h | 1 - SpringBoard/SBApplicationIcon.h | 1 + SpringBoard/SBAssistantController.h | 3 +++ SpringBoard/SBAwayController.h | 2 ++ SpringBoard/SBAwayListItem.h | 2 ++ SpringBoard/SBAwayNotificationListCell.h | 2 ++ SpringBoard/SBAwayView.h | 2 ++ SpringBoard/SBBBItemInfo.h | 2 ++ SpringBoard/SBBBSectionInfo.h | 1 + SpringBoard/SBBacklightController.h | 3 +++ SpringBoard/SBBannerContextView.h | 2 ++ SpringBoard/SBBannerController.h | 3 +++ SpringBoard/SBBannerView.h | 2 ++ SpringBoard/SBBookmarkIcon.h | 2 ++ SpringBoard/SBBrightnessController.h | 2 ++ SpringBoard/SBBulletinBannerController.h | 3 +++ SpringBoard/SBBulletinBannerItem.h | 2 ++ SpringBoard/SBBulletinListCell.h | 3 +++ SpringBoard/SBBulletinListSection.h | 4 ++++ SpringBoard/SBBulletinObserverViewController.h | 2 ++ SpringBoard/SBBulletinViewController.h | 2 ++ SpringBoard/SBBulletinWindowController.h | 3 +++ SpringBoard/SBButtonBar.h | 2 ++ SpringBoard/SBCalendarIconContentsView.h | 2 ++ SpringBoard/SBChevronView.h | 2 ++ SpringBoard/SBControlCenterController.h | 2 ++ SpringBoard/SBControlColorSettings.h | 2 ++ SpringBoard/SBDeckSwitcherViewController.h | 2 ++ SpringBoard/SBDefaultBannerTextView.h | 2 ++ SpringBoard/SBDefaultBannerView.h | 2 ++ SpringBoard/SBDisplayItem.h | 3 +++ SpringBoard/SBDisplayLayout.h | 3 +++ SpringBoard/SBDockView.h | 2 ++ SpringBoard/SBExternalCarrierDefaults.h | 3 +++ SpringBoard/SBExternalDefaults.h | 2 ++ SpringBoard/SBFolderSlidingView.h | 2 +- SpringBoard/SBFolderView.h | 2 +- SpringBoard/SBHUDView.h | 3 +++ SpringBoard/SBHomeGrabberView.h | 2 ++ SpringBoard/SBIconContentView.h | 2 ++ SpringBoard/SBIconLabel.h | 2 ++ SpringBoard/SBIconList.h | 2 +- SpringBoard/SBIconListView.h | 2 +- SpringBoard/SBIconView.h | 3 +-- SpringBoard/SBImageCache.h | 2 ++ .../SBLockScreenNotificationListController.h | 2 ++ SpringBoard/SBLockScreenNotificationListView.h | 2 ++ SpringBoard/SBLockScreenNotificationModel.h | 2 ++ SpringBoard/SBLockScreenView.h | 2 ++ SpringBoard/SBLockScreenViewController.h | 2 ++ SpringBoard/SBMainWorkspace.h | 1 + SpringBoard/SBNotificationCell.h | 3 +++ SpringBoard/SBNotificationCenterSectionInfo.h | 2 ++ .../SBNotificationCenterViewController.h | 2 ++ .../SBNotificationCenterWidgetController.h | 3 +++ .../SBNotificationControlColorSettings.h | 2 ++ .../SBNotificationsModeViewController.h | 2 ++ SpringBoard/SBNotificationsSectionHeaderView.h | 2 ++ SpringBoard/SBOrientationLockManager.h | 3 +++ SpringBoard/SBPagedScrollView.h | 1 - SpringBoard/SBPreciseClockTimer.h | 2 ++ SpringBoard/SBScrollViewItemWrapper.h | 2 ++ SpringBoard/SBSearchTableViewCell.h | 2 ++ SpringBoard/SBSearchViewController.h | 2 ++ SpringBoard/SBStatusBarContentsView.h | 2 ++ SpringBoard/SBStatusBarDataManager.h | 2 ++ SpringBoard/SBStatusBarOperatorNameView.h | 2 ++ SpringBoard/SBStatusBarTimeView.h | 2 ++ SpringBoard/SBSystemGestureManager.h | 1 - .../SBSystemGestureRecognizerDelegate.h | 3 +++ SpringBoard/SBTodayBulletinCell.h | 2 ++ SpringBoard/SBUIController.h | 1 - SpringBoard/SBWallpaperEffectView.h | 2 +- SpringBoard/SBWallpaperPreviewSnapshotCache.h | 2 ++ SpringBoard/SBWindowHidingManager.h | 2 +- SpringBoard/SpringBoard.h | 1 - .../SBFWallpaperParallaxSettings.h | 1 + SpringBoardHome/SBHIconGridSize.h | 2 ++ .../SBIconListGridLayoutConfiguration.h | 1 - .../SBSApplicationShortcutIcon.h | 2 ++ .../SBSApplicationShortcutItem.h | 4 ++++ .../SBPasscodeNumberPadButton.h | 3 ++- SpringBoardUIServices/_SBUIWidgetHost.h | 2 +- StoreKitUI/SKUIScrollingSegmentedController.h | 2 ++ TelephonyUI/TPNumberPad.h | 2 ++ TelephonyUI/TPRevealingRingView.h | 2 ++ Tweetbot/PTHTweetbotStatus.h | 2 ++ Tweetbot/PTHViewController.h | 2 ++ TwitkaFly/LibTwitkaFly.h | 2 ++ UIKit/UIActivity+Private.h | 1 - UIKit/UIActivityGroupViewController.h | 2 ++ UIKit/UIActivityViewController+Private.h | 2 ++ UIKit/UIActivityViewController.h | 2 ++ UIKit/UIAlertAction+Private.h | 1 - UIKit/UIAlertController+Private.h | 1 - UIKit/UIAlertView+Private.h | 1 - UIKit/UIApplication+Private.h | 1 - UIKit/UICollectionView.h | 2 +- UIKit/UICollectionViewCell.h | 2 ++ UIKit/UIColor+Private.h | 1 - UIKit/UICompatibilityInputViewController.h | 1 + UIKit/UIDebuggingInformationOverlay.h | 2 ++ UIKit/UIDevice+Private.h | 1 - UIKit/UIImage+Private.h | 1 - UIKit/UIInputViewAnimationStyle.h | 2 ++ UIKit/UIInputViewController+Private.h | 1 + UIKit/UIInputViewSet.h | 2 +- UIKit/UIKBGradient.h | 2 ++ UIKit/UIKBInputBackdropView.h | 2 ++ UIKit/UIKBKeyView.h | 1 + UIKit/UIKBKeyplaneView.h | 1 + UIKit/UIKBRenderConfig.h | 1 + UIKit/UIKBScreenTraits.h | 2 +- UIKit/UIKeyboardLayout.h | 2 +- UIKit/UIKeyboardPreferencesController.h | 4 ++++ UIKit/UIKeyboardTouchInfo.h | 1 + UIKit/UINavigationBar+Private.h | 2 +- UIKit/UIPanGestureRecognizer+Private.h | 2 ++ UIKit/UIPeripheralHost.h | 1 + UIKit/UIPeripheralHostView.h | 1 + UIKit/UIProgressHUD.h | 2 ++ UIKit/UIProgressIndicator.h | 2 ++ UIKit/UIResponder+Private.h | 2 ++ UIKit/UIScreen+Private.h | 1 - UIKit/UIStatusBar.h | 2 +- UIKit/UIStatusBarAnimationParameters.h | 2 ++ UIKit/UIStatusBarForegroundView.h | 2 ++ UIKit/UIStatusBarItem.h | 2 +- UIKit/UIStatusBarItemView.h | 2 +- UIKit/UITableView+Private.h | 3 +++ UIKit/UITableViewCell+Private.h | 2 +- UIKit/UITableViewHeaderFooterView.h | 2 ++ UIKit/UITextInputController.h | 1 - UIKit/UIWindow+Private.h | 1 - UIKit/_UIActivityGroupListViewController.h | 2 ++ UIKit/_UIBackdropEffectView.h | 2 ++ UIKit/_UIBackdropView.h | 2 -- UIKit/_UIHostedWindowHostingHandle.h | 1 + UIKit/_UILegibilityImageSet.h | 2 ++ UIKit/_UILegibilitySettings.h | 2 ++ UIKit/_UILegibilityView.h | 1 + UIKit/_UIModalItemBackgroundView.h | 2 ++ UIKit/_UIModalItemContentView.h | 2 ++ UIKit/_UIModalItemTableViewCell.h | 2 ++ UserNotificationsKit/NCNotificationRequest.h | 3 +++ .../NCAnimatableBlurringView.h | 2 ++ UserNotificationsUIKit/NCMaterialView.h | 2 ++ .../NCNotificationStaticContentProviding.h | 2 ++ .../NCNotificationViewController.h | 3 +++ UserNotificationsUIKit/NCShortLookView.h | 2 ++ Velox/VeloxFolderViewProtocol.h | 2 ++ auki/KJUARR.h | 3 +++ installd/MIBundle.h | 8 ++++++++ installd/MIGlobalConfiguration.h | 2 ++ libstatusbar/LSStatusBarItem.h | 2 ++ libundirect/libundirect_dynamic.h | 7 ++++--- sandbox.h | 6 +++++- theos/IOSMacros.h | 1 - 311 files changed, 638 insertions(+), 77 deletions(-) diff --git a/.github/workflows/compile-test.yml b/.github/workflows/compile-test.yml index b7ed3c25..0c023c22 100644 --- a/.github/workflows/compile-test.yml +++ b/.github/workflows/compile-test.yml @@ -18,6 +18,7 @@ jobs: with: repository: theos/sdks ref: bb425abf3acae8eac328b828628b82df544d2774 # pinned, should be updated as appropriate + sparse-checkout: iPhoneOS14.5.sdk path: sdks - name: Checkout theos/headers @@ -36,30 +37,33 @@ jobs: "rocketbootstrap/rocketbootstrap_dynamic.h" # noted to not include directly "libundirect/libundirect_hookoverwrite.h" # user's responsibility to include either the base or dynamic header ) - + + ADDITIONAL_FLAGS="" + if [[ "${{ matrix.language }}" == *"++"* ]]; then + ADDITIONAL_FLAGS="-stdlib=libc++" + fi + HEADER_DIR="headers" # cut to drop the leading directory for HEADER in $(find "${HEADER_DIR}" -name "*.h" | cut -c"$(( ${#HEADER_DIR} + 2))"-); do - + for UNCHECKED_DIRECTORY in "${UNCHECKED_DIRECTORIES[@]}"; do if [[ "${HEADER}" == "${UNCHECKED_DIRECTORY}"/* ]]; then continue 2 fi done - + for UNCHECKED_FILE in "${UNCHECKED_FILES[@]}"; do if [[ "${HEADER}" == "${UNCHECKED_FILE}" ]]; then continue 2 fi done - + { - # Eventually we want to not require UIKit, but we're not there yet - echo "#import " echo "#import <${HEADER}>" echo "int main() {}" } | clang -I "${HEADER_DIR}" -isysroot sdks/iPhoneOS14.5.sdk \ -target arm64-apple-ios14.5 -arch arm64 \ -x "${{ matrix.language }}" ${{ matrix.cflags }} \ - -fsyntax-only - + ${ADDITIONAL_FLAGS} -fsyntax-only - done diff --git a/AVFoundation/AVCaptureStillImageOutput+Private.h b/AVFoundation/AVCaptureStillImageOutput+Private.h index 5c0dab99..c03958e4 100644 --- a/AVFoundation/AVCaptureStillImageOutput+Private.h +++ b/AVFoundation/AVCaptureStillImageOutput+Private.h @@ -1,4 +1,5 @@ #import +#import @interface AVCaptureStillImageOutput (Private) diff --git a/AVFoundation/AVCaptureStillImageRequest.h b/AVFoundation/AVCaptureStillImageRequest.h index 46df1680..317cf470 100644 --- a/AVFoundation/AVCaptureStillImageRequest.h +++ b/AVFoundation/AVCaptureStillImageRequest.h @@ -1,4 +1,5 @@ #import +#import @interface AVCaptureStillImageRequest : NSObject diff --git a/AddressBookUI/ABMonogrammer.h b/AddressBookUI/ABMonogrammer.h index 4c8690e4..0e260e22 100644 --- a/AddressBookUI/ABMonogrammer.h +++ b/AddressBookUI/ABMonogrammer.h @@ -1,4 +1,4 @@ -#import +#import typedef NS_ENUM(NSUInteger, ABMonogrammerStyle) { ABMonogrammerStyleLightGray, diff --git a/AlienBlue/AlienBlueAppDelegate.h b/AlienBlue/AlienBlueAppDelegate.h index be8a1a8e..25810c60 100644 --- a/AlienBlue/AlienBlueAppDelegate.h +++ b/AlienBlue/AlienBlueAppDelegate.h @@ -1,3 +1,6 @@ +#import +#import + @interface AlienBlueAppDelegate : NSObject @property (nonatomic, retain) UIWindow *window; diff --git a/AlienBlue/AppSchemeCoordinator.h b/AlienBlue/AppSchemeCoordinator.h index 4df165ed..f189fbf0 100644 --- a/AlienBlue/AppSchemeCoordinator.h +++ b/AlienBlue/AppSchemeCoordinator.h @@ -1,3 +1,6 @@ +#import +#import + @interface AppSchemeCoordinator : NSObject + (void)openRedditThreadUrl:(NSString *)url; diff --git a/AlienBlue/JMOutlineViewController.h b/AlienBlue/JMOutlineViewController.h index 3dd193b9..3da525fd 100644 --- a/AlienBlue/JMOutlineViewController.h +++ b/AlienBlue/JMOutlineViewController.h @@ -1,3 +1,5 @@ +#import + @interface JMOutlineViewController : UIViewController @end diff --git a/AlienBlue/NavigationManager.h b/AlienBlue/NavigationManager.h index 773d7894..c0a31163 100644 --- a/AlienBlue/NavigationManager.h +++ b/AlienBlue/NavigationManager.h @@ -1,3 +1,6 @@ +#import +#import + @class Post; @interface NavigationManager : NSObject diff --git a/AlienBlue/Post.h b/AlienBlue/Post.h index 0db21313..70f5b748 100644 --- a/AlienBlue/Post.h +++ b/AlienBlue/Post.h @@ -1,4 +1,5 @@ #import "VotableElement.h" +#import @interface Post : VotableElement diff --git a/AlienBlue/PostsViewController.h b/AlienBlue/PostsViewController.h index bea298f7..c7740d94 100644 --- a/AlienBlue/PostsViewController.h +++ b/AlienBlue/PostsViewController.h @@ -1,3 +1,5 @@ +#import + @interface PostsViewController : UIViewController - (instancetype)initWithSubreddit:(NSString *)subreddit title:(NSString *)title; diff --git a/AlienBlue/VotableElement.h b/AlienBlue/VotableElement.h index bafc36d2..ad71d299 100644 --- a/AlienBlue/VotableElement.h +++ b/AlienBlue/VotableElement.h @@ -1,3 +1,5 @@ +#import + @interface VotableElement : NSObject @end diff --git a/Anemone/ANEMSettingsManager.h b/Anemone/ANEMSettingsManager.h index 69945037..f3ac59fa 100644 --- a/Anemone/ANEMSettingsManager.h +++ b/Anemone/ANEMSettingsManager.h @@ -1,3 +1,6 @@ +#import +#import + @interface ANEMSettingsManager : NSObject + (instancetype)sharedManager; diff --git a/AppList/ALApplicationList.h b/AppList/ALApplicationList.h index cc9af385..28bdf46a 100644 --- a/AppList/ALApplicationList.h +++ b/AppList/ALApplicationList.h @@ -1,6 +1,4 @@ #import -#import -#import #import enum { diff --git a/AppList/ALApplicationTableDataSource.h b/AppList/ALApplicationTableDataSource.h index 26ea94c6..1fd38ce1 100644 --- a/AppList/ALApplicationTableDataSource.h +++ b/AppList/ALApplicationTableDataSource.h @@ -1,5 +1,4 @@ #import -#import #import @class ALApplicationList; diff --git a/AppList/ALValueCell.h b/AppList/ALValueCell.h index 05bf4591..bd07c9fa 100644 --- a/AppList/ALValueCell.h +++ b/AppList/ALValueCell.h @@ -1,5 +1,4 @@ #import -#import @protocol ALValueCellDelegate; diff --git a/AppSupport/CPBitmapStore.h b/AppSupport/CPBitmapStore.h index d6e7461a..a29f456b 100644 --- a/AppSupport/CPBitmapStore.h +++ b/AppSupport/CPBitmapStore.h @@ -1,3 +1,5 @@ +#import + @interface CPBitmapStore : NSObject - (void)purge; diff --git a/AppSupport/CPDistributedMessagingCenter.h b/AppSupport/CPDistributedMessagingCenter.h index 14379e2c..35a15f33 100644 --- a/AppSupport/CPDistributedMessagingCenter.h +++ b/AppSupport/CPDistributedMessagingCenter.h @@ -1,3 +1,8 @@ +#import +#import +#import +#import + @interface CPDistributedMessagingCenter : NSObject + (instancetype)centerNamed:(NSString *)name; diff --git a/ApplePushService/APSMessage.h b/ApplePushService/APSMessage.h index b4c5fc92..19b1e17a 100644 --- a/ApplePushService/APSMessage.h +++ b/ApplePushService/APSMessage.h @@ -1,3 +1,8 @@ +#import +#import +#import +#import + @interface APSMessage : NSObject - (id)initWithDictionary:(NSDictionary *)dictionary; diff --git a/AssertionServices/BKSProcess.h b/AssertionServices/BKSProcess.h index 68b83cdc..f5f5c69d 100644 --- a/AssertionServices/BKSProcess.h +++ b/AssertionServices/BKSProcess.h @@ -1,3 +1,5 @@ +#import + @interface BKSProcess : NSObject @property (nonatomic, assign) BOOL nowPlayingWithAudio; diff --git a/AssertionServices/BKSProcessAssertion.h b/AssertionServices/BKSProcessAssertion.h index e62054bf..3a82c21b 100644 --- a/AssertionServices/BKSProcessAssertion.h +++ b/AssertionServices/BKSProcessAssertion.h @@ -1,3 +1,7 @@ +#import +#import +#import + #define kBKSBackgroundModeUnboundedTaskCompletion @"unboundedTaskCompletion" #define kBKSBackgroundModeContinuous @"continuous" #define kBKSBackgroundModeFetch @"fetch" diff --git a/BaseBoard/BSAction.h b/BaseBoard/BSAction.h index b47a189b..55d1c40c 100644 --- a/BaseBoard/BSAction.h +++ b/BaseBoard/BSAction.h @@ -1,6 +1,7 @@ #import "BSDescriptionProviding.h" #import "BSSettingDescriptionProvider.h" #import "BSXPCCoding.h" +#import @interface BSAction : NSObject diff --git a/BaseBoard/BSAuditToken.h b/BaseBoard/BSAuditToken.h index 6ba5af4b..802e1fcf 100644 --- a/BaseBoard/BSAuditToken.h +++ b/BaseBoard/BSAuditToken.h @@ -1,3 +1,6 @@ +#import +#import + @interface BSAuditToken : NSObject @property (nonatomic, copy, readonly) NSString *bundleID; diff --git a/BaseBoard/BSBaseXPCClient.h b/BaseBoard/BSBaseXPCClient.h index 281abd32..f33c5685 100644 --- a/BaseBoard/BSBaseXPCClient.h +++ b/BaseBoard/BSBaseXPCClient.h @@ -1,3 +1,5 @@ +#import + @interface BSBaseXPCClient : NSObject @end diff --git a/BaseBoard/BSPlatform.h b/BaseBoard/BSPlatform.h index e1a4498f..3e087e50 100644 --- a/BaseBoard/BSPlatform.h +++ b/BaseBoard/BSPlatform.h @@ -1,4 +1,6 @@ -#import +#import +#import +#import typedef NS_ENUM(NSUInteger, BSDeviceClass) { BSDeviceClassIPhone, diff --git a/BaseBoard/BSProcessHandle.h b/BaseBoard/BSProcessHandle.h index 0194f16a..4f7865a3 100644 --- a/BaseBoard/BSProcessHandle.h +++ b/BaseBoard/BSProcessHandle.h @@ -1,3 +1,7 @@ +#import +#import +#import + @class BSMachPortTaskNameRight; @interface BSProcessHandle : NSObject diff --git a/BaseBoard/BSSettings.h b/BaseBoard/BSSettings.h index 880e504d..ef78cf1a 100644 --- a/BaseBoard/BSSettings.h +++ b/BaseBoard/BSSettings.h @@ -1,3 +1,7 @@ +#import +#import +#import + typedef NS_ENUM(NSUInteger, BSSettingType) { BSSettingTypeThisIsAReminderToFillOutTheseEnumNames = 8 }; diff --git a/BaseBoardUI/UIViewController+BaseBoardUI.h b/BaseBoardUI/UIViewController+BaseBoardUI.h index 5ce95045..92688e20 100644 --- a/BaseBoardUI/UIViewController+BaseBoardUI.h +++ b/BaseBoardUI/UIViewController+BaseBoardUI.h @@ -1,3 +1,5 @@ +#import + @interface UIViewController (BaseBoardUI) - (BOOL)bs_addChildViewController:(UIViewController *)childController; diff --git a/BiteSMS/BSQCQRLauncher.h b/BiteSMS/BSQCQRLauncher.h index c23e31c8..ebac9e44 100644 --- a/BiteSMS/BSQCQRLauncher.h +++ b/BiteSMS/BSQCQRLauncher.h @@ -1,3 +1,5 @@ +#import + @interface BSQCQRLauncher : NSObject + (void)showQuickCompose:(BOOL)isLocked; diff --git a/BulletinBoard/BBAction.h b/BulletinBoard/BBAction.h index 1248b623..8a227088 100644 --- a/BulletinBoard/BBAction.h +++ b/BulletinBoard/BBAction.h @@ -1,3 +1,7 @@ +#import +#import +#import + typedef void (^BBActionCallblock)(); @class BBAppearance; diff --git a/BulletinBoard/BBAppearance.h b/BulletinBoard/BBAppearance.h index 0cbfa506..7601d2ec 100644 --- a/BulletinBoard/BBAppearance.h +++ b/BulletinBoard/BBAppearance.h @@ -1,3 +1,6 @@ +#import +#import + @interface BBAppearance : NSObject + (instancetype)appearanceWithTitle:(NSString *)title; diff --git a/BulletinBoard/BBBulletin.h b/BulletinBoard/BBBulletin.h index 838663f8..366d7093 100644 --- a/BulletinBoard/BBBulletin.h +++ b/BulletinBoard/BBBulletin.h @@ -1,4 +1,5 @@ #import +#import @class BBAction, BBContent, BBSectionIcon, BBSectionParameters, BBSectionSubtypeParameters; diff --git a/BulletinBoard/BBDataProvider.h b/BulletinBoard/BBDataProvider.h index 1226d0d1..427f6015 100644 --- a/BulletinBoard/BBDataProvider.h +++ b/BulletinBoard/BBDataProvider.h @@ -1,3 +1,6 @@ +#import +#import + @class BBActionResponse, BBBulletinRequestParameters, BBDataProviderIdentity, BBSectionIcon, BBSectionInfo, BBSectionParameters, BBThumbnailSizeConstraints; @protocol BBSectionIdentity diff --git a/BulletinBoard/BBDataProviderIdentity.h b/BulletinBoard/BBDataProviderIdentity.h index a05dce50..62427765 100644 --- a/BulletinBoard/BBDataProviderIdentity.h +++ b/BulletinBoard/BBDataProviderIdentity.h @@ -1,3 +1,7 @@ +#import +#import +#import + @class BBDataProvider, BBSectionInfo, BBSectionParameters; @interface BBDataProviderIdentity : NSObject diff --git a/BulletinBoard/BBLocalDataProviderStore.h b/BulletinBoard/BBLocalDataProviderStore.h index f84fab73..5e39de5b 100644 --- a/BulletinBoard/BBLocalDataProviderStore.h +++ b/BulletinBoard/BBLocalDataProviderStore.h @@ -1,3 +1,5 @@ +#import + @protocol BBDataProvider; @interface BBLocalDataProviderStore : NSObject diff --git a/BulletinBoard/BBSectionIcon.h b/BulletinBoard/BBSectionIcon.h index df010191..bbfc6aac 100644 --- a/BulletinBoard/BBSectionIcon.h +++ b/BulletinBoard/BBSectionIcon.h @@ -1,3 +1,5 @@ +#import + @class BBSectionIconVariant; @interface BBSectionIcon : NSObject diff --git a/BulletinBoard/BBSectionIconVariant.h b/BulletinBoard/BBSectionIconVariant.h index 789a2785..cbeb1923 100644 --- a/BulletinBoard/BBSectionIconVariant.h +++ b/BulletinBoard/BBSectionIconVariant.h @@ -1,3 +1,7 @@ +#import +#import +#import + @interface BBSectionIconVariant : NSObject + (instancetype)variantWithFormat:(NSUInteger)format imageData:(NSData *)data; diff --git a/BulletinBoard/BBSectionInfoSettings.h b/BulletinBoard/BBSectionInfoSettings.h index 81bdd506..d80298cc 100644 --- a/BulletinBoard/BBSectionInfoSettings.h +++ b/BulletinBoard/BBSectionInfoSettings.h @@ -1,3 +1,6 @@ +#import +#import + typedef NS_OPTIONS(NSUInteger, BBSectionInfoPushSettings) { BBSectionInfoPushSettingsBadges = 1 << 0, BBSectionInfoPushSettingsSounds = 1 << 1, diff --git a/BulletinBoard/BBSectionParameters.h b/BulletinBoard/BBSectionParameters.h index b4efac8a..864b931d 100644 --- a/BulletinBoard/BBSectionParameters.h +++ b/BulletinBoard/BBSectionParameters.h @@ -1,3 +1,6 @@ +#import +#import + @class BBSectionSubtypeParameters; @interface BBSectionParameters : NSObject diff --git a/BulletinBoard/BBSectionSubtypeParameters.h b/BulletinBoard/BBSectionSubtypeParameters.h index 7a074c7f..a5a0cbfd 100644 --- a/BulletinBoard/BBSectionSubtypeParameters.h +++ b/BulletinBoard/BBSectionSubtypeParameters.h @@ -1,3 +1,5 @@ +#import + @interface BBSectionSubtypeParameters : NSObject @property (nonatomic) BOOL allowsAddingToLockScreenWhenUnlocked; diff --git a/BulletinBoard/BBSettingsGateway.h b/BulletinBoard/BBSettingsGateway.h index 1e68197a..2a2573f8 100644 --- a/BulletinBoard/BBSettingsGateway.h +++ b/BulletinBoard/BBSettingsGateway.h @@ -1,3 +1,6 @@ +#import +#import + @class BBSectionInfo; typedef void (^BBSettingsGatewayGetSectionInfoCompletion)(BBSectionInfo *sectionInfo); diff --git a/BulletinBoard/BBThumbnailSizeConstraints.h b/BulletinBoard/BBThumbnailSizeConstraints.h index c65f9fbb..4546981e 100644 --- a/BulletinBoard/BBThumbnailSizeConstraints.h +++ b/BulletinBoard/BBThumbnailSizeConstraints.h @@ -1,3 +1,6 @@ +#import +#import + @interface BBThumbnailSizeConstraints : NSObject @property (nonatomic) CGFloat fixedWidth; diff --git a/BulletinBoard/BBWeeAppController.h b/BulletinBoard/BBWeeAppController.h index 6c98b3c8..bcd6f9a8 100644 --- a/BulletinBoard/BBWeeAppController.h +++ b/BulletinBoard/BBWeeAppController.h @@ -1,3 +1,6 @@ +#import +#import + @protocol BBWeeAppController - (UIView *)view; diff --git a/CameraKit/UIView+CameraKitAdditions.h b/CameraKit/UIView+CameraKitAdditions.h index 4c58cb5d..ccff3b8e 100644 --- a/CameraKit/UIView+CameraKitAdditions.h +++ b/CameraKit/UIView+CameraKitAdditions.h @@ -1,4 +1,3 @@ -#import #import @interface UIView (CameraKit) diff --git a/Celestial/AVController.h b/Celestial/AVController.h index 56d7861b..5f30615d 100644 --- a/Celestial/AVController.h +++ b/Celestial/AVController.h @@ -1,3 +1,5 @@ +#import + @interface AVController : NSObject @end diff --git a/Celestial/AVItem.h b/Celestial/AVItem.h index 7feefdcd..175bd1b0 100644 --- a/Celestial/AVItem.h +++ b/Celestial/AVItem.h @@ -1,3 +1,5 @@ +#import + @interface AVItem : NSObject @end diff --git a/Celestial/AVQueue.h b/Celestial/AVQueue.h index f302cf36..67d76db0 100644 --- a/Celestial/AVQueue.h +++ b/Celestial/AVQueue.h @@ -1,3 +1,5 @@ +#import + @interface AVQueue : NSObject @end diff --git a/ChatKit/CKConversation.h b/ChatKit/CKConversation.h index 02821f0a..47b02e00 100644 --- a/ChatKit/CKConversation.h +++ b/ChatKit/CKConversation.h @@ -1,3 +1,6 @@ +#import +#import + @class IMChat; @interface CKConversation : NSObject diff --git a/ChatKit/CKConversationList.h b/ChatKit/CKConversationList.h index 6c986c82..28e52df1 100644 --- a/ChatKit/CKConversationList.h +++ b/ChatKit/CKConversationList.h @@ -1,3 +1,6 @@ +#import +#import + @interface CKConversationList : NSObject { NSMutableArray *_trackedConversations; } diff --git a/ChatKit/CKConversationListCell.h b/ChatKit/CKConversationListCell.h index 2e1c862d..2a0bb58f 100644 --- a/ChatKit/CKConversationListCell.h +++ b/ChatKit/CKConversationListCell.h @@ -1,3 +1,6 @@ +#import +#import + @class CKConversation; @interface CKConversationListCell : UITableViewCell { diff --git a/ChatKit/CKConversationListController.h b/ChatKit/CKConversationListController.h index bbf514e4..3a0381eb 100644 --- a/ChatKit/CKConversationListController.h +++ b/ChatKit/CKConversationListController.h @@ -1,3 +1,5 @@ +#import + @class CKConversationList; @interface CKConversationListController : UITableViewController diff --git a/ChatKit/CKDNDList.h b/ChatKit/CKDNDList.h index 8aefb3d4..45eb00bf 100644 --- a/ChatKit/CKDNDList.h +++ b/ChatKit/CKDNDList.h @@ -1,3 +1,7 @@ +#import +#import +#import + @interface CKDNDList : NSObject + (instancetype)sharedList; diff --git a/ChatKit/CKDetailsCell.h b/ChatKit/CKDetailsCell.h index c5d3e16b..5676f202 100644 --- a/ChatKit/CKDetailsCell.h +++ b/ChatKit/CKDetailsCell.h @@ -1,3 +1,6 @@ +#import +#import + @interface CKDetailsCell : UITableViewCell @property (nonatomic, retain) UIView *topSeperator; diff --git a/ChatKit/CKDetailsChatOptionsCell.h b/ChatKit/CKDetailsChatOptionsCell.h index b8a343ff..9be66e0c 100644 --- a/ChatKit/CKDetailsChatOptionsCell.h +++ b/ChatKit/CKDetailsChatOptionsCell.h @@ -1,4 +1,5 @@ #import "CKDetailsCell.h" +#import @interface CKDetailsChatOptionsCell : CKDetailsCell diff --git a/ChatKit/CKDetailsTableView.h b/ChatKit/CKDetailsTableView.h index 6f05b65c..730468ae 100644 --- a/ChatKit/CKDetailsTableView.h +++ b/ChatKit/CKDetailsTableView.h @@ -1,3 +1,5 @@ +#import + @interface CKDetailsTableView : UITableView @end diff --git a/ChatKit/CKEntity.h b/ChatKit/CKEntity.h index c315f66d..54b99cd2 100644 --- a/ChatKit/CKEntity.h +++ b/ChatKit/CKEntity.h @@ -1,3 +1,6 @@ +#import +#import + @class IMHandle; @interface CKEntity : NSObject diff --git a/ChatKit/CKMadridService.h b/ChatKit/CKMadridService.h index c2912639..be2f26ba 100644 --- a/ChatKit/CKMadridService.h +++ b/ChatKit/CKMadridService.h @@ -1,3 +1,6 @@ +#import +#import + @class CKMadridEntity; // 5.x diff --git a/ChatKit/CKMessageCell.h b/ChatKit/CKMessageCell.h index 7115fe2e..bff152f2 100644 --- a/ChatKit/CKMessageCell.h +++ b/ChatKit/CKMessageCell.h @@ -1,3 +1,5 @@ +#import + @interface CKMessageCell : UITableViewCell @end diff --git a/ChatKit/CKNavigationController.h b/ChatKit/CKNavigationController.h index 01d14aec..753cd4ca 100644 --- a/ChatKit/CKNavigationController.h +++ b/ChatKit/CKNavigationController.h @@ -1,3 +1,5 @@ +#import + @interface CKNavigationController : UINavigationController @end diff --git a/ChatKit/CKTranscriptRecipientsController.h b/ChatKit/CKTranscriptRecipientsController.h index 17cf09a1..e99ae6c5 100644 --- a/ChatKit/CKTranscriptRecipientsController.h +++ b/ChatKit/CKTranscriptRecipientsController.h @@ -1,3 +1,5 @@ +#import + @class CKConversation; @interface CKTranscriptRecipientsController : UITableViewController diff --git a/ChatKit/CKTranscriptRecipientsHeaderFooterView.h b/ChatKit/CKTranscriptRecipientsHeaderFooterView.h index 5dcf97c3..578fb415 100644 --- a/ChatKit/CKTranscriptRecipientsHeaderFooterView.h +++ b/ChatKit/CKTranscriptRecipientsHeaderFooterView.h @@ -1,3 +1,5 @@ +#import + @interface CKTranscriptRecipientsHeaderFooterView : UITableViewHeaderFooterView + (NSString *)identifier; diff --git a/ChatKit/CKTranscriptTypingIndicatorCell.h b/ChatKit/CKTranscriptTypingIndicatorCell.h index 9ff88093..995a8606 100644 --- a/ChatKit/CKTranscriptTypingIndicatorCell.h +++ b/ChatKit/CKTranscriptTypingIndicatorCell.h @@ -1,3 +1,5 @@ +#import + @interface CKTranscriptTypingIndicatorCell : UIView - (void)startPulseAnimation; diff --git a/ChatKit/CKTypingIndicatorLayer.h b/ChatKit/CKTypingIndicatorLayer.h index 242d41b2..d5913859 100644 --- a/ChatKit/CKTypingIndicatorLayer.h +++ b/ChatKit/CKTypingIndicatorLayer.h @@ -1,3 +1,5 @@ +#import + @interface CKTypingIndicatorLayer : CALayer - (void)startGrowAnimation; diff --git a/ChatKit/CKTypingView.h b/ChatKit/CKTypingView.h index 03f9d705..73b81af4 100644 --- a/ChatKit/CKTypingView.h +++ b/ChatKit/CKTypingView.h @@ -1,4 +1,5 @@ #import "CKTypingIndicatorLayer.h" +#import @interface CKTypingView : UIView diff --git a/ChatKit/CKViewController.h b/ChatKit/CKViewController.h index 3e377baf..cae16ec2 100644 --- a/ChatKit/CKViewController.h +++ b/ChatKit/CKViewController.h @@ -1,3 +1,5 @@ +#import + @interface CKViewController : UIViewController @end diff --git a/Contacts/CN.h b/Contacts/CN.h index 1e40d94b..6839e3f0 100644 --- a/Contacts/CN.h +++ b/Contacts/CN.h @@ -1,3 +1,6 @@ +#import +#import + @class CNPropertyDescription; @interface CN : NSObject diff --git a/Contacts/CNPredicate.h b/Contacts/CNPredicate.h index abe0ae66..fddf3080 100644 --- a/Contacts/CNPredicate.h +++ b/Contacts/CNPredicate.h @@ -1,3 +1,5 @@ +#import + @interface CNPredicate : NSPredicate @end diff --git a/Contacts/CNPropertyDescription.h b/Contacts/CNPropertyDescription.h index a35c6afb..575d2962 100644 --- a/Contacts/CNPropertyDescription.h +++ b/Contacts/CNPropertyDescription.h @@ -1,3 +1,6 @@ +#import +#import + @interface CNPropertyDescription : NSObject @property (nonatomic, copy, readonly) NSString *key; diff --git a/ControlCenterUIKit/CCUIContentModule-Protocol.h b/ControlCenterUIKit/CCUIContentModule-Protocol.h index 107f374d..a29fd34e 100644 --- a/ControlCenterUIKit/CCUIContentModule-Protocol.h +++ b/ControlCenterUIKit/CCUIContentModule-Protocol.h @@ -1,5 +1,4 @@ #import -#import #import "CCUIContentModuleContentViewController-Protocol.h" @protocol CCUIContentModule diff --git a/ControlCenterUIKit/CCUILabeledRoundButton.h b/ControlCenterUIKit/CCUILabeledRoundButton.h index 3cd46409..308faa5c 100644 --- a/ControlCenterUIKit/CCUILabeledRoundButton.h +++ b/ControlCenterUIKit/CCUILabeledRoundButton.h @@ -1,5 +1,4 @@ #import -#import #import "CCUICAPackageDescription.h" #import "CCUIRoundButton.h" diff --git a/ControlCenterUIKit/CCUILabeledRoundButtonViewController.h b/ControlCenterUIKit/CCUILabeledRoundButtonViewController.h index 30129388..63c1f3f8 100644 --- a/ControlCenterUIKit/CCUILabeledRoundButtonViewController.h +++ b/ControlCenterUIKit/CCUILabeledRoundButtonViewController.h @@ -1,5 +1,4 @@ #import -#import #import "CCUILabeledRoundButton.h" #import "CCUICAPackageDescription.h" diff --git a/ControlCenterUIKit/CCUIRoundButton.h b/ControlCenterUIKit/CCUIRoundButton.h index e2bad578..1b041392 100644 --- a/ControlCenterUIKit/CCUIRoundButton.h +++ b/ControlCenterUIKit/CCUIRoundButton.h @@ -1,5 +1,4 @@ #import -#import #import "CCUICAPackageView.h" #import "CCUICAPackageDescription.h" diff --git a/Foundation/NSBundle+Private.h b/Foundation/NSBundle+Private.h index 4a567945..71ee6886 100644 --- a/Foundation/NSBundle+Private.h +++ b/Foundation/NSBundle+Private.h @@ -1,4 +1,5 @@ -#import +#import +#import @interface NSBundle (Private) diff --git a/Foundation/NSCache+Private.h b/Foundation/NSCache+Private.h index 06adc318..7a41db84 100644 --- a/Foundation/NSCache+Private.h +++ b/Foundation/NSCache+Private.h @@ -1,4 +1,4 @@ -#import +#import @interface NSCache (Private) diff --git a/Foundation/NSDistributedNotificationCenter.h b/Foundation/NSDistributedNotificationCenter.h index acab88ac..b1bfc99e 100644 --- a/Foundation/NSDistributedNotificationCenter.h +++ b/Foundation/NSDistributedNotificationCenter.h @@ -1,3 +1,5 @@ +#import + #if TARGET_OS_IPHONE #import diff --git a/FrontBoard/FBSSceneSettings.h b/FrontBoard/FBSSceneSettings.h index 861c6dc9..d6d857b8 100644 --- a/FrontBoard/FBSSceneSettings.h +++ b/FrontBoard/FBSSceneSettings.h @@ -1,3 +1,5 @@ +#import + @interface FBSSceneSettings : NSObject @property (getter=isBackgrounded, nonatomic, readonly) BOOL backgrounded; diff --git a/FrontBoard/FBSceneHostManager.h b/FrontBoard/FBSceneHostManager.h index 1167e4e9..ae9955ff 100644 --- a/FrontBoard/FBSceneHostManager.h +++ b/FrontBoard/FBSceneHostManager.h @@ -1,3 +1,6 @@ +#import +#import + @class FBScene, FBSceneHostWrapperView; @interface FBSceneHostManager : NSObject diff --git a/FrontBoard/FBSceneHostWrapperView.h b/FrontBoard/FBSceneHostWrapperView.h index ea6d11bc..c10b83c7 100644 --- a/FrontBoard/FBSceneHostWrapperView.h +++ b/FrontBoard/FBSceneHostWrapperView.h @@ -1,3 +1,5 @@ +#import + @class FBScene; @interface FBSceneHostWrapperView : UIView diff --git a/FrontBoardServices/FBSDisplay.h b/FrontBoardServices/FBSDisplay.h index a1a9686c..697defa2 100644 --- a/FrontBoardServices/FBSDisplay.h +++ b/FrontBoardServices/FBSDisplay.h @@ -1,3 +1,7 @@ +#import +#import +#import + @interface FBSDisplay : NSObject @property (nonatomic, readonly) NSUInteger displayID; diff --git a/FrontBoardServices/FBSOpenApplicationOptions.h b/FrontBoardServices/FBSOpenApplicationOptions.h index 9a6aff7c..ad114b78 100644 --- a/FrontBoardServices/FBSOpenApplicationOptions.h +++ b/FrontBoardServices/FBSOpenApplicationOptions.h @@ -1,3 +1,7 @@ +#import +#import +#import + @interface FBSOpenApplicationOptions : NSObject @property (nonatomic, copy) NSDictionary *dictionary; diff --git a/FrontBoardServices/FBSSceneSettings.h b/FrontBoardServices/FBSSceneSettings.h index 68ad227c..9c44aa8a 100644 --- a/FrontBoardServices/FBSSceneSettings.h +++ b/FrontBoardServices/FBSSceneSettings.h @@ -1,3 +1,5 @@ +#import + @interface FBSSceneSettings : NSObject @property (nonatomic, readonly, getter=isBackgrounded) BOOL backgrounded; diff --git a/FrontBoardServices/FBSSceneSettingsDiff.h b/FrontBoardServices/FBSSceneSettingsDiff.h index 852bc8f4..041017da 100644 --- a/FrontBoardServices/FBSSceneSettingsDiff.h +++ b/FrontBoardServices/FBSSceneSettingsDiff.h @@ -1,3 +1,5 @@ +#import + @class FBSSceneSettings; @interface FBSSceneSettingsDiff : NSObject diff --git a/GeoServices/GEOCelestialBody.h b/GeoServices/GEOCelestialBody.h index 79006fb0..6962a17d 100644 --- a/GeoServices/GEOCelestialBody.h +++ b/GeoServices/GEOCelestialBody.h @@ -1,3 +1,5 @@ +#import + typedef NS_ENUM(NSInteger, GEOCelestialBody) { GEOCelestialBodySun, GEOCelestialBodyMercury, diff --git a/GeoServices/GEOEquatorialCelestialBodyData.h b/GeoServices/GEOEquatorialCelestialBodyData.h index cf1e1c36..8d94f044 100644 --- a/GeoServices/GEOEquatorialCelestialBodyData.h +++ b/GeoServices/GEOEquatorialCelestialBodyData.h @@ -1,4 +1,6 @@ #import "GEOCelestialBody.h" +#import +#import @interface GEOEquatorialCelestialBodyData : NSObject diff --git a/GraphicsServices/GSHeartbeat.h b/GraphicsServices/GSHeartbeat.h index d07ad4e3..67ed44aa 100644 --- a/GraphicsServices/GSHeartbeat.h +++ b/GraphicsServices/GSHeartbeat.h @@ -1,5 +1,5 @@ /* - + FILE_NAME ... FILE_DESCRIPTION Copyright (c) 2009 KennyTM~ @@ -10,7 +10,7 @@ are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. -* Redistributions in binary form must reproduce the above copyright notice, +* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of the KennyTM~ nor the names of its contributors may be @@ -35,6 +35,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include #include +#include __BEGIN_DECLS @@ -43,10 +44,10 @@ __BEGIN_DECLS @brief Calls function when display updates @author Kenny TM~ @date 2009 Sept 24 - + GSHeartbeat is an API that allows you to register a callback function when the display is updated. It has the same purpose as CADisplayLink, but have different origin. - + */ typedef struct __GSHeartbeat *GSHeartbeatRef; diff --git a/GraphicsServices/GSHiccup.h b/GraphicsServices/GSHiccup.h index 34c11317..3eeadca6 100644 --- a/GraphicsServices/GSHiccup.h +++ b/GraphicsServices/GSHiccup.h @@ -1,5 +1,5 @@ /* - + GSHiccups.h ... Hiccups. Copyright (c) 2009 KennyTM~ @@ -10,7 +10,7 @@ are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. -* Redistributions in binary form must reproduce the above copyright notice, +* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of the KennyTM~ nor the names of its contributors may be @@ -34,6 +34,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #define GSHICCUPS_H #include +#include __BEGIN_DECLS diff --git a/IMCore/IMHandle.h b/IMCore/IMHandle.h index a5b1a671..f739ebb9 100644 --- a/IMCore/IMHandle.h +++ b/IMCore/IMHandle.h @@ -1,3 +1,7 @@ +#import +#import +#import + @class IMPerson; @interface IMHandle : NSObject diff --git a/IMCore/IMItemsController.h b/IMCore/IMItemsController.h index 4aca32af..b1205987 100644 --- a/IMCore/IMItemsController.h +++ b/IMCore/IMItemsController.h @@ -1,3 +1,5 @@ +#import + @interface IMItemsController : NSObject @end diff --git a/IMCore/IMPerson.h b/IMCore/IMPerson.h index 6cefa9d2..86abef6c 100644 --- a/IMCore/IMPerson.h +++ b/IMCore/IMPerson.h @@ -1,3 +1,6 @@ +#import +#import + @interface IMPerson : NSObject @property (nonatomic, readonly) NSString *name; diff --git a/IMCore/IMServiceImpl.h b/IMCore/IMServiceImpl.h index aebec78c..4e187124 100644 --- a/IMCore/IMServiceImpl.h +++ b/IMCore/IMServiceImpl.h @@ -1,3 +1,7 @@ +#import +#import +#import + @class IMPerson; @interface IMServiceImpl : NSObject diff --git a/IMDaemonCore/IMDChat.h b/IMDaemonCore/IMDChat.h index 580a78a9..ec5cfcad 100644 --- a/IMDaemonCore/IMDChat.h +++ b/IMDaemonCore/IMDChat.h @@ -1,3 +1,7 @@ +#import +#import +#import +#import @class IMDHandle; diff --git a/IMDaemonCore/IMDChatRegistry.h b/IMDaemonCore/IMDChatRegistry.h index d9ee597a..1dfeeb7d 100644 --- a/IMDaemonCore/IMDChatRegistry.h +++ b/IMDaemonCore/IMDChatRegistry.h @@ -1,3 +1,6 @@ +#import +#import + @class IMDChat; @interface IMDChatRegistry : NSObject diff --git a/IMDaemonCore/IMDFileTransferCenter.h b/IMDaemonCore/IMDFileTransferCenter.h index 64ca8acc..19b68e91 100644 --- a/IMDaemonCore/IMDFileTransferCenter.h +++ b/IMDaemonCore/IMDFileTransferCenter.h @@ -1,3 +1,6 @@ +#import +#import + @class IMFileTransfer; @interface IMDFileTransferCenter : NSObject diff --git a/IMDaemonCore/IMDHandle.h b/IMDaemonCore/IMDHandle.h index 6aab58c0..24dacd86 100644 --- a/IMDaemonCore/IMDHandle.h +++ b/IMDaemonCore/IMDHandle.h @@ -1,3 +1,6 @@ +#import +#import + @interface IMDHandle : NSObject @property (nonatomic, retain) NSString *ID; diff --git a/IMDaemonCore/IMDMessageStore.h b/IMDaemonCore/IMDMessageStore.h index f72ebf2d..178f146b 100644 --- a/IMDaemonCore/IMDMessageStore.h +++ b/IMDaemonCore/IMDMessageStore.h @@ -1,3 +1,6 @@ +#import +#import + @class FZMessage; @interface IMDMessageStore : NSObject diff --git a/IMDaemonCore/IMDServiceSession.h b/IMDaemonCore/IMDServiceSession.h index b26d6f52..d24ee254 100644 --- a/IMDaemonCore/IMDServiceSession.h +++ b/IMDaemonCore/IMDServiceSession.h @@ -1,3 +1,5 @@ +#import + @interface IMDServiceSession : NSObject @end diff --git a/IMFoundation/IMItem.h b/IMFoundation/IMItem.h index dfccb02f..a97f4958 100644 --- a/IMFoundation/IMItem.h +++ b/IMFoundation/IMItem.h @@ -1,3 +1,8 @@ +#import +#import +#import +#import + @interface IMItem : NSObject @property (nonatomic) long long type; diff --git a/IMSharedUtilities/IMFileTransfer.h b/IMSharedUtilities/IMFileTransfer.h index b77cbc73..9c72b6bd 100644 --- a/IMSharedUtilities/IMFileTransfer.h +++ b/IMSharedUtilities/IMFileTransfer.h @@ -1,3 +1,6 @@ +#import +#import + @interface IMFileTransfer : NSObject @property (nonatomic, retain) NSString *messageGUID; diff --git a/IconSupport/ISIconSupport.h b/IconSupport/ISIconSupport.h index 2f57130b..b74722dd 100644 --- a/IconSupport/ISIconSupport.h +++ b/IconSupport/ISIconSupport.h @@ -1,3 +1,8 @@ +#import +#import +#import +#import + @interface ISIconSupport : NSObject { NSMutableSet *extensions; } diff --git a/Jasmine/SchemeManager.h b/Jasmine/SchemeManager.h index b1883eeb..42e0cf16 100644 --- a/Jasmine/SchemeManager.h +++ b/Jasmine/SchemeManager.h @@ -1,3 +1,6 @@ +#import +#import + @interface SchemeManager : NSObject + (void)handleVideoOpen:(NSURL *)url; diff --git a/LightMessaging/LightMessaging.h b/LightMessaging/LightMessaging.h index 2f908b00..5b091ef4 100644 --- a/LightMessaging/LightMessaging.h +++ b/LightMessaging/LightMessaging.h @@ -324,7 +324,7 @@ static inline kern_return_t LMSendCFDataReply(mach_port_t replyPort, CFDataRef d } #ifdef __OBJC__ - +#import #pragma GCC diagnostic ignored "-Wdeprecated-declarations" static inline id LMPropertyListForData(NSData *data) { diff --git a/MaterialKit/MTLumaDodgePillView.h b/MaterialKit/MTLumaDodgePillView.h index d94980ec..b3e37f20 100644 --- a/MaterialKit/MTLumaDodgePillView.h +++ b/MaterialKit/MTLumaDodgePillView.h @@ -1,3 +1,5 @@ +#import + typedef NS_ENUM(NSUInteger, MTLumaDodgePillStyle) { MTLumaDodgePillStyleNone, MTLumaDodgePillStyleThin, diff --git a/MediaPlayer/MPAVRoutingController.h b/MediaPlayer/MPAVRoutingController.h index 1236ea56..4e8269a1 100644 --- a/MediaPlayer/MPAVRoutingController.h +++ b/MediaPlayer/MPAVRoutingController.h @@ -1,3 +1,7 @@ +#import +#import +#import + typedef NS_ENUM(NSInteger, MPRouteDiscoveryMode) { MPRouteDiscoveryModeDisabled, MPRouteDiscoveryModePresence, diff --git a/MediaPlayer/MPVideoView.h b/MediaPlayer/MPVideoView.h index 51ad745d..d8b63ac8 100644 --- a/MediaPlayer/MPVideoView.h +++ b/MediaPlayer/MPVideoView.h @@ -1,3 +1,5 @@ +#import + @interface MPVideoView : UIView @end diff --git a/MediaPlayerUI/MPUMediaRemoteControlsView.h b/MediaPlayerUI/MPUMediaRemoteControlsView.h index 99a842d8..e6580236 100644 --- a/MediaPlayerUI/MPUMediaRemoteControlsView.h +++ b/MediaPlayerUI/MPUMediaRemoteControlsView.h @@ -1,3 +1,5 @@ +#import + @interface MPUMediaRemoteControlsView : UIView @end diff --git a/MediaPlayerUI/MPUMediaRemoteViewController.h b/MediaPlayerUI/MPUMediaRemoteViewController.h index 8673ff54..d047a2f5 100644 --- a/MediaPlayerUI/MPUMediaRemoteViewController.h +++ b/MediaPlayerUI/MPUMediaRemoteViewController.h @@ -1,3 +1,5 @@ +#import + @interface MPUMediaRemoteViewController : UIViewController @end diff --git a/MediaPlayerUI/MPUNowPlayingArtworkView.h b/MediaPlayerUI/MPUNowPlayingArtworkView.h index 3119186f..7b15a841 100644 --- a/MediaPlayerUI/MPUNowPlayingArtworkView.h +++ b/MediaPlayerUI/MPUNowPlayingArtworkView.h @@ -1,3 +1,5 @@ +#import + @interface MPUNowPlayingArtworkView : UIView @property (nonatomic, retain) UIImage *artworkImage; diff --git a/MediaPlayerUI/MPUNowPlayingController.h b/MediaPlayerUI/MPUNowPlayingController.h index efb9e2d4..dad1ea83 100644 --- a/MediaPlayerUI/MPUNowPlayingController.h +++ b/MediaPlayerUI/MPUNowPlayingController.h @@ -1,3 +1,5 @@ +#import + @class MPUNowPlayingController, MPUNowPlayingMetadata; @protocol MPUNowPlayingDelegate diff --git a/MediaPlayerUI/MPUNowPlayingMetadata.h b/MediaPlayerUI/MPUNowPlayingMetadata.h index 44fbcd0e..b71e659c 100644 --- a/MediaPlayerUI/MPUNowPlayingMetadata.h +++ b/MediaPlayerUI/MPUNowPlayingMetadata.h @@ -1,3 +1,6 @@ +#import +#import + @interface MPUNowPlayingMetadata : NSObject @property (nonatomic, readonly) NSString *title; diff --git a/MediaPlayerUI/MPUNowPlayingMetadataView.h b/MediaPlayerUI/MPUNowPlayingMetadataView.h index 2f8636c4..a4c450b6 100644 --- a/MediaPlayerUI/MPUNowPlayingMetadataView.h +++ b/MediaPlayerUI/MPUNowPlayingMetadataView.h @@ -1,3 +1,5 @@ +#import + @interface MPUNowPlayingMetadataView : UIView @property (nonatomic, copy) NSAttributedString *attributedText; diff --git a/MediaPlayerUI/MPUTransportControlsView.h b/MediaPlayerUI/MPUTransportControlsView.h index 4bd03efb..1c226cbc 100644 --- a/MediaPlayerUI/MPUTransportControlsView.h +++ b/MediaPlayerUI/MPUTransportControlsView.h @@ -1,3 +1,5 @@ +#import + @interface MPUTransportControlsView : UIView @property (assign) NSInteger minimumNumberOfTransportButtonsForLayout; diff --git a/MobilePhone/RecentCall.h b/MobilePhone/RecentCall.h index 0472fe1a..70d78948 100644 --- a/MobilePhone/RecentCall.h +++ b/MobilePhone/RecentCall.h @@ -1,3 +1,5 @@ +#import + @interface RecentCall : NSObject - (int)type; diff --git a/MobilePhone/RecentsTableViewCell.h b/MobilePhone/RecentsTableViewCell.h index e9ee6415..7363b135 100644 --- a/MobilePhone/RecentsTableViewCell.h +++ b/MobilePhone/RecentsTableViewCell.h @@ -1,3 +1,5 @@ +#import + @class RecentCall; @interface RecentsTableViewCell : UITableViewCell diff --git a/MobilePhone/RecentsTableViewCellContentView.h b/MobilePhone/RecentsTableViewCellContentView.h index e0ca14da..a2cecb64 100644 --- a/MobilePhone/RecentsTableViewCellContentView.h +++ b/MobilePhone/RecentsTableViewCellContentView.h @@ -1,3 +1,5 @@ +#import + @interface RecentsTableViewCellContentView : UIView @end diff --git a/MobileSMS/mSMSMessageTranscriptController.h b/MobileSMS/mSMSMessageTranscriptController.h index e2636f89..c827b931 100644 --- a/MobileSMS/mSMSMessageTranscriptController.h +++ b/MobileSMS/mSMSMessageTranscriptController.h @@ -1,3 +1,5 @@ +#import + @interface mSMSMessageTranscriptController : NSObject @end diff --git a/MobileTimer/WorldClockView.h b/MobileTimer/WorldClockView.h index 1b40f71e..9e18e7a0 100644 --- a/MobileTimer/WorldClockView.h +++ b/MobileTimer/WorldClockView.h @@ -1,6 +1,7 @@ // app #import +#import @class WorldClockCity; diff --git a/Pandora/NowPlayingDrawerCell.h b/Pandora/NowPlayingDrawerCell.h index a6f9f573..2eaa98d3 100644 --- a/Pandora/NowPlayingDrawerCell.h +++ b/Pandora/NowPlayingDrawerCell.h @@ -1,3 +1,6 @@ +#import +#import + @interface NowPlayingDrawerCell : UITableViewCell @property (nonatomic, retain) UIImageView *leftImageView; diff --git a/Pandora/PMRadio.h b/Pandora/PMRadio.h index b636cd0e..441a1a88 100644 --- a/Pandora/PMRadio.h +++ b/Pandora/PMRadio.h @@ -1,3 +1,5 @@ +#import + @class TrackDescriptor; @interface PMRadio : NSObject diff --git a/Pandora/TrackDescriptor.h b/Pandora/TrackDescriptor.h index 8013cb3f..6b1f0f9c 100644 --- a/Pandora/TrackDescriptor.h +++ b/Pandora/TrackDescriptor.h @@ -1,3 +1,6 @@ +#import +#import + @interface TrackDescriptor : NSObject @property (nonatomic, retain) NSString *songName; diff --git a/PassKitUI/PKGlyphViewDelegate.h b/PassKitUI/PKGlyphViewDelegate.h index afd0b3f9..62a2b720 100644 --- a/PassKitUI/PKGlyphViewDelegate.h +++ b/PassKitUI/PKGlyphViewDelegate.h @@ -1,3 +1,6 @@ +#import +#import + @class PKGlyphView; @protocol PKGlyphViewDelegate diff --git a/PassKitUIFoundation/PKGlyphView.h b/PassKitUIFoundation/PKGlyphView.h index e2881941..45c265fe 100644 --- a/PassKitUIFoundation/PKGlyphView.h +++ b/PassKitUIFoundation/PKGlyphView.h @@ -1,4 +1,5 @@ #import +#import @interface PKGlyphView : UIView diff --git a/PersistentConnection/PCPersistentTimer.h b/PersistentConnection/PCPersistentTimer.h index 8060ea20..89ad3a6e 100644 --- a/PersistentConnection/PCPersistentTimer.h +++ b/PersistentConnection/PCPersistentTimer.h @@ -1,3 +1,8 @@ +#import +#import +#import +#import + @interface PCPersistentTimer : NSObject - (instancetype)initWithFireDate:(NSDate *)fireDate serviceIdentifier:(NSString *)serviceIdentifier target:(id)target selector:(SEL)selector userInfo:(id)userInfo; diff --git a/PhotoLibrary/PLCropOverlay.h b/PhotoLibrary/PLCropOverlay.h index 4d6c18bc..e73b7da2 100644 --- a/PhotoLibrary/PLCropOverlay.h +++ b/PhotoLibrary/PLCropOverlay.h @@ -1,5 +1,4 @@ #import -#import @interface PLCropOverlay : UIView diff --git a/PhotoLibrary/PLWallpaperImageViewController.h b/PhotoLibrary/PLWallpaperImageViewController.h index aaa6adab..5e03240e 100644 --- a/PhotoLibrary/PLWallpaperImageViewController.h +++ b/PhotoLibrary/PLWallpaperImageViewController.h @@ -1,4 +1,3 @@ -#import #import typedef NS_ENUM(NSUInteger, PLWallpaperMode) { diff --git a/PhotoLibrary/UIView+PhotoLibraryAdditions.h b/PhotoLibrary/UIView+PhotoLibraryAdditions.h index e1b480f7..d47ce414 100644 --- a/PhotoLibrary/UIView+PhotoLibraryAdditions.h +++ b/PhotoLibrary/UIView+PhotoLibraryAdditions.h @@ -1,5 +1,4 @@ #import -#import @interface UIView (PhotoLibraryAdditions) diff --git a/PhotoLibraryServices/PLManagedAlbum.h b/PhotoLibraryServices/PLManagedAlbum.h index d81fb831..20225f0c 100644 --- a/PhotoLibraryServices/PLManagedAlbum.h +++ b/PhotoLibraryServices/PLManagedAlbum.h @@ -1,3 +1,6 @@ +#import +#import + @interface PLManagedAlbum : NSObject @property (nonatomic, retain) NSOrderedSet *assets; diff --git a/PhotoLibraryServices/PLManagedAsset.h b/PhotoLibraryServices/PLManagedAsset.h index b1e0736f..6c863207 100644 --- a/PhotoLibraryServices/PLManagedAsset.h +++ b/PhotoLibraryServices/PLManagedAsset.h @@ -1,3 +1,5 @@ +#import + @interface PLManagedAsset : NSObject - (UIImage *)newFullSizeImage; diff --git a/PhotoLibraryServices/PLPhotoLibrary.h b/PhotoLibraryServices/PLPhotoLibrary.h index b86acbc5..b135bcf5 100644 --- a/PhotoLibraryServices/PLPhotoLibrary.h +++ b/PhotoLibraryServices/PLPhotoLibrary.h @@ -1,3 +1,5 @@ +#import + @class PLManagedAlbum; @interface PLPhotoLibrary : NSObject diff --git a/PhotosUI/UIImage+PhotosUIAdditions.h b/PhotosUI/UIImage+PhotosUIAdditions.h index 9feae73f..6e0954b0 100644 --- a/PhotosUI/UIImage+PhotosUIAdditions.h +++ b/PhotosUI/UIImage+PhotosUIAdditions.h @@ -1,5 +1,4 @@ #import -#import @interface UIImage (PhotosUI) diff --git a/Preferences/PSRootController.h b/Preferences/PSRootController.h index 04ad6ff5..5d4b3efd 100644 --- a/Preferences/PSRootController.h +++ b/Preferences/PSRootController.h @@ -1,5 +1,4 @@ #import -#import @class PSListController; diff --git a/Preferences/PSTableCell.h b/Preferences/PSTableCell.h index bcce75a9..3ff04976 100644 --- a/Preferences/PSTableCell.h +++ b/Preferences/PSTableCell.h @@ -1,5 +1,4 @@ #import -#import @class PSSpecifier; diff --git a/Preferences/PreferencesAppController.h b/Preferences/PreferencesAppController.h index 22aa3d79..cd083b5f 100644 --- a/Preferences/PreferencesAppController.h +++ b/Preferences/PreferencesAppController.h @@ -1,3 +1,5 @@ +#import + @class PSUIPrefsRootController; @interface PreferencesAppController : UIApplication/*this is from Preferences.app, not framework*/ diff --git a/QuartzCore/CABackdropLayer.h b/QuartzCore/CABackdropLayer.h index f71b9c63..d75536b3 100644 --- a/QuartzCore/CABackdropLayer.h +++ b/QuartzCore/CABackdropLayer.h @@ -1,4 +1,5 @@ -#import +#import +#import @interface CABackdropLayer : CALayer diff --git a/SparkAppItem.h b/SparkAppItem.h index 06ae30bd..04d1adea 100644 --- a/SparkAppItem.h +++ b/SparkAppItem.h @@ -1,3 +1,5 @@ +#import + @interface SparkAppItem : NSObject @property (nonatomic, retain) NSString* bundleIdentifier; @property (nonatomic, retain) NSString* displayName; diff --git a/SparkAppList.h b/SparkAppList.h index 0f0afd3c..ba71416a 100644 --- a/SparkAppList.h +++ b/SparkAppList.h @@ -1,3 +1,7 @@ +#import +#import +#import + @interface SparkAppList : NSObject { id handler; diff --git a/SparkAppListTableViewController.h b/SparkAppListTableViewController.h index 4fded206..2fc59c93 100644 --- a/SparkAppListTableViewController.h +++ b/SparkAppListTableViewController.h @@ -1,3 +1,5 @@ +#import + @interface SparkAppListTableViewController : UITableViewController @property (nonatomic, retain) NSArray* appList; diff --git a/SplashBoard/XBApplicationSnapshot.h b/SplashBoard/XBApplicationSnapshot.h index d7ab80c2..e90a21f0 100644 --- a/SplashBoard/XBApplicationSnapshot.h +++ b/SplashBoard/XBApplicationSnapshot.h @@ -1,4 +1,5 @@ #import +#import @interface XBApplicationSnapshot : NSObject diff --git a/SpringBoard/BBBulletin+SpringBoardAdditions.h b/SpringBoard/BBBulletin+SpringBoardAdditions.h index 1f969810..050c24e3 100644 --- a/SpringBoard/BBBulletin+SpringBoardAdditions.h +++ b/SpringBoard/BBBulletin+SpringBoardAdditions.h @@ -1,5 +1,6 @@ #import #import +#import @interface BBBulletin (SpringBoardAdditions) diff --git a/SpringBoard/SBAppSliderController.h b/SpringBoard/SBAppSliderController.h index 9ec5086e..5ececc56 100644 --- a/SpringBoard/SBAppSliderController.h +++ b/SpringBoard/SBAppSliderController.h @@ -1,4 +1,5 @@ #import "SBAppSliderScrollingViewDelegate.h" +#import @class SBAppSliderScrollingViewController; diff --git a/SpringBoard/SBAppSliderScrollingViewDelegate.h b/SpringBoard/SBAppSliderScrollingViewDelegate.h index 46905e24..fd523657 100644 --- a/SpringBoard/SBAppSliderScrollingViewDelegate.h +++ b/SpringBoard/SBAppSliderScrollingViewDelegate.h @@ -1,3 +1,5 @@ +#import + @class SBAppSliderScrollingViewController; @protocol SBAppSliderScrollingViewDelegate diff --git a/SpringBoard/SBAppSwitcherController.h b/SpringBoard/SBAppSwitcherController.h index 829db726..b3229b1f 100644 --- a/SpringBoard/SBAppSwitcherController.h +++ b/SpringBoard/SBAppSwitcherController.h @@ -1,4 +1,5 @@ #import "SBAppSwitcherScrollingViewDelegate.h" +#import @class SBAppSwitcherPageViewController; diff --git a/SpringBoard/SBAppSwitcherModel.h b/SpringBoard/SBAppSwitcherModel.h index e652e206..8272c5be 100644 --- a/SpringBoard/SBAppSwitcherModel.h +++ b/SpringBoard/SBAppSwitcherModel.h @@ -1,3 +1,5 @@ +#import + @class SBDisplayItem, SBDisplayLayout; @interface SBAppSwitcherModel : NSObject diff --git a/SpringBoard/SBAppSwitcherPageViewController.h b/SpringBoard/SBAppSwitcherPageViewController.h index a857aab0..7e61f87b 100644 --- a/SpringBoard/SBAppSwitcherPageViewController.h +++ b/SpringBoard/SBAppSwitcherPageViewController.h @@ -1,3 +1,5 @@ +#import + @class SBDisplayItem; @interface SBAppSwitcherPageViewController : UIViewController diff --git a/SpringBoard/SBAppSwitcherPeopleButtonAndLabelView.h b/SpringBoard/SBAppSwitcherPeopleButtonAndLabelView.h index 876cd520..cbf36c37 100644 --- a/SpringBoard/SBAppSwitcherPeopleButtonAndLabelView.h +++ b/SpringBoard/SBAppSwitcherPeopleButtonAndLabelView.h @@ -1,3 +1,6 @@ +#import +#import + @interface SBAppSwitcherPeopleButtonAndLabelView : UIView - (instancetype)initWithFrame:(CGRect)frame forMonogramSize:(CGFloat)monogramSize compact:(BOOL)compact; diff --git a/SpringBoard/SBAppSwitcherPeopleDataSource.h b/SpringBoard/SBAppSwitcherPeopleDataSource.h index 17668cab..2059acab 100644 --- a/SpringBoard/SBAppSwitcherPeopleDataSource.h +++ b/SpringBoard/SBAppSwitcherPeopleDataSource.h @@ -1,3 +1,6 @@ +#import +#import + @protocol SBAppSwitcherPeopleDataSourceConsumer; @protocol SBAppSwitcherPeopleDataSource diff --git a/SpringBoard/SBAppSwitcherPeopleScrollView.h b/SpringBoard/SBAppSwitcherPeopleScrollView.h index f3e40aad..80218448 100644 --- a/SpringBoard/SBAppSwitcherPeopleScrollView.h +++ b/SpringBoard/SBAppSwitcherPeopleScrollView.h @@ -1,3 +1,5 @@ +#import + @interface SBAppSwitcherPeopleScrollView : UIScrollView - (void)updateDataVisibleOnly:(BOOL)visibleOnly animated:(BOOL)animated; diff --git a/SpringBoard/SBAppSwitcherPeopleScrollViewDelegate.h b/SpringBoard/SBAppSwitcherPeopleScrollViewDelegate.h index df329a79..5d5644ec 100644 --- a/SpringBoard/SBAppSwitcherPeopleScrollViewDelegate.h +++ b/SpringBoard/SBAppSwitcherPeopleScrollViewDelegate.h @@ -1,3 +1,6 @@ +#import +#import + @class SBAppSwitcherPeopleScrollView, SBScrollViewItemWrapper; @protocol SBAppSwitcherPeopleScrollViewDelegate diff --git a/SpringBoard/SBAppSwitcherPeopleViewController.h b/SpringBoard/SBAppSwitcherPeopleViewController.h index 1fe74ba9..c4ee4d98 100644 --- a/SpringBoard/SBAppSwitcherPeopleViewController.h +++ b/SpringBoard/SBAppSwitcherPeopleViewController.h @@ -1,3 +1,5 @@ +#import + @class ABMonogrammer; @protocol SBAppSwitcherPeopleDataSource; diff --git a/SpringBoard/SBAppSwitcherScrollingViewDelegate.h b/SpringBoard/SBAppSwitcherScrollingViewDelegate.h index 7619b732..a13b03d9 100644 --- a/SpringBoard/SBAppSwitcherScrollingViewDelegate.h +++ b/SpringBoard/SBAppSwitcherScrollingViewDelegate.h @@ -1,3 +1,5 @@ +#include + @class SBAppSwitcherPageViewController, SBDisplayItem, SBDisplayLayout; @protocol SBAppSwitcherScrollingViewDelegate diff --git a/SpringBoard/SBAppSwitcherSnapshotView.h b/SpringBoard/SBAppSwitcherSnapshotView.h index bd3dd6f0..9e38423c 100644 --- a/SpringBoard/SBAppSwitcherSnapshotView.h +++ b/SpringBoard/SBAppSwitcherSnapshotView.h @@ -1,3 +1,6 @@ +#import +#import + @class SBDisplayItem, _SBAppSwitcherSnapshotContext, XBApplicationSnapshot; @interface SBAppSwitcherSnapshotView : UIView diff --git a/SpringBoard/SBAppView.h b/SpringBoard/SBAppView.h index 3f8c0133..8ef531fa 100644 --- a/SpringBoard/SBAppView.h +++ b/SpringBoard/SBAppView.h @@ -1,4 +1,5 @@ #import +#import @class SBApplication, FBSDisplay; diff --git a/SpringBoard/SBAppViewControllerDelegate.h b/SpringBoard/SBAppViewControllerDelegate.h index 07c97530..d9ed7824 100644 --- a/SpringBoard/SBAppViewControllerDelegate.h +++ b/SpringBoard/SBAppViewControllerDelegate.h @@ -1,3 +1,6 @@ +#import +#import + @class SBApplication, SBAppViewController; @protocol SBAppViewControllerDelegate diff --git a/SpringBoard/SBAppWindow.h b/SpringBoard/SBAppWindow.h index 95777c45..13b7a148 100644 --- a/SpringBoard/SBAppWindow.h +++ b/SpringBoard/SBAppWindow.h @@ -1,3 +1,5 @@ +#import + @interface SBAppWindow : NSObject @end diff --git a/SpringBoard/SBApplicationController.h b/SpringBoard/SBApplicationController.h index 92bb18ac..f6828ee1 100644 --- a/SpringBoard/SBApplicationController.h +++ b/SpringBoard/SBApplicationController.h @@ -1,3 +1,5 @@ +#import + @class SBApplication, FBUIApplicationService; @interface SBApplicationController : NSObject diff --git a/SpringBoard/SBApplicationHosting.h b/SpringBoard/SBApplicationHosting.h index 4fc633b1..d9ba8983 100644 --- a/SpringBoard/SBApplicationHosting.h +++ b/SpringBoard/SBApplicationHosting.h @@ -1,4 +1,3 @@ -#import #import @class SBApplication; diff --git a/SpringBoard/SBApplicationIcon.h b/SpringBoard/SBApplicationIcon.h index 50c1c17f..4c9e1a7d 100644 --- a/SpringBoard/SBApplicationIcon.h +++ b/SpringBoard/SBApplicationIcon.h @@ -1,5 +1,6 @@ #import "SBLeafIcon.h" #import "SBIconImageInfo.h" +#import @class SBApplication; diff --git a/SpringBoard/SBAssistantController.h b/SpringBoard/SBAssistantController.h index 70d68531..6f837957 100644 --- a/SpringBoard/SBAssistantController.h +++ b/SpringBoard/SBAssistantController.h @@ -1,3 +1,6 @@ +#import +#import + @interface SBAssistantController : NSObject + (instancetype)sharedInstance; diff --git a/SpringBoard/SBAwayController.h b/SpringBoard/SBAwayController.h index 0ee9eeb2..07dfcdee 100644 --- a/SpringBoard/SBAwayController.h +++ b/SpringBoard/SBAwayController.h @@ -1,3 +1,5 @@ +#import + @class SBAwayView; @interface SBAwayController : NSObject diff --git a/SpringBoard/SBAwayListItem.h b/SpringBoard/SBAwayListItem.h index 2726f038..60da8d38 100644 --- a/SpringBoard/SBAwayListItem.h +++ b/SpringBoard/SBAwayListItem.h @@ -1,3 +1,5 @@ +#import + @interface SBAwayListItem : NSObject @end diff --git a/SpringBoard/SBAwayNotificationListCell.h b/SpringBoard/SBAwayNotificationListCell.h index 4cb472f9..a72e4ebe 100644 --- a/SpringBoard/SBAwayNotificationListCell.h +++ b/SpringBoard/SBAwayNotificationListCell.h @@ -1,3 +1,5 @@ +#import + @class BBBulletin; @interface SBAwayNotificationListCell : UITableViewCell diff --git a/SpringBoard/SBAwayView.h b/SpringBoard/SBAwayView.h index 033538fd..57d995a2 100644 --- a/SpringBoard/SBAwayView.h +++ b/SpringBoard/SBAwayView.h @@ -1,3 +1,5 @@ +#import + @interface SBAwayView : UIView @end diff --git a/SpringBoard/SBBBItemInfo.h b/SpringBoard/SBBBItemInfo.h index ab2b0340..7b737e81 100644 --- a/SpringBoard/SBBBItemInfo.h +++ b/SpringBoard/SBBBItemInfo.h @@ -1,3 +1,5 @@ +#import + @interface SBBBItemInfo : NSObject @end diff --git a/SpringBoard/SBBBSectionInfo.h b/SpringBoard/SBBBSectionInfo.h index 86316345..75c1ffa9 100644 --- a/SpringBoard/SBBBSectionInfo.h +++ b/SpringBoard/SBBBSectionInfo.h @@ -1,4 +1,5 @@ #import "SBBBItemInfo.h" +#import @interface SBBBSectionInfo : SBBBItemInfo diff --git a/SpringBoard/SBBacklightController.h b/SpringBoard/SBBacklightController.h index e9cd1f20..31f409b8 100644 --- a/SpringBoard/SBBacklightController.h +++ b/SpringBoard/SBBacklightController.h @@ -1,3 +1,6 @@ +#import +#import + @interface SBBacklightController : NSObject + (SBBacklightController *)sharedInstance; diff --git a/SpringBoard/SBBannerContextView.h b/SpringBoard/SBBannerContextView.h index 5da04ff3..57ac1c96 100644 --- a/SpringBoard/SBBannerContextView.h +++ b/SpringBoard/SBBannerContextView.h @@ -1,3 +1,5 @@ +#import + @interface SBBannerContextView : UIView @end diff --git a/SpringBoard/SBBannerController.h b/SpringBoard/SBBannerController.h index 5283e190..73910d58 100644 --- a/SpringBoard/SBBannerController.h +++ b/SpringBoard/SBBannerController.h @@ -1,3 +1,6 @@ +#import +#import + @interface SBBannerController : NSObject + (instancetype)sharedInstance; diff --git a/SpringBoard/SBBannerView.h b/SpringBoard/SBBannerView.h index 417e8b3c..fe80b6b8 100644 --- a/SpringBoard/SBBannerView.h +++ b/SpringBoard/SBBannerView.h @@ -1,3 +1,5 @@ +#import + NS_CLASS_DEPRECATED_IOS(5_0, 6_0) @interface SBBannerView : UIView @end diff --git a/SpringBoard/SBBookmarkIcon.h b/SpringBoard/SBBookmarkIcon.h index 53e19d14..a8b91d50 100644 --- a/SpringBoard/SBBookmarkIcon.h +++ b/SpringBoard/SBBookmarkIcon.h @@ -1,3 +1,5 @@ +#import + @interface SBBookmarkIcon : NSObject @end diff --git a/SpringBoard/SBBrightnessController.h b/SpringBoard/SBBrightnessController.h index ba1e734b..51164b96 100644 --- a/SpringBoard/SBBrightnessController.h +++ b/SpringBoard/SBBrightnessController.h @@ -1,3 +1,5 @@ +#import + @interface SBBrightnessController : NSObject + (SBBrightnessController *)sharedBrightnessController; diff --git a/SpringBoard/SBBulletinBannerController.h b/SpringBoard/SBBulletinBannerController.h index 0766bcac..eb525f8d 100644 --- a/SpringBoard/SBBulletinBannerController.h +++ b/SpringBoard/SBBulletinBannerController.h @@ -1,3 +1,6 @@ +#import +#import + @class BBObserver, BBBulletinRequest, BBBulletin; @interface SBBulletinBannerController : NSObject diff --git a/SpringBoard/SBBulletinBannerItem.h b/SpringBoard/SBBulletinBannerItem.h index 2dcb3138..12d51266 100644 --- a/SpringBoard/SBBulletinBannerItem.h +++ b/SpringBoard/SBBulletinBannerItem.h @@ -1,3 +1,5 @@ +#import + @class BBBulletin; @interface SBBulletinBannerItem : NSObject diff --git a/SpringBoard/SBBulletinListCell.h b/SpringBoard/SBBulletinListCell.h index 3e7cffed..5fce8673 100644 --- a/SpringBoard/SBBulletinListCell.h +++ b/SpringBoard/SBBulletinListCell.h @@ -1,3 +1,6 @@ +#import +#import + typedef enum { SBBulletinListCellAccessoryStyleNone = 0, SBBulletinListCellAccessoryStyleDot = 1 diff --git a/SpringBoard/SBBulletinListSection.h b/SpringBoard/SBBulletinListSection.h index 84c74c43..ed5bcb5c 100644 --- a/SpringBoard/SBBulletinListSection.h +++ b/SpringBoard/SBBulletinListSection.h @@ -1,3 +1,7 @@ +#import +#import +#import + @class BBBulletin; @interface SBBulletinListSection : NSObject diff --git a/SpringBoard/SBBulletinObserverViewController.h b/SpringBoard/SBBulletinObserverViewController.h index 89624f6e..3d55932a 100644 --- a/SpringBoard/SBBulletinObserverViewController.h +++ b/SpringBoard/SBBulletinObserverViewController.h @@ -1,3 +1,5 @@ +#import + @class BBObserver, BBBulletin; @interface SBBulletinObserverViewController : UIViewController diff --git a/SpringBoard/SBBulletinViewController.h b/SpringBoard/SBBulletinViewController.h index 320a1c24..0e162216 100644 --- a/SpringBoard/SBBulletinViewController.h +++ b/SpringBoard/SBBulletinViewController.h @@ -1,3 +1,5 @@ +#import + @class SBNotificationsBulletinInfo, SBNotificationCenterSectionInfo; @interface SBBulletinViewController : UITableViewController diff --git a/SpringBoard/SBBulletinWindowController.h b/SpringBoard/SBBulletinWindowController.h index b1e6f4d2..362059cc 100644 --- a/SpringBoard/SBBulletinWindowController.h +++ b/SpringBoard/SBBulletinWindowController.h @@ -1,3 +1,6 @@ +#import +#import + @interface SBBulletinWindowController : NSObject + (instancetype)sharedInstance; diff --git a/SpringBoard/SBButtonBar.h b/SpringBoard/SBButtonBar.h index e110916f..c0ce0232 100644 --- a/SpringBoard/SBButtonBar.h +++ b/SpringBoard/SBButtonBar.h @@ -1,3 +1,5 @@ +#import + @interface SBButtonBar : NSObject @end diff --git a/SpringBoard/SBCalendarIconContentsView.h b/SpringBoard/SBCalendarIconContentsView.h index 57a31963..6039915b 100644 --- a/SpringBoard/SBCalendarIconContentsView.h +++ b/SpringBoard/SBCalendarIconContentsView.h @@ -1,3 +1,5 @@ +#import + @interface SBCalendarIconContentsView : NSObject @end diff --git a/SpringBoard/SBChevronView.h b/SpringBoard/SBChevronView.h index f42adc62..29cdb470 100644 --- a/SpringBoard/SBChevronView.h +++ b/SpringBoard/SBChevronView.h @@ -1,3 +1,5 @@ +#import + @interface SBChevronView : UIView @end diff --git a/SpringBoard/SBControlCenterController.h b/SpringBoard/SBControlCenterController.h index cdad149b..fd2aeec4 100644 --- a/SpringBoard/SBControlCenterController.h +++ b/SpringBoard/SBControlCenterController.h @@ -1,3 +1,5 @@ +#import + @interface SBControlCenterController : NSObject + (instancetype)sharedInstance; diff --git a/SpringBoard/SBControlColorSettings.h b/SpringBoard/SBControlColorSettings.h index 7e07cde9..ce361d35 100644 --- a/SpringBoard/SBControlColorSettings.h +++ b/SpringBoard/SBControlColorSettings.h @@ -1,3 +1,5 @@ +#import + @interface SBControlColorSettings : NSObject + (instancetype)settingsWithTintColor:(UIColor *)tintColor selectedTintColor:(UIColor *)selectedTextColor textColor:(UIColor *)textColor selectedTextColor:(UIColor *)selectedTextColor; diff --git a/SpringBoard/SBDeckSwitcherViewController.h b/SpringBoard/SBDeckSwitcherViewController.h index 4d6a3340..9a0c757c 100644 --- a/SpringBoard/SBDeckSwitcherViewController.h +++ b/SpringBoard/SBDeckSwitcherViewController.h @@ -1,3 +1,5 @@ +#import + @interface SBDeckSwitcherViewController : UIViewController @end diff --git a/SpringBoard/SBDefaultBannerTextView.h b/SpringBoard/SBDefaultBannerTextView.h index 6c6825b7..7c4ed697 100644 --- a/SpringBoard/SBDefaultBannerTextView.h +++ b/SpringBoard/SBDefaultBannerTextView.h @@ -1,3 +1,5 @@ +#import + @interface SBDefaultBannerTextView : UIView - (BOOL)textWillWrapForWidth:(CGFloat)width; diff --git a/SpringBoard/SBDefaultBannerView.h b/SpringBoard/SBDefaultBannerView.h index 8ec7fd8c..5ebc78cb 100644 --- a/SpringBoard/SBDefaultBannerView.h +++ b/SpringBoard/SBDefaultBannerView.h @@ -1,3 +1,5 @@ +#import + @interface SBDefaultBannerView : UIView @end diff --git a/SpringBoard/SBDisplayItem.h b/SpringBoard/SBDisplayItem.h index 0cdfcf38..595f2993 100644 --- a/SpringBoard/SBDisplayItem.h +++ b/SpringBoard/SBDisplayItem.h @@ -1,3 +1,6 @@ +#import +#import + @interface SBDisplayItem : NSObject @property (nonatomic, retain, readonly) NSString *type; diff --git a/SpringBoard/SBDisplayLayout.h b/SpringBoard/SBDisplayLayout.h index 347a7a50..7c0ee50b 100644 --- a/SpringBoard/SBDisplayLayout.h +++ b/SpringBoard/SBDisplayLayout.h @@ -1,3 +1,6 @@ +#import +#import + @interface SBDisplayLayout : NSObject @property (nonatomic, retain, readonly) NSArray *displayItems; diff --git a/SpringBoard/SBDockView.h b/SpringBoard/SBDockView.h index 2a82ee14..10f171a6 100644 --- a/SpringBoard/SBDockView.h +++ b/SpringBoard/SBDockView.h @@ -1,3 +1,5 @@ +#import + @interface SBDockView : UIView - (void)setBackgroundAlpha:(CGFloat)backgroundAlpha; diff --git a/SpringBoard/SBExternalCarrierDefaults.h b/SpringBoard/SBExternalCarrierDefaults.h index acb11cf6..b54baa73 100644 --- a/SpringBoard/SBExternalCarrierDefaults.h +++ b/SpringBoard/SBExternalCarrierDefaults.h @@ -1,3 +1,6 @@ +#import +#import + @interface SBExternalCarrierDefaults : NSObject @property (readonly, nonatomic) NSString *carrierName; diff --git a/SpringBoard/SBExternalDefaults.h b/SpringBoard/SBExternalDefaults.h index 65605521..9b313690 100644 --- a/SpringBoard/SBExternalDefaults.h +++ b/SpringBoard/SBExternalDefaults.h @@ -1,3 +1,5 @@ +#import + @class SBExternalCarrierDefaults; @interface SBExternalDefaults : NSObject diff --git a/SpringBoard/SBFolderSlidingView.h b/SpringBoard/SBFolderSlidingView.h index 97f75e37..b7c5b753 100644 --- a/SpringBoard/SBFolderSlidingView.h +++ b/SpringBoard/SBFolderSlidingView.h @@ -1,4 +1,4 @@ -#import +#import @interface SBFolderSlidingView : UIView diff --git a/SpringBoard/SBFolderView.h b/SpringBoard/SBFolderView.h index 088c1370..1421456e 100644 --- a/SpringBoard/SBFolderView.h +++ b/SpringBoard/SBFolderView.h @@ -1,4 +1,4 @@ -#import +#import @interface SBFolderView : UIView diff --git a/SpringBoard/SBHUDView.h b/SpringBoard/SBHUDView.h index 2c2a6bbd..2b66aeee 100644 --- a/SpringBoard/SBHUDView.h +++ b/SpringBoard/SBHUDView.h @@ -1,3 +1,6 @@ +#import +#import + @interface SBHUDView : UIView + (CGFloat)progressIndicatorStep; diff --git a/SpringBoard/SBHomeGrabberView.h b/SpringBoard/SBHomeGrabberView.h index edeb6255..871c8ae1 100644 --- a/SpringBoard/SBHomeGrabberView.h +++ b/SpringBoard/SBHomeGrabberView.h @@ -1,3 +1,5 @@ +#import + @interface SBHomeGrabberView : UIView - (CGRect)_calculatePillFrame; diff --git a/SpringBoard/SBIconContentView.h b/SpringBoard/SBIconContentView.h index fcedcca0..dda2c0fd 100644 --- a/SpringBoard/SBIconContentView.h +++ b/SpringBoard/SBIconContentView.h @@ -1,3 +1,5 @@ +#import + @interface SBIconContentView : UIView @end diff --git a/SpringBoard/SBIconLabel.h b/SpringBoard/SBIconLabel.h index 4e8a6bb7..51cabcbe 100644 --- a/SpringBoard/SBIconLabel.h +++ b/SpringBoard/SBIconLabel.h @@ -1,3 +1,5 @@ +#import + @interface SBIconLabel : UIControl @property BOOL inDock; diff --git a/SpringBoard/SBIconList.h b/SpringBoard/SBIconList.h index c13447dc..7055ce30 100644 --- a/SpringBoard/SBIconList.h +++ b/SpringBoard/SBIconList.h @@ -1,4 +1,4 @@ -#import +#import API_DEPRECATED_WITH_REPLACEMENT("SBIconListView", ios(2.0, 4.0)) @interface SBIconList : UIView diff --git a/SpringBoard/SBIconListView.h b/SpringBoard/SBIconListView.h index 4c94950d..2107d5ce 100644 --- a/SpringBoard/SBIconListView.h +++ b/SpringBoard/SBIconListView.h @@ -1,6 +1,6 @@ #import #import -#import +#import API_AVAILABLE(ios(4.0)) @interface SBIconListView : UIView diff --git a/SpringBoard/SBIconView.h b/SpringBoard/SBIconView.h index bf8a8b8b..c0b4149b 100644 --- a/SpringBoard/SBIconView.h +++ b/SpringBoard/SBIconView.h @@ -1,5 +1,4 @@ -#import -#import +#import @class SBIcon; diff --git a/SpringBoard/SBImageCache.h b/SpringBoard/SBImageCache.h index 73bc1aed..3c2235ae 100644 --- a/SpringBoard/SBImageCache.h +++ b/SpringBoard/SBImageCache.h @@ -1,3 +1,5 @@ +#import + @interface SBImageCache : NSObject @end diff --git a/SpringBoard/SBLockScreenNotificationListController.h b/SpringBoard/SBLockScreenNotificationListController.h index 28e27e8e..e0f04977 100644 --- a/SpringBoard/SBLockScreenNotificationListController.h +++ b/SpringBoard/SBLockScreenNotificationListController.h @@ -1,3 +1,5 @@ +#import + @class BBObserver, BBBulletin; @interface SBLockScreenNotificationListController : UIViewController diff --git a/SpringBoard/SBLockScreenNotificationListView.h b/SpringBoard/SBLockScreenNotificationListView.h index 53e7bf30..8d698ff8 100644 --- a/SpringBoard/SBLockScreenNotificationListView.h +++ b/SpringBoard/SBLockScreenNotificationListView.h @@ -1,3 +1,5 @@ +#import + @protocol SBLockScreenNotificationModel; @interface SBLockScreenNotificationListView : UIView diff --git a/SpringBoard/SBLockScreenNotificationModel.h b/SpringBoard/SBLockScreenNotificationModel.h index 6af5aa87..c09dbc45 100644 --- a/SpringBoard/SBLockScreenNotificationModel.h +++ b/SpringBoard/SBLockScreenNotificationModel.h @@ -1,3 +1,5 @@ +#import + @class SBAwayBulletinListItem; @protocol SBLockScreenNotificationModel diff --git a/SpringBoard/SBLockScreenView.h b/SpringBoard/SBLockScreenView.h index d6042de1..c77b64ec 100644 --- a/SpringBoard/SBLockScreenView.h +++ b/SpringBoard/SBLockScreenView.h @@ -1,3 +1,5 @@ +#import + @class SBChevronView; @interface SBLockScreenView : UIView diff --git a/SpringBoard/SBLockScreenViewController.h b/SpringBoard/SBLockScreenViewController.h index 119a4b5b..83f3dee1 100644 --- a/SpringBoard/SBLockScreenViewController.h +++ b/SpringBoard/SBLockScreenViewController.h @@ -1,3 +1,5 @@ +#import + @interface SBLockScreenViewController : UIViewController @end diff --git a/SpringBoard/SBMainWorkspace.h b/SpringBoard/SBMainWorkspace.h index cc5ae25d..577dd3a7 100644 --- a/SpringBoard/SBMainWorkspace.h +++ b/SpringBoard/SBMainWorkspace.h @@ -1,4 +1,5 @@ #import "SBWorkspace.h" +#import @class FBSceneManager; diff --git a/SpringBoard/SBNotificationCell.h b/SpringBoard/SBNotificationCell.h index f6139959..09429ce8 100644 --- a/SpringBoard/SBNotificationCell.h +++ b/SpringBoard/SBNotificationCell.h @@ -1,3 +1,6 @@ +#import +#import + @interface SBNotificationCell : UITableViewCell @property (nonatomic, retain) UIView *realContentView; diff --git a/SpringBoard/SBNotificationCenterSectionInfo.h b/SpringBoard/SBNotificationCenterSectionInfo.h index c17d9d12..d0c7d6e4 100644 --- a/SpringBoard/SBNotificationCenterSectionInfo.h +++ b/SpringBoard/SBNotificationCenterSectionInfo.h @@ -1,3 +1,5 @@ +#import + @class SBBulletinListSection; @interface SBNotificationCenterSectionInfo : NSObject diff --git a/SpringBoard/SBNotificationCenterViewController.h b/SpringBoard/SBNotificationCenterViewController.h index 4d5ec54a..0d3db264 100644 --- a/SpringBoard/SBNotificationCenterViewController.h +++ b/SpringBoard/SBNotificationCenterViewController.h @@ -1,3 +1,5 @@ +#import + @class SBBulletinObserverViewController; @interface SBNotificationCenterViewController : UIViewController diff --git a/SpringBoard/SBNotificationCenterWidgetController.h b/SpringBoard/SBNotificationCenterWidgetController.h index ae6d4050..5247d72b 100644 --- a/SpringBoard/SBNotificationCenterWidgetController.h +++ b/SpringBoard/SBNotificationCenterWidgetController.h @@ -1,3 +1,6 @@ +#import +#import + @interface SBNotificationCenterWidgetController : NSObject + (NSString *)containingBundleIdentifierForWidgetWithBundleIdentifer:(NSString *)identifier; diff --git a/SpringBoard/SBNotificationControlColorSettings.h b/SpringBoard/SBNotificationControlColorSettings.h index 6745a176..aac655c5 100644 --- a/SpringBoard/SBNotificationControlColorSettings.h +++ b/SpringBoard/SBNotificationControlColorSettings.h @@ -1,3 +1,5 @@ +#import + @class SBControlColorSettings; @interface SBNotificationControlColorSettings : NSObject diff --git a/SpringBoard/SBNotificationsModeViewController.h b/SpringBoard/SBNotificationsModeViewController.h index 1a97315d..7ae2f6e0 100644 --- a/SpringBoard/SBNotificationsModeViewController.h +++ b/SpringBoard/SBNotificationsModeViewController.h @@ -1,3 +1,5 @@ +#import + @interface SBNotificationsModeViewController : UIViewController @end diff --git a/SpringBoard/SBNotificationsSectionHeaderView.h b/SpringBoard/SBNotificationsSectionHeaderView.h index 1363f66a..76c281c2 100644 --- a/SpringBoard/SBNotificationsSectionHeaderView.h +++ b/SpringBoard/SBNotificationsSectionHeaderView.h @@ -1,3 +1,5 @@ +#import + @interface SBNotificationsSectionHeaderView : UITableViewHeaderFooterView @end diff --git a/SpringBoard/SBOrientationLockManager.h b/SpringBoard/SBOrientationLockManager.h index 1f861dc2..b0c08ade 100644 --- a/SpringBoard/SBOrientationLockManager.h +++ b/SpringBoard/SBOrientationLockManager.h @@ -1,3 +1,6 @@ +#import +#import + @interface SBOrientationLockManager : NSObject + (instancetype)sharedInstance; diff --git a/SpringBoard/SBPagedScrollView.h b/SpringBoard/SBPagedScrollView.h index fe8d5caa..6db878b9 100644 --- a/SpringBoard/SBPagedScrollView.h +++ b/SpringBoard/SBPagedScrollView.h @@ -1,4 +1,3 @@ -#import #import @interface SBPagedScrollView : UIScrollView diff --git a/SpringBoard/SBPreciseClockTimer.h b/SpringBoard/SBPreciseClockTimer.h index 43ade1d5..70fd36e2 100644 --- a/SpringBoard/SBPreciseClockTimer.h +++ b/SpringBoard/SBPreciseClockTimer.h @@ -1,3 +1,5 @@ +#import + @interface SBPreciseClockTimer : NSObject + (NSDate *)now; diff --git a/SpringBoard/SBScrollViewItemWrapper.h b/SpringBoard/SBScrollViewItemWrapper.h index 39178108..1f544871 100644 --- a/SpringBoard/SBScrollViewItemWrapper.h +++ b/SpringBoard/SBScrollViewItemWrapper.h @@ -1,3 +1,5 @@ +#import + @interface SBScrollViewItemWrapper : NSObject @property (nonatomic, retain) id item; diff --git a/SpringBoard/SBSearchTableViewCell.h b/SpringBoard/SBSearchTableViewCell.h index e6e94e0b..b77029cf 100644 --- a/SpringBoard/SBSearchTableViewCell.h +++ b/SpringBoard/SBSearchTableViewCell.h @@ -1,3 +1,5 @@ +#import + @interface SBSearchTableViewCell : UITableViewCell @end diff --git a/SpringBoard/SBSearchViewController.h b/SpringBoard/SBSearchViewController.h index e401c0d5..bd4e8892 100644 --- a/SpringBoard/SBSearchViewController.h +++ b/SpringBoard/SBSearchViewController.h @@ -1,3 +1,5 @@ +#import + @interface SBSearchViewController : NSObject + (instancetype)sharedInstance; diff --git a/SpringBoard/SBStatusBarContentsView.h b/SpringBoard/SBStatusBarContentsView.h index ac174daf..712bc902 100644 --- a/SpringBoard/SBStatusBarContentsView.h +++ b/SpringBoard/SBStatusBarContentsView.h @@ -1,3 +1,5 @@ +#import + @interface SBStatusBarContentsView : NSObject @end diff --git a/SpringBoard/SBStatusBarDataManager.h b/SpringBoard/SBStatusBarDataManager.h index fe2081c5..b6768b78 100644 --- a/SpringBoard/SBStatusBarDataManager.h +++ b/SpringBoard/SBStatusBarDataManager.h @@ -1,3 +1,5 @@ +#import + typedef struct { char timeString[64]; } SBStatusBarData; diff --git a/SpringBoard/SBStatusBarOperatorNameView.h b/SpringBoard/SBStatusBarOperatorNameView.h index 29cc1ad3..0c866631 100644 --- a/SpringBoard/SBStatusBarOperatorNameView.h +++ b/SpringBoard/SBStatusBarOperatorNameView.h @@ -1,3 +1,5 @@ +#import + @interface SBStatusBarOperatorNameView : NSObject @end diff --git a/SpringBoard/SBStatusBarTimeView.h b/SpringBoard/SBStatusBarTimeView.h index 8065b42f..11b99448 100644 --- a/SpringBoard/SBStatusBarTimeView.h +++ b/SpringBoard/SBStatusBarTimeView.h @@ -1,3 +1,5 @@ +#import + @interface SBStatusBarTimeView : NSObject @end diff --git a/SpringBoard/SBSystemGestureManager.h b/SpringBoard/SBSystemGestureManager.h index 654f0174..06d1b22f 100644 --- a/SpringBoard/SBSystemGestureManager.h +++ b/SpringBoard/SBSystemGestureManager.h @@ -1,4 +1,3 @@ -#import #import typedef NS_ENUM(int64_t, SBSystemGestureType) { diff --git a/SpringBoard/SBSystemGestureRecognizerDelegate.h b/SpringBoard/SBSystemGestureRecognizerDelegate.h index 271cc4f1..bc428b71 100644 --- a/SpringBoard/SBSystemGestureRecognizerDelegate.h +++ b/SpringBoard/SBSystemGestureRecognizerDelegate.h @@ -1,3 +1,6 @@ +#import +#import + @protocol SBSystemGestureRecognizerDelegate @required diff --git a/SpringBoard/SBTodayBulletinCell.h b/SpringBoard/SBTodayBulletinCell.h index d0ed4ccf..7b1cf584 100644 --- a/SpringBoard/SBTodayBulletinCell.h +++ b/SpringBoard/SBTodayBulletinCell.h @@ -1,3 +1,5 @@ +#import + @interface SBTodayBulletinCell : UITableViewCell + (NSDictionary *)defaultTextAttributes; diff --git a/SpringBoard/SBUIController.h b/SpringBoard/SBUIController.h index 7b627c88..d260abc3 100644 --- a/SpringBoard/SBUIController.h +++ b/SpringBoard/SBUIController.h @@ -1,4 +1,3 @@ -#import #import @class SBWallpaperView; diff --git a/SpringBoard/SBWallpaperEffectView.h b/SpringBoard/SBWallpaperEffectView.h index 23bf9281..f217d933 100644 --- a/SpringBoard/SBWallpaperEffectView.h +++ b/SpringBoard/SBWallpaperEffectView.h @@ -1,4 +1,4 @@ -#import +#import typedef NS_ENUM(NSUInteger, SBWallpaperVariant) { SBWallpaperVariantStaticWallpaper diff --git a/SpringBoard/SBWallpaperPreviewSnapshotCache.h b/SpringBoard/SBWallpaperPreviewSnapshotCache.h index cbf73480..a72f996c 100644 --- a/SpringBoard/SBWallpaperPreviewSnapshotCache.h +++ b/SpringBoard/SBWallpaperPreviewSnapshotCache.h @@ -1,3 +1,5 @@ +#import + @interface SBWallpaperPreviewSnapshotCache : NSObject - (UIImage *)homeScreenSnapshot; diff --git a/SpringBoard/SBWindowHidingManager.h b/SpringBoard/SBWindowHidingManager.h index 38876931..2df90ca7 100644 --- a/SpringBoard/SBWindowHidingManager.h +++ b/SpringBoard/SBWindowHidingManager.h @@ -1,4 +1,4 @@ -#import +#import @interface SBWindowHidingManager : NSObject diff --git a/SpringBoard/SpringBoard.h b/SpringBoard/SpringBoard.h index 98d18c6d..4eb90c91 100644 --- a/SpringBoard/SpringBoard.h +++ b/SpringBoard/SpringBoard.h @@ -1,4 +1,3 @@ -#import #import @class SBApplication, SBActivationSettings; diff --git a/SpringBoardFoundation/SBFWallpaperParallaxSettings.h b/SpringBoardFoundation/SBFWallpaperParallaxSettings.h index e99d2a06..aac7fa11 100644 --- a/SpringBoardFoundation/SBFWallpaperParallaxSettings.h +++ b/SpringBoardFoundation/SBFWallpaperParallaxSettings.h @@ -1,4 +1,5 @@ #import +#import @interface SBFWallpaperParallaxSettings : NSObject diff --git a/SpringBoardHome/SBHIconGridSize.h b/SpringBoardHome/SBHIconGridSize.h index f5128fb7..0b8c8f57 100644 --- a/SpringBoardHome/SBHIconGridSize.h +++ b/SpringBoardHome/SBHIconGridSize.h @@ -1,3 +1,5 @@ +#include + typedef struct SBHIconGridSize { uint16_t columns; uint16_t rows; diff --git a/SpringBoardHome/SBIconListGridLayoutConfiguration.h b/SpringBoardHome/SBIconListGridLayoutConfiguration.h index 832b007b..cff5c65e 100644 --- a/SpringBoardHome/SBIconListGridLayoutConfiguration.h +++ b/SpringBoardHome/SBIconListGridLayoutConfiguration.h @@ -1,4 +1,3 @@ -#import #import #import diff --git a/SpringBoardServices/SBSApplicationShortcutIcon.h b/SpringBoardServices/SBSApplicationShortcutIcon.h index 5923f2e6..0a2ca344 100644 --- a/SpringBoardServices/SBSApplicationShortcutIcon.h +++ b/SpringBoardServices/SBSApplicationShortcutIcon.h @@ -1,3 +1,5 @@ +#import + @interface SBSApplicationShortcutIcon : NSObject @end diff --git a/SpringBoardServices/SBSApplicationShortcutItem.h b/SpringBoardServices/SBSApplicationShortcutItem.h index b38fe711..7f0cfab4 100644 --- a/SpringBoardServices/SBSApplicationShortcutItem.h +++ b/SpringBoardServices/SBSApplicationShortcutItem.h @@ -1,3 +1,7 @@ +#import +#import +#import + @class SBSApplicationShortcutIcon; @interface SBSApplicationShortcutItem : NSObject diff --git a/SpringBoardUIServices/SBPasscodeNumberPadButton.h b/SpringBoardUIServices/SBPasscodeNumberPadButton.h index 9d3b3071..f423293f 100644 --- a/SpringBoardUIServices/SBPasscodeNumberPadButton.h +++ b/SpringBoardUIServices/SBPasscodeNumberPadButton.h @@ -1,4 +1,5 @@ -#import +#import +#import @class TPRevealingRingView; diff --git a/SpringBoardUIServices/_SBUIWidgetHost.h b/SpringBoardUIServices/_SBUIWidgetHost.h index 2d81a055..842ef7c5 100644 --- a/SpringBoardUIServices/_SBUIWidgetHost.h +++ b/SpringBoardUIServices/_SBUIWidgetHost.h @@ -1,4 +1,4 @@ -#import +#import @protocol _SBUIWidgetHost diff --git a/StoreKitUI/SKUIScrollingSegmentedController.h b/StoreKitUI/SKUIScrollingSegmentedController.h index 6f1a6a45..6288c758 100644 --- a/StoreKitUI/SKUIScrollingSegmentedController.h +++ b/StoreKitUI/SKUIScrollingSegmentedController.h @@ -1,3 +1,5 @@ +#import + @interface SKUIScrollingSegmentedController : UIViewController @end diff --git a/TelephonyUI/TPNumberPad.h b/TelephonyUI/TPNumberPad.h index f6d5d2c8..f80fd454 100644 --- a/TelephonyUI/TPNumberPad.h +++ b/TelephonyUI/TPNumberPad.h @@ -1,3 +1,5 @@ +#import + @interface TPNumberPad : UIControl @end diff --git a/TelephonyUI/TPRevealingRingView.h b/TelephonyUI/TPRevealingRingView.h index ded161a7..8379f003 100644 --- a/TelephonyUI/TPRevealingRingView.h +++ b/TelephonyUI/TPRevealingRingView.h @@ -1,3 +1,5 @@ +#import + @interface TPRevealingRingView : UIView @property (nonatomic, readonly) struct UIEdgeInsets paddingOutsideRing; diff --git a/Tweetbot/PTHTweetbotStatus.h b/Tweetbot/PTHTweetbotStatus.h index a0380c20..8d2334e4 100644 --- a/Tweetbot/PTHTweetbotStatus.h +++ b/Tweetbot/PTHTweetbotStatus.h @@ -1,3 +1,5 @@ +#import + @interface PTHTweetbotStatus : NSObject - (void)retweet:(id)sender; diff --git a/Tweetbot/PTHViewController.h b/Tweetbot/PTHViewController.h index a277d76f..f36ea9e3 100644 --- a/Tweetbot/PTHViewController.h +++ b/Tweetbot/PTHViewController.h @@ -1,3 +1,5 @@ +#import + @interface PTHViewController : UIViewController @end diff --git a/TwitkaFly/LibTwitkaFly.h b/TwitkaFly/LibTwitkaFly.h index be59c1fb..ee4bba78 100644 --- a/TwitkaFly/LibTwitkaFly.h +++ b/TwitkaFly/LibTwitkaFly.h @@ -1,3 +1,5 @@ +#import + @interface LibTwitkaFly : NSObject + (instancetype)sharedTwitkaFly; diff --git a/UIKit/UIActivity+Private.h b/UIKit/UIActivity+Private.h index e02fafd9..5e43caad 100644 --- a/UIKit/UIActivity+Private.h +++ b/UIKit/UIActivity+Private.h @@ -1,5 +1,4 @@ #import -#import @interface UIActivity (Private) diff --git a/UIKit/UIActivityGroupViewController.h b/UIKit/UIActivityGroupViewController.h index fb159cd3..3f24698e 100644 --- a/UIKit/UIActivityGroupViewController.h +++ b/UIKit/UIActivityGroupViewController.h @@ -1,3 +1,5 @@ +#import + @interface UIActivityGroupViewController : UICollectionViewController @end diff --git a/UIKit/UIActivityViewController+Private.h b/UIKit/UIActivityViewController+Private.h index fa5072fe..06fb4ffc 100644 --- a/UIKit/UIActivityViewController+Private.h +++ b/UIKit/UIActivityViewController+Private.h @@ -1,3 +1,5 @@ +#import + @class _UIActivityGroupListViewController; @interface UIActivityViewController (Private) diff --git a/UIKit/UIActivityViewController.h b/UIKit/UIActivityViewController.h index ed3e0d3f..0211adfd 100644 --- a/UIKit/UIActivityViewController.h +++ b/UIKit/UIActivityViewController.h @@ -1,6 +1,8 @@ #ifdef __IPHONE_6_0 #include_next #else +#import + @interface UIActivityViewController : UIViewController - (instancetype)initWithActivityItems:(NSArray *)items applicationActivities:(NSArray *)applicationActivities; diff --git a/UIKit/UIAlertAction+Private.h b/UIKit/UIAlertAction+Private.h index 4b2bb55c..3c191ca9 100644 --- a/UIKit/UIAlertAction+Private.h +++ b/UIKit/UIAlertAction+Private.h @@ -1,5 +1,4 @@ #import -#import @interface UIAlertAction (Private) diff --git a/UIKit/UIAlertController+Private.h b/UIKit/UIAlertController+Private.h index 2cbbcebd..8f7753ca 100644 --- a/UIKit/UIAlertController+Private.h +++ b/UIKit/UIAlertController+Private.h @@ -1,5 +1,4 @@ #import -#import @interface UIAlertController (Private) diff --git a/UIKit/UIAlertView+Private.h b/UIKit/UIAlertView+Private.h index 82ace1e9..2a0442c7 100644 --- a/UIKit/UIAlertView+Private.h +++ b/UIKit/UIAlertView+Private.h @@ -1,5 +1,4 @@ #import -#import @interface UIAlertView (Private) diff --git a/UIKit/UIApplication+Private.h b/UIKit/UIApplication+Private.h index 9e922058..48041e7a 100644 --- a/UIKit/UIApplication+Private.h +++ b/UIKit/UIApplication+Private.h @@ -1,5 +1,4 @@ #import -#import @class UIStatusBar; diff --git a/UIKit/UICollectionView.h b/UIKit/UICollectionView.h index c8b2c225..6c7ad018 100644 --- a/UIKit/UICollectionView.h +++ b/UIKit/UICollectionView.h @@ -1,8 +1,8 @@ #ifdef __IPHONE_6_0 #include_next #else -#import #import "UICollectionViewCell.h" +#import @interface UICollectionView : UIView diff --git a/UIKit/UICollectionViewCell.h b/UIKit/UICollectionViewCell.h index 22069363..1e1e4146 100644 --- a/UIKit/UICollectionViewCell.h +++ b/UIKit/UICollectionViewCell.h @@ -1,6 +1,8 @@ #ifdef __IPHONE_6_0 #include_next #else +#import + @interface UICollectionViewCell : UIView @end diff --git a/UIKit/UIColor+Private.h b/UIKit/UIColor+Private.h index 54373bf6..5e9d9c70 100644 --- a/UIKit/UIColor+Private.h +++ b/UIKit/UIColor+Private.h @@ -1,5 +1,4 @@ #import -#import @interface UIColor (Private) diff --git a/UIKit/UICompatibilityInputViewController.h b/UIKit/UICompatibilityInputViewController.h index 546db5ab..76826806 100644 --- a/UIKit/UICompatibilityInputViewController.h +++ b/UIKit/UICompatibilityInputViewController.h @@ -1,4 +1,5 @@ #import "UIKeyboardInputMode.h" +#import @interface UICompatibilityInputViewController : UIInputViewController diff --git a/UIKit/UIDebuggingInformationOverlay.h b/UIKit/UIDebuggingInformationOverlay.h index b1fb6182..1f024e77 100644 --- a/UIKit/UIDebuggingInformationOverlay.h +++ b/UIKit/UIDebuggingInformationOverlay.h @@ -1,3 +1,5 @@ +#import + @interface UIDebuggingInformationOverlay : UIWindow + (instancetype)overlay; diff --git a/UIKit/UIDevice+Private.h b/UIKit/UIDevice+Private.h index 5a86519c..ae66bb22 100644 --- a/UIKit/UIDevice+Private.h +++ b/UIKit/UIDevice+Private.h @@ -1,4 +1,3 @@ -#import #import @interface UIDevice (Private) diff --git a/UIKit/UIImage+Private.h b/UIKit/UIImage+Private.h index 5df5b5ae..0dd99057 100644 --- a/UIKit/UIImage+Private.h +++ b/UIKit/UIImage+Private.h @@ -1,5 +1,4 @@ #import -#import #import @class LSApplicationProxy; diff --git a/UIKit/UIInputViewAnimationStyle.h b/UIKit/UIInputViewAnimationStyle.h index 40f6b1ab..a0c442a6 100644 --- a/UIKit/UIInputViewAnimationStyle.h +++ b/UIKit/UIInputViewAnimationStyle.h @@ -1,3 +1,5 @@ +#import + @interface UIInputViewAnimationStyle : NSObject @property BOOL force; diff --git a/UIKit/UIInputViewController+Private.h b/UIKit/UIInputViewController+Private.h index 98b32080..daa3a34a 100644 --- a/UIKit/UIInputViewController+Private.h +++ b/UIKit/UIInputViewController+Private.h @@ -1,4 +1,5 @@ #import "UICompatibilityInputViewController.h" +#import @interface UIInputViewController (Private) diff --git a/UIKit/UIInputViewSet.h b/UIKit/UIInputViewSet.h index 98f6a286..63838a8a 100644 --- a/UIKit/UIInputViewSet.h +++ b/UIKit/UIInputViewSet.h @@ -1,4 +1,4 @@ -#import +#import @interface UIInputViewSet : NSObject diff --git a/UIKit/UIKBGradient.h b/UIKit/UIKBGradient.h index 746f55e3..b3722795 100644 --- a/UIKit/UIKBGradient.h +++ b/UIKit/UIKBGradient.h @@ -1,3 +1,5 @@ +#import +#import #import @interface UIKBGradient : NSObject diff --git a/UIKit/UIKBInputBackdropView.h b/UIKit/UIKBInputBackdropView.h index 753ac8be..874f078e 100644 --- a/UIKit/UIKBInputBackdropView.h +++ b/UIKit/UIKBInputBackdropView.h @@ -1,3 +1,5 @@ +#import + @interface UIKBInputBackdropView : UIView - (void)layoutInputBackdropToFullWithRect:(CGRect)rect; diff --git a/UIKit/UIKBKeyView.h b/UIKit/UIKBKeyView.h index bfc4a7f6..5e5f230c 100644 --- a/UIKit/UIKBKeyView.h +++ b/UIKit/UIKBKeyView.h @@ -1,5 +1,6 @@ #import "UIKBTree.h" #import "UIKBRenderConfig.h" +#import @interface UIKBKeyView : UIView { UIKBTree *m_key; diff --git a/UIKit/UIKBKeyplaneView.h b/UIKit/UIKBKeyplaneView.h index a29f7221..a1c69794 100644 --- a/UIKit/UIKBKeyplaneView.h +++ b/UIKit/UIKBKeyplaneView.h @@ -1,4 +1,5 @@ #import "UIKBTree.h" +#import @interface UIKBKeyplaneView : UIView diff --git a/UIKit/UIKBRenderConfig.h b/UIKit/UIKBRenderConfig.h index d1bef325..a8082bc9 100644 --- a/UIKit/UIKBRenderConfig.h +++ b/UIKit/UIKBRenderConfig.h @@ -1,4 +1,5 @@ #import "UIKeyboardInputMode.h" +#import @interface UIKBRenderConfig : NSObject diff --git a/UIKit/UIKBScreenTraits.h b/UIKit/UIKBScreenTraits.h index 9a132071..4f504ae8 100644 --- a/UIKit/UIKBScreenTraits.h +++ b/UIKit/UIKBScreenTraits.h @@ -1,4 +1,4 @@ -#import +#import @interface UIKBScreenTraits : NSObject diff --git a/UIKit/UIKeyboardLayout.h b/UIKit/UIKeyboardLayout.h index d0b2c022..0a9af705 100644 --- a/UIKit/UIKeyboardLayout.h +++ b/UIKit/UIKeyboardLayout.h @@ -1,4 +1,4 @@ -#import +#import @class UIKBRenderConfig; diff --git a/UIKit/UIKeyboardPreferencesController.h b/UIKit/UIKeyboardPreferencesController.h index b0ba94da..6e0a3316 100644 --- a/UIKit/UIKeyboardPreferencesController.h +++ b/UIKit/UIKeyboardPreferencesController.h @@ -1,3 +1,7 @@ +#import +#import +#import + @interface UIKeyboardPreferencesController : NSObject + (instancetype)sharedPreferencesController; diff --git a/UIKit/UIKeyboardTouchInfo.h b/UIKit/UIKeyboardTouchInfo.h index 18e8c7d0..1149ea9a 100644 --- a/UIKit/UIKeyboardTouchInfo.h +++ b/UIKit/UIKeyboardTouchInfo.h @@ -1,4 +1,5 @@ #import "UIKBTree.h" +#import @interface UIKeyboardTouchInfo : NSObject diff --git a/UIKit/UINavigationBar+Private.h b/UIKit/UINavigationBar+Private.h index 0873768b..d0cc9f9e 100644 --- a/UIKit/UINavigationBar+Private.h +++ b/UIKit/UINavigationBar+Private.h @@ -1,4 +1,4 @@ -#import +#import @interface UINavigationBar (Private) diff --git a/UIKit/UIPanGestureRecognizer+Private.h b/UIKit/UIPanGestureRecognizer+Private.h index 9922143e..653856e5 100644 --- a/UIKit/UIPanGestureRecognizer+Private.h +++ b/UIKit/UIPanGestureRecognizer+Private.h @@ -1,3 +1,5 @@ +#import + @interface UIPanGestureRecognizer (Private) @property (setter=_setHysteresis:) CGFloat _hysteresis; diff --git a/UIKit/UIPeripheralHost.h b/UIKit/UIPeripheralHost.h index 56db440f..a43e47c7 100644 --- a/UIKit/UIPeripheralHost.h +++ b/UIKit/UIPeripheralHost.h @@ -1,4 +1,5 @@ #import "UIKBRenderConfig.h" +#import @interface UIPeripheralHost : NSObject diff --git a/UIKit/UIPeripheralHostView.h b/UIKit/UIPeripheralHostView.h index 2261619f..a4045ce8 100644 --- a/UIKit/UIPeripheralHostView.h +++ b/UIKit/UIPeripheralHostView.h @@ -1,4 +1,5 @@ #import "UIInputViewSet.h" +#import @interface UIPeripheralHostView : UIView diff --git a/UIKit/UIProgressHUD.h b/UIKit/UIProgressHUD.h index 4d0ecd9e..9bddd322 100644 --- a/UIKit/UIProgressHUD.h +++ b/UIKit/UIProgressHUD.h @@ -1,3 +1,5 @@ +#import + @interface UIProgressHUD : UIView @end diff --git a/UIKit/UIProgressIndicator.h b/UIKit/UIProgressIndicator.h index 1ba10602..f241b190 100644 --- a/UIKit/UIProgressIndicator.h +++ b/UIKit/UIProgressIndicator.h @@ -1,3 +1,5 @@ +#import + @interface UIProgressIndicator : UIActivityIndicatorView @end diff --git a/UIKit/UIResponder+Private.h b/UIKit/UIResponder+Private.h index 7b65f63d..9ec3ca93 100644 --- a/UIKit/UIResponder+Private.h +++ b/UIKit/UIResponder+Private.h @@ -1,3 +1,5 @@ +#import + @interface UIResponder (Private) - (BOOL)_requiresKeyboardWhenFirstResponder; diff --git a/UIKit/UIScreen+Private.h b/UIKit/UIScreen+Private.h index 8f180a35..ea792910 100644 --- a/UIKit/UIScreen+Private.h +++ b/UIKit/UIScreen+Private.h @@ -1,5 +1,4 @@ #import -#import @interface UIScreen (Private) diff --git a/UIKit/UIStatusBar.h b/UIKit/UIStatusBar.h index 72243120..710e5140 100644 --- a/UIKit/UIStatusBar.h +++ b/UIKit/UIStatusBar.h @@ -1,4 +1,4 @@ -#import +#import @class UIStatusBarForegroundStyleAttributes, UIStatusBarForegroundView; diff --git a/UIKit/UIStatusBarAnimationParameters.h b/UIKit/UIStatusBarAnimationParameters.h index 5fdf0c43..dde1da64 100644 --- a/UIKit/UIStatusBarAnimationParameters.h +++ b/UIKit/UIStatusBarAnimationParameters.h @@ -1,3 +1,5 @@ +#import + @interface UIStatusBarAnimationParameters : NSObject + (void)animateWithParameters:(UIStatusBarAnimationParameters *)parameters animations:(void (^)(void))animations completion:(void (^)(BOOL finished))completion; diff --git a/UIKit/UIStatusBarForegroundView.h b/UIKit/UIStatusBarForegroundView.h index 5443e4aa..cdfcc82e 100644 --- a/UIKit/UIStatusBarForegroundView.h +++ b/UIKit/UIStatusBarForegroundView.h @@ -1,3 +1,5 @@ +#import + @class UIStatusBarForegroundStyleAttributes; @interface UIStatusBarForegroundView : UIView diff --git a/UIKit/UIStatusBarItem.h b/UIKit/UIStatusBarItem.h index 707a8e13..108b6d16 100644 --- a/UIKit/UIStatusBarItem.h +++ b/UIKit/UIStatusBarItem.h @@ -1,4 +1,4 @@ -#import +#import // this enum was reversed out of iOS 10.2, not clear if it's ABI stable typedef enum { diff --git a/UIKit/UIStatusBarItemView.h b/UIKit/UIStatusBarItemView.h index 8ac15d1b..6e5dd40e 100644 --- a/UIKit/UIStatusBarItemView.h +++ b/UIKit/UIStatusBarItemView.h @@ -1,4 +1,4 @@ -#import +#import typedef NS_ENUM(NSUInteger, UIStatusBarItemViewTextStyle) { UIStatusBarItemViewTextStyleRegular = 1, diff --git a/UIKit/UITableView+Private.h b/UIKit/UITableView+Private.h index 64972b57..64b0de40 100644 --- a/UIKit/UITableView+Private.h +++ b/UIKit/UITableView+Private.h @@ -1,3 +1,6 @@ +#import +#import + @interface UITableView (Private) @property (setter=_setMarginWidth:) CGFloat _marginWidth; diff --git a/UIKit/UITableViewCell+Private.h b/UIKit/UITableViewCell+Private.h index ac295983..ac93b273 100644 --- a/UIKit/UITableViewCell+Private.h +++ b/UIKit/UITableViewCell+Private.h @@ -1,4 +1,4 @@ -#import +#import @interface UITableViewCell (Private) diff --git a/UIKit/UITableViewHeaderFooterView.h b/UIKit/UITableViewHeaderFooterView.h index e280a6a6..b4800b4a 100644 --- a/UIKit/UITableViewHeaderFooterView.h +++ b/UIKit/UITableViewHeaderFooterView.h @@ -1,6 +1,8 @@ #ifdef __IPHONE_6_0 #include_next #else +#import + @interface UITableViewHeaderFooterView : UITableViewCell @end diff --git a/UIKit/UITextInputController.h b/UIKit/UITextInputController.h index ad830ff7..af83c19f 100644 --- a/UIKit/UITextInputController.h +++ b/UIKit/UITextInputController.h @@ -1,5 +1,4 @@ #import -#import @interface UITextInputController : NSObject diff --git a/UIKit/UIWindow+Private.h b/UIKit/UIWindow+Private.h index 6e3bebf0..c2aa9e2e 100644 --- a/UIKit/UIWindow+Private.h +++ b/UIKit/UIWindow+Private.h @@ -1,4 +1,3 @@ -#import #import #define UIWindowLevelNotificationCenter 1056.f diff --git a/UIKit/_UIActivityGroupListViewController.h b/UIKit/_UIActivityGroupListViewController.h index e264358b..380d14b4 100644 --- a/UIKit/_UIActivityGroupListViewController.h +++ b/UIKit/_UIActivityGroupListViewController.h @@ -1,3 +1,5 @@ +#import + @interface _UIActivityGroupListViewController : UICollectionViewController @property (nonatomic, copy) NSArray *activityGroupViewControllers; diff --git a/UIKit/_UIBackdropEffectView.h b/UIKit/_UIBackdropEffectView.h index b3f8962b..29ea287b 100644 --- a/UIKit/_UIBackdropEffectView.h +++ b/UIKit/_UIBackdropEffectView.h @@ -1,3 +1,5 @@ +#import + @interface _UIBackdropEffectView : UIView @end diff --git a/UIKit/_UIBackdropView.h b/UIKit/_UIBackdropView.h index 41578120..ec24fb67 100644 --- a/UIKit/_UIBackdropView.h +++ b/UIKit/_UIBackdropView.h @@ -1,6 +1,4 @@ #import -#import -#import @class _UIBackdropViewSettings, _UIBackdropEffectView, CABackdropLayer; diff --git a/UIKit/_UIHostedWindowHostingHandle.h b/UIKit/_UIHostedWindowHostingHandle.h index 799ba22b..a8e3220f 100644 --- a/UIKit/_UIHostedWindowHostingHandle.h +++ b/UIKit/_UIHostedWindowHostingHandle.h @@ -1,4 +1,5 @@ #import +#import API_AVAILABLE(ios(7.0)) @interface _UIHostedWindowHostingHandle : NSObject diff --git a/UIKit/_UILegibilityImageSet.h b/UIKit/_UILegibilityImageSet.h index e63434cd..c978f5a1 100644 --- a/UIKit/_UILegibilityImageSet.h +++ b/UIKit/_UILegibilityImageSet.h @@ -1,3 +1,5 @@ +#import + @interface _UILegibilityImageSet : NSObject + (instancetype)imageFromImage:(UIImage *)image withShadowImage:(UIImage *)shadowImage; diff --git a/UIKit/_UILegibilitySettings.h b/UIKit/_UILegibilitySettings.h index 4cf5b302..c4dff123 100644 --- a/UIKit/_UILegibilitySettings.h +++ b/UIKit/_UILegibilitySettings.h @@ -1,3 +1,5 @@ +#import + @interface _UILegibilitySettings : NSObject @property (retain) UIColor *contentColor; diff --git a/UIKit/_UILegibilityView.h b/UIKit/_UILegibilityView.h index c1e51b3c..a7fa1dd0 100644 --- a/UIKit/_UILegibilityView.h +++ b/UIKit/_UILegibilityView.h @@ -1,4 +1,5 @@ #import "_UILegibilitySettings.h" +#import @interface _UILegibilityView : UIView diff --git a/UIKit/_UIModalItemBackgroundView.h b/UIKit/_UIModalItemBackgroundView.h index e666ac6f..81378c03 100644 --- a/UIKit/_UIModalItemBackgroundView.h +++ b/UIKit/_UIModalItemBackgroundView.h @@ -1,3 +1,5 @@ +#import + @interface _UIModalItemBackgroundView : UIView @end diff --git a/UIKit/_UIModalItemContentView.h b/UIKit/_UIModalItemContentView.h index 37f61b79..c83c8d50 100644 --- a/UIKit/_UIModalItemContentView.h +++ b/UIKit/_UIModalItemContentView.h @@ -1,3 +1,5 @@ +#import + @interface _UIModalItemContentView : UIView @property (readonly, nonatomic) UILabel *messageLabel; diff --git a/UIKit/_UIModalItemTableViewCell.h b/UIKit/_UIModalItemTableViewCell.h index cb74afe9..fb8f72f2 100644 --- a/UIKit/_UIModalItemTableViewCell.h +++ b/UIKit/_UIModalItemTableViewCell.h @@ -1,3 +1,5 @@ +#import + @interface _UIModalItemTableViewCell : UITableViewCell @end diff --git a/UserNotificationsKit/NCNotificationRequest.h b/UserNotificationsKit/NCNotificationRequest.h index 5daf0d55..074fb358 100644 --- a/UserNotificationsKit/NCNotificationRequest.h +++ b/UserNotificationsKit/NCNotificationRequest.h @@ -1,3 +1,6 @@ +#import +#import + @interface NCNotificationRequest : NSObject @property (nonatomic, copy, readonly) NSString *sectionIdentifier; diff --git a/UserNotificationsUIKit/NCAnimatableBlurringView.h b/UserNotificationsUIKit/NCAnimatableBlurringView.h index 62914e75..2bb039ce 100644 --- a/UserNotificationsUIKit/NCAnimatableBlurringView.h +++ b/UserNotificationsUIKit/NCAnimatableBlurringView.h @@ -1,3 +1,5 @@ +#import + @interface NCAnimatableBlurringView : UIView @end diff --git a/UserNotificationsUIKit/NCMaterialView.h b/UserNotificationsUIKit/NCMaterialView.h index 4aaa059c..f17a4d1e 100644 --- a/UserNotificationsUIKit/NCMaterialView.h +++ b/UserNotificationsUIKit/NCMaterialView.h @@ -1,3 +1,5 @@ +#import + @interface NCMaterialView : UIView @end diff --git a/UserNotificationsUIKit/NCNotificationStaticContentProviding.h b/UserNotificationsUIKit/NCNotificationStaticContentProviding.h index 600c61ff..0732e33e 100644 --- a/UserNotificationsUIKit/NCNotificationStaticContentProviding.h +++ b/UserNotificationsUIKit/NCNotificationStaticContentProviding.h @@ -1,3 +1,5 @@ +#import + @protocol NCNotificationStaticContentProviding - (UIImage *)icon; diff --git a/UserNotificationsUIKit/NCNotificationViewController.h b/UserNotificationsUIKit/NCNotificationViewController.h index 170344e1..4cd30803 100644 --- a/UserNotificationsUIKit/NCNotificationViewController.h +++ b/UserNotificationsUIKit/NCNotificationViewController.h @@ -1,3 +1,6 @@ +#import +#import + @class NCNotificationRequest; @protocol NCNotificationStaticContentProviding; diff --git a/UserNotificationsUIKit/NCShortLookView.h b/UserNotificationsUIKit/NCShortLookView.h index e4bf585d..46e920c8 100644 --- a/UserNotificationsUIKit/NCShortLookView.h +++ b/UserNotificationsUIKit/NCShortLookView.h @@ -1,3 +1,5 @@ +#import + @interface NCShortLookView : UIView @end diff --git a/Velox/VeloxFolderViewProtocol.h b/Velox/VeloxFolderViewProtocol.h index 375d3eb6..3c67531d 100644 --- a/Velox/VeloxFolderViewProtocol.h +++ b/Velox/VeloxFolderViewProtocol.h @@ -1,3 +1,5 @@ +#import + @protocol VeloxFolderViewProtocol + (int)folderHeight; diff --git a/auki/KJUARR.h b/auki/KJUARR.h index e2b7f512..c90219c9 100644 --- a/auki/KJUARR.h +++ b/auki/KJUARR.h @@ -1,3 +1,6 @@ +#import +#import + @class BBBulletin; @interface KJUARR : NSObject diff --git a/installd/MIBundle.h b/installd/MIBundle.h index 2ef4289e..51959cf6 100644 --- a/installd/MIBundle.h +++ b/installd/MIBundle.h @@ -1,3 +1,11 @@ +#import +#import +#import +#import +#import +#import +#import + typedef NS_ENUM(NSInteger, MIBundleType) { MIBundleTypeSystemApp = 1, MIBundleTypeInternalApp, diff --git a/installd/MIGlobalConfiguration.h b/installd/MIGlobalConfiguration.h index 7a0fd8ab..cc40c4fa 100644 --- a/installd/MIGlobalConfiguration.h +++ b/installd/MIGlobalConfiguration.h @@ -1,3 +1,5 @@ +#import + @interface MIGlobalConfiguration : NSObject @end \ No newline at end of file diff --git a/libstatusbar/LSStatusBarItem.h b/libstatusbar/LSStatusBarItem.h index 9d06e75c..ded03df1 100644 --- a/libstatusbar/LSStatusBarItem.h +++ b/libstatusbar/LSStatusBarItem.h @@ -1,3 +1,5 @@ +#import + typedef enum { StatusBarAlignmentLeft = 1, diff --git a/libundirect/libundirect_dynamic.h b/libundirect/libundirect_dynamic.h index 015f24c9..10522636 100644 --- a/libundirect/libundirect_dynamic.h +++ b/libundirect/libundirect_dynamic.h @@ -11,8 +11,9 @@ // copies or substantial portions of the Software. #import -#import +#import #import +#import #import #import @@ -25,8 +26,8 @@ extern "C" { // dynamic header for when you don't want to link against libundirect // for documentation, check out the non-dynamic header -typedef enum -{ +typedef enum +{ OPTION_DO_NOT_SEEK_BACK = 1 << 0 } libundirect_find_options_t; diff --git a/sandbox.h b/sandbox.h index d94c426f..f12601c0 100644 --- a/sandbox.h +++ b/sandbox.h @@ -1,5 +1,9 @@ -#include_next +#if __has_include_next() +# include_next +#endif #include +#include +#include // courtesy of clang // https://github.com/applesrc/clang/blob/bb8f644/src/projects/compiler-rt/lib/sanitizer_common/sanitizer_mac_spi.cc diff --git a/theos/IOSMacros.h b/theos/IOSMacros.h index e0c130cb..da429839 100644 --- a/theos/IOSMacros.h +++ b/theos/IOSMacros.h @@ -1,5 +1,4 @@ #import -#import #define IS_IPAD ([UIDevice currentDevice].userInterfaceIdiom == UIUserInterfaceIdiomPad) #define IN_SPRINGBOARD ([[NSBundle mainBundle].bundleIdentifier isEqualToString:@"com.apple.springboard"])