@class BITCrashManager;
@class BITFeedbackManager;
@class BITMetricsManager;
@protocol BITHockeyManagerDelegate;
#import "HockeySDK.h"
/**
The HockeySDK manager. Responsible for setup and management of all components
This is the principal SDK class. It represents the entry point for the HockeySDK. The main promises of the class are initializing the SDK
modules, providing access to global properties and to all modules. Initialization is divided into several distinct phases:
1. Setup the [HockeyApp](http://hockeyapp.net/) app identifier and the optional delegate: This is the least required information on setting up the SDK and using it. It does some simple validation of the app identifier.
2. Provides access to the SDK module `BITCrashManager`. This way all modules can be further configured to personal needs, if the defaults don't fit the requirements.
3. Configure each module.
4. Start up all modules.
The SDK is optimized to defer everything possible to a later time while making sure e.g. crashes on startup can also be caught and each module executes other code with a delay some seconds. This ensures that applicationDidFinishLaunching will process as fast as possible and the SDK will not block the startup sequence resulting in a possible kill by the watchdog process.
All modules do **NOT** show any user interface if the module is not activated or not integrated.
`BITCrashManager`: Shows an alert on startup asking the user if he/she agrees on sending the crash report, if `[BITCrashManager autoSubmitCrashReport]` is enabled (default)
Example:
[[BITHockeyManager sharedHockeyManager]
configureWithIdentifier:@"<AppIdentifierFromHockeyApp>"];
[[BITHockeyManager sharedHockeyManager] startManager];
@warning The SDK is **NOT** thread safe and has to be set up on the main thread!
@warning You should **NOT** change any module configuration after calling `startManager`!
*/
@interface BITHockeyManager : NSObject
#pragma mark - Public Methods
///-----------------------------------------------------------------------------
/// @name Initialization
///-----------------------------------------------------------------------------
/**
* Returns the shared manager object
*
* @return A singleton BITHockeyManager instance ready use
*/
+ (BITHockeyManager *)sharedHockeyManager;
/**
* Initializes the manager with a particular app identifier, company name and delegate
*
* Initialize the manager with a HockeyApp app identifier.
*
* @see BITCrashManagerDelegate
* @see startManager
* @see configureWithIdentifier:delegate:
* @param appIdentifier The app identifier that should be used.
*/
- (void)configureWithIdentifier:(NSString *)appIdentifier;
/**
* Initializes the manager with a particular app identifier, company name and delegate
*
* Initialize the manager with a HockeyApp app identifier and assign the class that
* implements the optional protocol `BITCrashManagerDelegate`.
*
* @see BITCrashManagerDelegate
* @see startManager
* @see configureWithIdentifier:
* @param appIdentifier The app identifier that should be used.
* @param delegate `nil` or the class implementing the optional protocols
*/
- (void)configureWithIdentifier:(NSString *)appIdentifier delegate:(id <BITHockeyManagerDelegate>) delegate;
/**
* Initializes the manager with a particular app identifier, company name and delegate
*
* Initialize the manager with a HockeyApp app identifier and assign the class that
* implements the required protocol `BITCrashManagerDelegate`.
*
* @see BITCrashManagerDelegate
* @see startManager
* @see configureWithIdentifier:
* @see configureWithIdentifier:delegate:
* @param appIdentifier The app identifier that should be used.
* @param companyName `nil` or the company name, this is not used anywhere any longer.
* @param delegate `nil` or the class implementing the required protocols
*/
- (void)configureWithIdentifier:(NSString *)appIdentifier companyName:(NSString *)companyName delegate:(id <BITHockeyManagerDelegate>) delegate __attribute__((deprecated("Use configureWithIdentifier:delegate: instead")));
/**
* Starts the manager and runs all modules
*
* Call this after configuring the manager and setting up all modules.
*
* @see configureWithIdentifier:
* @see configureWithIdentifier:delegate:
*/
- (void)startManager;
#pragma mark - Public Properties
///-----------------------------------------------------------------------------
/// @name General
///-----------------------------------------------------------------------------
/**
* Set the delegate
*
* Defines the class that implements the optional protocol `BITHockeyManagerDelegate`.
*
* @see BITHockeyManagerDelegate
* @see BITCrashManagerDelegate
*/
@property (nonatomic, unsafe_unretained) id<BITHockeyManagerDelegate> delegate;
///-----------------------------------------------------------------------------
/// @name Modules
///-----------------------------------------------------------------------------
/**
* Defines the server URL to send data to or request data from
*
* By default this is set to the HockeyApp servers and there rarely should be a
* need to modify that.
* Please be aware that the URL for `BITMetricsManager` needs to be set separately
* as this class uses a different endpoint!
*/
@property (nonatomic, strong) NSString *serverURL;
/**
* Reference to the initialized BITCrashManager module
*
* Returns the BITCrashManager instance initialized by BITHockeyManager
*
* @see configureWithIdentifier:
* @see configureWithIdentifier:delegate:
* @see startManager
* @see disableCrashManager
*/
@property (nonatomic, strong, readonly) BITCrashManager *crashManager;
/**
* Flag the determines whether the Crash Manager should be disabled
*
* If this flag is enabled, then crash reporting is disabled and no crashes will
* be send.
*
* Please note that the Crash Manager will be initialized anyway!
*
* *Default*: _NO_
* @see crashManager
*/
@property (nonatomic, getter = isCrashManagerDisabled) BOOL disableCrashManager;
/**
Reference to the initialized BITFeedbackManager module
Returns the BITFeedbackManager instance initialized by BITHockeyManager
@see configureWithIdentifier:delegate:
@see startManager
@see disableFeedbackManager
*/
@property (nonatomic, strong, readonly) BITFeedbackManager *feedbackManager;
/**
Flag the determines whether the Feedback Manager should be disabled
If this flag is enabled, then letting the user give feedback and
get responses will be turned off!
Please note that the Feedback Manager will be initialized anyway!
*Default*: _NO_
@see feedbackManager
*/
@property (nonatomic, getter = isFeedbackManagerDisabled) BOOL disableFeedbackManager;
/**
Reference to the initialized BITMetricsManager module
Returns the BITMetricsManager instance initialized by BITHockeyManager
*/
@property (nonatomic, strong, readonly) BITMetricsManager *metricsManager;
/**
Flag the determines whether the BITMetricsManager should be disabled
If this flag is enabled, then sending metrics data such as sessions and users
will be turned off!
Please note that the BITMetricsManager instance will be initialized anyway!
@warning This property needs to be set before calling `startManager`
*Default*: _NO_
@see metricsManager
*/
@property (nonatomic, getter = isMetricsManagerDisabled) BOOL disableMetricsManager;
///-----------------------------------------------------------------------------
/// @name Configuration
///-----------------------------------------------------------------------------
/** Set the userid that should used in the SDK components
Right now this is used by the `BITCrashManager` to attach to a crash report.
`BITFeedbackManager` uses it too for assigning the user to a discussion thread.
The value can be set at any time and will be stored in the keychain on the current
device only! To delete the value from the keychain se
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
MindNode 2 for Mac 最新破解版 (1446个子文件)
Assets.car 3.03MB
startssl.cer 2KB
isrgrootx1.cer 1KB
startComCertAuthG2.cer 1KB
thawte.cer 1KB
geotrust.cer 856B
CodeResources 620KB
CodeResources 10KB
CodeResources 3KB
CodeResources 2KB
Current 1B
libswiftCore.dylib 5.3MB
libswiftFoundation.dylib 1.97MB
libswiftDispatch.dylib 342KB
libswiftCoreGraphics.dylib 155KB
libswiftAppKit.dylib 100KB
libswiftCoreData.dylib 100KB
libswiftDarwin.dylib 74KB
libswiftObjectiveC.dylib 56KB
libswiftQuartzCore.dylib 48KB
libswiftXPC.dylib 35KB
libswiftCoreImage.dylib 35KB
libswiftIOKit.dylib 35KB
BITHockeyManager.h 13KB
BITCrashManager.h 12KB
BITFeedbackManager.h 5KB
BITCrashExceptionApplication.h 5KB
BITCrashManagerDelegate.h 4KB
BITHockeyManagerDelegate.h 3KB
BITSystemProfile.h 3KB
HockeySDK.h 2KB
BITMetricsManager.h 2KB
BITCrashDetails.h 2KB
BITHockeyAttachment.h 1KB
HockeySDKNullability.h 778B
HockeySDKEnums.h 710B
BITCrashMetaData.h 687B
BITHockeyBaseManager.h 553B
BITFeedbackWindowController.h 181B
BITHockeyLoggerPrivate.h 86B
Headers 24B
HockeySDK 1.05MB
HockeySDK 26B
AppIcon.icns 1.14MB
DocumentIcon.icns 635KB
Pods-MindNode for Mac-acknowledgements.markdown 9KB
MindNode 3.45MB
MindNodeQuickLookPlugIn 84KB
MindNodeSpotlightImporter 86KB
module.modulemap 99B
Modules 24B
MainMenu.nib 55KB
BITFeedbackWindowController.nib 31KB
MNXMyMindNodePreferencesViewController.nib 29KB
MNXPrintAccessoryViewController.nib 27KB
MNXNodeStyleSectionViewController.nib 25KB
MNXNodePopoverViewController.nib 24KB
MNXFontSectionViewController.nib 23KB
MNXExportSheetViewController.nib 19KB
MNXConnectionStyleSectionViewController.nib 19KB
MNXAboutWindowController.nib 18KB
MNXImagePickerViewController.nib 18KB
MNXOutlineViewController.nib 18KB
MNMyMindNodeRegisterWindowController.nib 17KB
BITCrashReportUI.nib 17KB
MNXWelcomeWindowController.nib 15KB
MNXUpdateCustomThemeWindowController.nib 15KB
MNXShortcutsPreferencesViewController.nib 15KB
MNXBranchStyleSectionViewController.nib 13KB
MNMyMindNodeShareWindowController.nib 13KB
MNXThemeInspectorSectionViewController.nib 12KB
MNXImageSectionViewController.nib 12KB
MNXNoteSectionViewController.nib 12KB
MNXLayoutStyleSectionViewController.nib 10KB
MNXStylePreferencesViewController.nib 9KB
MNXExportToRemindersViewController.nib 8KB
MNXMindMapSectionViewController.nib 8KB
MNXTaskSectionViewController.nib 8KB
MNMyMindNodeEditAccountWindowController.nib 8KB
MNXPrintOutlineTableView.nib 8KB
MNXExportToOmniFocusViewController.nib 7KB
MNXExportToThingsViewController.nib 7KB
MNXPDFExportViewController.nib 7KB
MNXTextExportViewController.nib 7KB
MNMyMindNodeShareLinkViewController.nib 7KB
MNXMindNodeSingleFileExportViewController.nib 6KB
MNXInspectorTabController.nib 6KB
MNXSidebarSegmentedControlTitlebarAccessoryViewController.nib 6KB
MNXZoomControlTitlebarAccessoryViewController.nib 6KB
MNXOutlineSettingsViewController.nib 6KB
MNXImageExportViewController.nib 6KB
MNXMarkdownExportViewController.nib 5KB
MNMyMindNodeUploadCompleteViewController.nib 5KB
MNXCanvasInspectorViewController.nib 4KB
MNXStyleInspectorViewController.nib 4KB
MNXContentInspectorViewController.nib 4KB
MNXStylePreferencesThemesViewController.nib 4KB
MNXFreemindExportViewController.nib 4KB
MNXOPMLExportViewController.nib 4KB
MNXInteractionCanvasViewController.nib 4KB
共 1446 条
- 1
- 2
- 3
- 4
- 5
- 6
- 15
资源评论
_绽放
- 粉丝: 0
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功