Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Routine #331

Merged
merged 2 commits into from
May 30, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
77 changes: 72 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,76 @@
# CHANGELOG
Questions? [Contact us](https://support.branch.io/support/tickets/new)

## [v2.6.0](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/releases/tag/v2.6.0) (2017-05-25)

- **Completed Changes**
- docs: update run for ionic3 ([62537](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/commit/62537d04de93d510ef1b18cb740aee9a4ca31266))
- docs: added indention to currencies ([549a0](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/commit/549a042568f3635b61dbd385f6282ca70dd78e51))
- Merge pull request #328 from BranchMetrics/fix-cordovaadded commerce events ([720cc](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/commit/720cc2605544f209cba533d31daeca01aeb59c9e))

- **Closed Issues**
- Branch.io init returning 400 bad request ([#330](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/issues/330))
- Instead of opening application directly, Branch.io takes me to the App Store ([#327](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/issues/327))
- Multiple Dex Exception on latest build branch-cordova-sdk 2.5.16 ([#326](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/issues/326))

## [v2.5.17](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/releases/tag/v2.5.17) (2017-05-10)

- **Completed Changes**
- docs: relocated commerce properties to new section ([572a8](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/commit/572a8893e23a5abcd94f3ed0108d47c2b6361e2e))
- fix: correctly commerce currency on iOS to match Android ([47ade](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/commit/47adeea8427f0dd87162f89b5b9ad90b2b65abc2))
- feat: added commerce events to android ([2639f](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/commit/2639ffc62d19652be0a981c5109e0d9ca134d83a))
- style: fixed padding ([4a4c3](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/commit/4a4c38cee2aa4873621df2729557572aa36ac66d))
- fix: update android sdk to 2.8.0 ([dfc14](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/commit/dfc149ff7a0747969e363d394474d83b87f995c6))
- docs: minor spelling and version changes ([8d309](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/commit/8d3096b457e7bc35f6b56c8d0341e78725dd07d3))
- chore: updated npm version to 2.6.0 ([707a0](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/commit/707a05c927d52675d9d880ebef177dcb2669caec))
- feat: added commerce events to iOS ([faa3f](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/commit/faa3fb094348548d076b54cd2be91c7949f06de0))
- style: tabs to spaces ([545ae](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/commit/545ae679fc8752efc0cd71386ea8a8ddf4967a78))
- fix: updated openURL to latest syntax ([bc7c2](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/commit/bc7c25d46fa3fe388ebcb1c2bb673dfaf42213b3))
- chore: updated npm version to 2.5.18 ([7b54a](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/commit/7b54a9db8a522c1e16fa1146a2666adc16b0c95e))
- fix: android-prefix now required for custom domains ([d4417](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/commit/d4417ac77de04ee5c560618d8957c3c96e6981e8))
- docs: fixed data flow for contributing ([5661e](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/commit/5661e0ac71109a3213c8570517c1757124554674))
- docs: added data flow to contributing ([d14bf](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/commit/d14bfd45f6df7cbcbe520c5f4cddf75a8d40189a))
- docs: toc grammar update ([c5db7](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/commit/c5db7ddf79dfe64631ce8328374791ddcc1ffc82))
- Merge pull request #325 from BranchMetrics/fix-cordova-7fix: added support for cordova 7.0.0 ([14256](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/commit/14256589c44376533a9d3e706557e2d78d1c5c54))

- **Closed Issues**
- Branch.initSession bugged ([#324](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/issues/324))
- Error with cordova 7.0.0 ([#323](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/issues/323))
- Query Parameter getting stripped off ([#322](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/issues/322))

## [v2.5.16](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/releases/tag/v2.5.16) (2017-04-18)

- **Completed Changes**
- fix: cleaned up cordova 7.0.0 fix ([6f1a2](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/commit/6f1a2a5b032f8d6a32f0417f56ff218b5ec793b2))
- fix: added support for cordova 7.0.0 ([862f1](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/commit/862f14e510ccccd2f44372ed4d5fc9ed29e88b89))
- fix: removed es6-promise-plugin dependency ([de7cc](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/commit/de7cc9db43712d0a9e00d648c0f620f5cc87df51))
- chore: updated npm version to 2.5.17 ([0312d](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/commit/0312dca92c4fd0c8543c31b5bd52ae843f16e856))
- fix: updated plist dependency to 2.1.0 ([1f8b8](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/commit/1f8b81e7b4f1413ae4f211ee327af6c5b23ef924))
- docs: added error for incorrect minimum android version ([2a848](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/commit/2a8483c92d575bf231fa1f0d544fd23a71673391))
- docs: made building testbed more understandable ([df568](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/commit/df5689c148a81c14be99ba929f1b65ac3e52d4e5))
- docs: added methods to test each function ([80ca7](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/commit/80ca7594eb73e30c6b1318204b9018b9c19b3522))
- Merge pull request #318 from BranchMetrics/fix-release-schemefix: able to have release schemes and archive in ios ([96db6](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/commit/96db6caac4095f161e7c659debb6e881d9c05faf))

- **Closed Issues**
- Init Error ([#321](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/issues/321))
- Missing : Commerce event tracking ([#320](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/issues/320))
- custom url schema support ([#319](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/issues/319))

## [v2.5.15](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/releases/tag/v2.5.15) (2017-04-17)

- **Completed Changes**
- Merge remote-tracking branch 'origin/fix-release-scheme' into fix-release-scheme ([6e669](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/commit/6e66953d9a0eb4d8b91d4ab9659cdc57f050ee5d))
- chore: updated Android to 2.6.1 ([c4b8a](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/commit/c4b8a68fd6c4665f3ca5f636d2ff5c01b6813a7b))
- chore: updated iOS to 0.14.12 ([85557](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/commit/855576d8e459c5583cee9d90521222bbb7e22348))
- chore: updated npm version to 2.5.16 ([a6eb1](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/commit/a6eb1c58425fefd0c8255c89be27ed5df3239aca))
- chore: corrected merge conflict with master ([e9570](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/commit/e957041baa20237061549ff221005185c0ef3f2f))
- chore: updated changelog ([ef917](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/commit/ef917d21c5cf4fb8e6d85b9b8daf49d4e0d6d3c0))
- fix: able to have release schemes and archive in ios ([14912](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/commit/149128f2685b57c7e6b0fe0806c9040ead7ecd78))
- chore: updated Android to 2.6.1 ([c0c66](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/commit/c0c66dee28a848e47b5ba5f729eb210f5595b3a8))
- chore: updated iOS to 0.14.12 ([66ee9](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/commit/66ee9dc0746ed80fb09e8620ce743bffe5662583))
- chore: updated npm version to 2.5.16 ([df39b](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/commit/df39b9ad36791d1cf276eb9e651bfbb986f6517a))
- chore: updated changelog ([2743b](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/commit/2743b69aaac973720b50abce2f038935d1f1c89e))
- fix: able to have release schemes and archive in ios ([82300](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/commit/823003cc3b28a8b9b2090e609952e57e552eea44))
- Merge pull request #317 from BranchMetrics/fix-bundle-idFix bundle id ([89cf3](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/commit/89cf3d7cd90992c2eef1e0cfdcbf18ce0f5a5fb2))

- **Closed Issues**
Expand Down Expand Up @@ -66,7 +133,6 @@ Questions? [Contact us](https://support.branch.io/support/tickets/new)

- **Closed Issues**
- Twitter Share does not show preview ([#305](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/issues/305))
- Deep link is received twice in iOS in Ionic 2 ([#304](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/issues/304))

## [v2.5.11](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/releases/tag/v2.5.11) (2017-03-21)

Expand All @@ -91,7 +157,7 @@ Questions? [Contact us](https://support.branch.io/support/tickets/new)
- Merge pull request #301 from BranchMetrics/added-changelogfeat: added changelog script ([99fc7](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/commit/99fc717dc1f4c6f2fe2f50fcfe158a8447bc13a0))

- **Closed Issues**
- Provide better API error descriptions ([#295](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/issues/295))
- This plugin invalidates cordova's Entitlements-Debug.plist and Entitlements-Release.plist ([#299](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/issues/299))

## [v2.5.9](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/releases/tag/v2.5.9) (2017-03-09)

Expand All @@ -107,7 +173,7 @@ Questions? [Contact us](https://support.branch.io/support/tickets/new)
- Merge pull request #300 from BranchMetrics/fix-intent-overrideFix intent override ([4ddf0](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/commit/4ddf036d49a3ab5296aa6efdf3bf5aa54019bdc5))

- **Closed Issues**
- Update plugin.xml id to be consistent with npm ([#290](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/issues/290))
- Provide better API error descriptions ([#295](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/issues/295))

## [v2.5.8](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/releases/tag/v2.5.8) (2017-03-08)

Expand All @@ -120,7 +186,7 @@ Questions? [Contact us](https://support.branch.io/support/tickets/new)
- Merge pull request #298 from BranchMetrics/native-sdk-install-scriptNative sdk install script ([be3bc](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/commit/be3bc5fef1403979c478eef63aa3bd48bd6e8fa0))

- **Closed Issues**
- publish to npm?? ([#289](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/issues/289))
- Update plugin.xml id to be consistent with npm ([#290](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/issues/290))

## [v2.5.7](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/releases/tag/v2.5.7) (2017-03-08)

Expand All @@ -134,7 +200,7 @@ Questions? [Contact us](https://support.branch.io/support/tickets/new)
- Merge pull request #297 from BranchMetrics/update-ios-and-android-sdksupdate ios and android sdks ([a3b21](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/commit/a3b2143952df42d4b7d2a69e3b7f2710b1a98bf0))

- **Closed Issues**
- BNCServerInterface.processServerResponse has log but initSession isn't fired on iOS ([#288](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/issues/288))
- publish to npm?? ([#289](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/issues/289))

## [v2.5.6](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/releases/tag/v2.5.6) (2017-03-07)

Expand All @@ -153,6 +219,7 @@ Questions? [Contact us](https://support.branch.io/support/tickets/new)
- Merge pull request #296 from BranchMetrics/fix--continual-improvementsFix: continual improvements ([060e2](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/commit/060e2ab43465ef10a8381a2e71674c5d3aaf1740))

- **Closed Issues**
- BNCServerInterface.processServerResponse has log but initSession isn't fired on iOS ([#288](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/issues/288))
- I can't show image when share moments with WeChat ([#287](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/issues/287))

## [v2.5.5](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/releases/tag/v2.5.5) (2017-03-07)
Expand Down
2 changes: 1 addition & 1 deletion src/ios/dependencies/Branch-SDK/BNCConfig.m
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@
NSString * const BNC_API_BASE_URL = @"https://api.branch.io";
NSString * const BNC_API_VERSION = @"v1";
NSString * const BNC_LINK_URL = @"https://bnc.lt";
NSString * const BNC_SDK_VERSION = @"0.14.12";
NSString * const BNC_SDK_VERSION = @"0.15.3";
30 changes: 19 additions & 11 deletions src/ios/dependencies/Branch-SDK/BNCLog.h
Original file line number Diff line number Diff line change
Expand Up @@ -119,18 +119,26 @@ extern void BNCLogSetFlushFunction(BNCLogFlushFunctionPtr _Nullable flushFunctio
extern BNCLogFlushFunctionPtr _Nullable BNCLogFlushFunction();


#pragma mark - BNCLogMessageInternal
#pragma mark - BNCLogWriteMessage


/// The main logging function used in the logging defines.
extern void BNCLogMessageInternal(
/// The main logging function used in the variadic logging defines.
extern void BNCLogWriteMessageFormat(
BNCLogLevel logLevel,
const char *_Nullable sourceFileName,
int sourceLineNumber,
id _Nullable messageFormat,
...
);

/// Swift-friendly wrapper for BNCLogWriteMessageFormat
extern void BNCLogWriteMessage(
BNCLogLevel logLevel,
NSString *_Nonnull sourceFileName,
NSUInteger sourceLineNumber,
NSString *_Nonnull message
);

/// This function synchronizes all outstanding log messages and writes them to the logging function
/// set by BNCLogSetOutputFunction.
extern void BNCLogFlushMessages();
Expand All @@ -141,25 +149,25 @@ extern void BNCLogFlushMessages();

///@param format Log a debug message with the specified formatting.
#define BNCLogDebug(...) \
do { BNCLogMessageInternal(BNCLogLevelDebug, __FILE__, __LINE__, __VA_ARGS__); } while (0)
do { BNCLogWriteMessageFormat(BNCLogLevelDebug, __FILE__, __LINE__, __VA_ARGS__); } while (0)

///@param format Log a warning message with the specified formatting.
#define BNCLogWarning(...) \
do { BNCLogMessageInternal(BNCLogLevelWarning, __FILE__, __LINE__, __VA_ARGS__); } while (0)
do { BNCLogWriteMessageFormat(BNCLogLevelWarning, __FILE__, __LINE__, __VA_ARGS__); } while (0)

///@param format Log an error message with the specified formatting.
#define BNCLogError(...) \
do { BNCLogMessageInternal(BNCLogLevelError, __FILE__, __LINE__, __VA_ARGS__); } while (0)
do { BNCLogWriteMessageFormat(BNCLogLevelError, __FILE__, __LINE__, __VA_ARGS__); } while (0)

///@param format Log a message with the specified formatting.
#define BNCLog(...) \
do { BNCLogMessageInternal(BNCLogLevelLog, __FILE__, __LINE__, __VA_ARGS__); } while (0)
do { BNCLogWriteMessageFormat(BNCLogLevelLog, __FILE__, __LINE__, __VA_ARGS__); } while (0)

///Cause a programmatic breakpoint if breakpoints are enabled.
#define BNCLogBreakPoint() \
do { \
if (BNCLogBreakPointsAreEnabled()) { \
BNCLogMessageInternal(BNCLogLevelBreakPoint, __FILE__, __LINE__, @"Programmatic breakpoint."); \
BNCLogWriteMessageFormat(BNCLogLevelBreakPoint, __FILE__, __LINE__, @"Programmatic breakpoint."); \
if (BNCDebuggerIsAttached()) { \
BNCLogFlushMessages(); \
BNCDebugBreakpoint(); \
Expand All @@ -171,7 +179,7 @@ extern void BNCLogFlushMessages();
#define BNCBreakPointWithMessage(...) \
do { \
if (BNCLogBreakPointsAreEnabled() { \
BNCLogMessageInternal(BNCLogLevelBreakPoint, __FILE__, __LINE__, __VA_ARGS__); \
BNCLogWriteMessageFormat(BNCLogLevelBreakPoint, __FILE__, __LINE__, __VA_ARGS__); \
if (BNCDebuggerIsAttached()) { \
BNCLogFlushMessages(); \
BNCDebugBreakpoint(); \
Expand All @@ -183,7 +191,7 @@ extern void BNCLogFlushMessages();
#define BNCLogAssert(condition) \
do { \
if (!(condition)) { \
BNCLogMessageInternal(BNCLogLevelAssert, __FILE__, __LINE__, @"(%s) !!!", #condition); \
BNCLogWriteMessageFormat(BNCLogLevelAssert, __FILE__, __LINE__, @"(%s) !!!", #condition); \
if (BNCLogBreakPointsAreEnabled() && BNCDebuggerIsAttached()) { \
BNCLogFlushMessages(); \
BNCDebugBreakpoint(); \
Expand All @@ -197,7 +205,7 @@ extern void BNCLogFlushMessages();
do { \
if (!(condition)) { \
NSString *m = [NSString stringWithFormat:message, __VA_ARGS__]; \
BNCLogMessageInternal(BNCLogLevelAssert, __FILE__, __LINE__, @"(%s) !!! %@", #condition, m); \
BNCLogWriteMessageFormat(BNCLogLevelAssert, __FILE__, __LINE__, @"(%s) !!! %@", #condition, m); \
if (BNCLogBreakPointsAreEnabled() && BNCDebuggerIsAttached()) { \
BNCLogFlushMessages(); \
BNCDebugBreakpoint(); \
Expand Down
13 changes: 11 additions & 2 deletions src/ios/dependencies/Branch-SDK/BNCLog.m
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ void BNCLogSetBreakPointsEnabled(BOOL enabled) {

#pragma mark - Log Functions

static BNCLogOutputFunctionPtr bnc_LoggingFunction = BNCLogFunctionOutputToStdOut;
static BNCLogOutputFunctionPtr bnc_LoggingFunction = nil; // Default to just NSLog output.
static BNCLogFlushFunctionPtr bnc_LogFlushFunction = BNCLogFlushFileDescriptor;

BNCLogOutputFunctionPtr _Nullable BNCLogOutputFunction() {
Expand Down Expand Up @@ -498,7 +498,7 @@ void BNCLogSetFlushFunction(BNCLogFlushFunctionPtr flushFunction) {

static dispatch_queue_t bnc_LogQueue = nil;

void BNCLogMessageInternal(
void BNCLogWriteMessageFormat(
BNCLogLevel logLevel,
const char *_Nullable file,
int lineNumber,
Expand Down Expand Up @@ -551,6 +551,15 @@ void BNCLogMessageInternal(
}
}

void BNCLogWriteMessage(
BNCLogLevel logLevel,
NSString *_Nonnull file,
NSUInteger lineNumber,
NSString *_Nonnull message
) {
BNCLogWriteMessageFormat(logLevel, file.UTF8String, (int)lineNumber, @"%@", message);
}

void BNCLogFlushMessages() {
if (BNCLogSynchronizeMessages()) {
dispatch_sync(bnc_LogQueue, ^{
Expand Down
7 changes: 4 additions & 3 deletions src/ios/dependencies/Branch-SDK/BNCServerRequestQueue.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,12 @@
//
//

#import "BNCServerRequest.h"

#import "BNCServerRequest.h"
@class BranchOpenRequest;

@interface BNCServerRequestQueue : NSObject

@property (nonatomic, readonly) unsigned int size;
@interface BNCServerRequestQueue : NSObject

- (void)enqueue:(BNCServerRequest *)request;
- (BNCServerRequest *)dequeue;
Expand All @@ -32,4 +31,6 @@

+ (id)getInstance;

@property (readonly, assign) NSInteger queueDepth;
@property (readonly, assign) BOOL isDirty;
@end
Loading