Skip to content

Commit

Permalink
change initialize class name to initOpenWebRTC
Browse files Browse the repository at this point in the history
Closes #60.
  • Loading branch information
wangchauyan authored and Stefan Ålund committed Feb 22, 2016
1 parent 587fb4d commit b1c93cb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions SDK/OpenWebRTC.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,10 @@

@interface OpenWebRTC : NSObject

/**
* Initializes OpenWebRTC. Should preferably be run inside your AppDelegate's
* initialize method to ensure OpenWebRTC has enough time to set things up.
*/
+ (void)initOpenWebRTC;

@end
2 changes: 1 addition & 1 deletion SDK/OpenWebRTC.m
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ - (instancetype)init
return nil;
}

+ (void)initialize
+ (void)initOpenWebRTC
{
if (self == [OpenWebRTC class]) {
static BOOL isInitialized = NO;
Expand Down

0 comments on commit b1c93cb

Please sign in to comment.