Explicitly @synthesize ObjC @properties
This is required after https://code.google.com/p/gyp/source/detail?r=1768 turned on -Wobjc-missing-property-synthesis for ninja builds (until then it was only enabled for xcode builds) to allow chromium_deps to roll in webrtc/DEPS. BUG=2560 R=kjellander@webrtc.org Review URL: https://webrtc-codereview.appspot.com/3089004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@5047 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@@ -31,11 +31,11 @@
|
||||
|
||||
#import "RTCICECandidate+internal.h"
|
||||
|
||||
@implementation RTCICECandidate {
|
||||
NSString *_sdpMid;
|
||||
NSInteger _sdpMLineIndex;
|
||||
NSString *_sdp;
|
||||
}
|
||||
@implementation RTCICECandidate
|
||||
|
||||
@synthesize sdpMid = _sdpMid;
|
||||
@synthesize sdpMLineIndex = _sdpMLineIndex;
|
||||
@synthesize sdp = _sdp;
|
||||
|
||||
- (id)initWithMid:(NSString *)sdpMid
|
||||
index:(NSInteger)sdpMLineIndex
|
||||
|
@@ -33,6 +33,10 @@
|
||||
|
||||
@implementation RTCICEServer
|
||||
|
||||
@synthesize URI = _URI;
|
||||
@synthesize username = _username;
|
||||
@synthesize password = _password;
|
||||
|
||||
- (id)initWithURI:(NSURL *)URI
|
||||
username:(NSString *)username
|
||||
password:(NSString *)password {
|
||||
|
@@ -29,6 +29,9 @@
|
||||
|
||||
@implementation RTCPair
|
||||
|
||||
@synthesize key = _key;
|
||||
@synthesize value = _value;
|
||||
|
||||
- (id)initWithKey:(NSString *)key value:(NSString *)value {
|
||||
if ((self = [super init])) {
|
||||
_key = [key copy];
|
||||
|
@@ -64,6 +64,8 @@
|
||||
|
||||
@implementation RTCPeerConnectionFactory
|
||||
|
||||
@synthesize nativeFactory = _nativeFactory;
|
||||
|
||||
+ (void)initializeSSL {
|
||||
BOOL initialized = talk_base::InitializeSSL();
|
||||
NSAssert(initialized, @"Failed to initialize SSL library");
|
||||
|
@@ -31,10 +31,10 @@
|
||||
|
||||
#import "RTCSessionDescription+internal.h"
|
||||
|
||||
@implementation RTCSessionDescription {
|
||||
NSString *_description;
|
||||
NSString *_type;
|
||||
}
|
||||
@implementation RTCSessionDescription
|
||||
|
||||
@synthesize description = _description;
|
||||
@synthesize type = _type;
|
||||
|
||||
- (id)initWithType:(NSString *)type sdp:(NSString *)sdp {
|
||||
if (!type || !sdp) {
|
||||
|
@@ -40,6 +40,8 @@
|
||||
|
||||
@implementation RTCVideoRenderer
|
||||
|
||||
@synthesize delegate = _delegate;
|
||||
|
||||
+ (RTCVideoRenderer *)videoRenderGUIWithFrame:(CGRect)frame {
|
||||
// TODO (hughv): Implement.
|
||||
return nil;
|
||||
|
@@ -44,6 +44,12 @@
|
||||
|
||||
@implementation RTCSessionDescriptionSyncObserver
|
||||
|
||||
@synthesize error = _error;
|
||||
@synthesize sessionDescription = _sessionDescription;
|
||||
@synthesize success = _success;
|
||||
@synthesize condition = _condition;
|
||||
@synthesize signaled = _signaled;
|
||||
|
||||
- (id)init {
|
||||
if ((self = [super init])) {
|
||||
if (!(_condition = [[NSCondition alloc] init]))
|
||||
|
@@ -49,6 +49,19 @@
|
||||
|
||||
@implementation APPRTCAppClient
|
||||
|
||||
@synthesize ICEServerDelegate = _ICEServerDelegate;
|
||||
@synthesize messageHandler = _messageHandler;
|
||||
|
||||
@synthesize backgroundQueue = _backgroundQueue;
|
||||
@synthesize baseURL = _baseURL;
|
||||
@synthesize gaeChannel = _gaeChannel;
|
||||
@synthesize postMessageUrl = _postMessageUrl;
|
||||
@synthesize pcConfig = _pcConfig;
|
||||
@synthesize roomHtml = _roomHtml;
|
||||
@synthesize sendQueue = _sendQueue;
|
||||
@synthesize token = _token;
|
||||
@synthesize verboseLogging = _verboseLogging;
|
||||
|
||||
- (id)init {
|
||||
if (self = [super init]) {
|
||||
_backgroundQueue = dispatch_queue_create("RTCBackgroundQueue", NULL);
|
||||
|
@@ -142,6 +142,14 @@
|
||||
|
||||
@implementation APPRTCAppDelegate
|
||||
|
||||
@synthesize window = _window;
|
||||
@synthesize viewController = _viewController;
|
||||
@synthesize client = _client;
|
||||
@synthesize pcObserver = _pcObserver;
|
||||
@synthesize peerConnection = _peerConnection;
|
||||
@synthesize peerConnectionFactory = _peerConnectionFactory;
|
||||
@synthesize queuedRemoteCandidates = _queuedRemoteCandidates;
|
||||
|
||||
#pragma mark - UIApplicationDelegate methods
|
||||
|
||||
- (BOOL)application:(UIApplication *)application
|
||||
|
@@ -33,6 +33,10 @@
|
||||
|
||||
@implementation APPRTCViewController
|
||||
|
||||
@synthesize textField = _textField;
|
||||
@synthesize textInstructions = _textInstructions;
|
||||
@synthesize textOutput = _textOutput;
|
||||
|
||||
- (void)viewDidLoad {
|
||||
[super viewDidLoad];
|
||||
self.textField.delegate = self;
|
||||
|
@@ -38,6 +38,9 @@
|
||||
|
||||
@implementation GAEChannelClient
|
||||
|
||||
@synthesize delegate = _delegate;
|
||||
@synthesize webView = _webView;
|
||||
|
||||
- (id)initWithToken:(NSString *)token delegate:(id<GAEMessageHandler>)delegate {
|
||||
self = [super init];
|
||||
if (self) {
|
||||
|
Reference in New Issue
Block a user