Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Commented out NSLogs for release

  • Loading branch information...
commit 60c33a3db28aafad060ee7b8f9932af76a567444 1 parent 4540fe5
Michael Fey authored

Showing 1 changed file with 8 additions and 8 deletions. Show diff stats Hide diff stats

  1. +8 8 DeviceCode/ZSyncTouchHandler.m
16 DeviceCode/ZSyncTouchHandler.m
@@ -316,7 +316,7 @@ - (NSObject *)lock
316 316 - (void)updateServerList
317 317 {
318 318 [lock lock];
319   - NSLog(@"START %s", __PRETTY_FUNCTION__);
  319 +// NSLog(@"START %s", __PRETTY_FUNCTION__);
320 320 [networkTimer invalidate], networkTimer = nil;
321 321 [[self availableServers] removeAllObjects];
322 322 for (NSNetService *service in [self discoveredServers]) {
@@ -327,7 +327,7 @@ - (void)updateServerList
327 327
328 328 [[self discoveredServers] addObjectsFromArray:[_serviceBrowser servers]];
329 329 for (NSNetService *service in [self discoveredServers]) {
330   - NSLog(@"%@", [service name]);
  330 +// NSLog(@"%@", [service name]);
331 331 [service setDelegate:self];
332 332 [service resolveWithTimeout:15.0];
333 333 }
@@ -349,7 +349,7 @@ - (void)updateServerList
349 349
350 350 }
351 351
352   - NSLog(@"END %s", __PRETTY_FUNCTION__);
  352 +// NSLog(@"END %s", __PRETTY_FUNCTION__);
353 353 [lock unlock];
354 354 }
355 355
@@ -360,14 +360,14 @@ - (void)updateServerList
360 360 */
361 361 - (void)netServiceWillResolve:(NSNetService *)sender
362 362 {
363   - NSLog(@"%s", __PRETTY_FUNCTION__);
  363 +// NSLog(@"%s", __PRETTY_FUNCTION__);
364 364 }
365 365
366 366 /* Sent to the NSNetService instance's delegate when one or more addresses have been resolved for an NSNetService instance. Some NSNetService methods will return different results before and after a successful resolution. An NSNetService instance may get resolved more than once; truly robust clients may wish to resolve again after an error, or to resolve more than once.
367 367 */
368 368 - (void)netServiceDidResolveAddress:(NSNetService *)bonjourService
369 369 {
370   - NSLog(@"%s", __PRETTY_FUNCTION__);
  370 +// NSLog(@"%s", __PRETTY_FUNCTION__);
371 371
372 372 NSString *registeredServerUUID = [[NSUserDefaults standardUserDefaults] valueForKey:zsServerUUID];
373 373 NSString *registeredServerName = [[NSUserDefaults standardUserDefaults] valueForKey:zsServerName];
@@ -464,7 +464,7 @@ - (void)netServiceDidResolveAddress:(NSNetService *)bonjourService
464 464 */
465 465 - (void)netService:(NSNetService *)sender didNotResolve:(NSDictionary *)errorDict
466 466 {
467   - NSLog(@"%s", __PRETTY_FUNCTION__);
  467 +// NSLog(@"%s", __PRETTY_FUNCTION__);
468 468 [[self discoveredServers] removeObject:sender];
469 469
470 470 //Did not find our registered server. Fail
@@ -478,7 +478,7 @@ - (void)netService:(NSNetService *)sender didNotResolve:(NSDictionary *)errorDic
478 478 */
479 479 - (void)netServiceDidStop:(NSNetService *)sender
480 480 {
481   - NSLog(@"%s", __PRETTY_FUNCTION__);
  481 +// NSLog(@"%s", __PRETTY_FUNCTION__);
482 482 // if ([[self discoveredServers] count] == 0) {
483 483 // [[self delegate] zSyncServerUnavailable:self];
484 484 // [self setServerAction:ZSyncServerActionNoActivity];
@@ -489,7 +489,7 @@ - (void)netServiceDidStop:(NSNetService *)sender
489 489 */
490 490 - (void)netService:(NSNetService *)sender didUpdateTXTRecordData:(NSData *)data
491 491 {
492   - NSLog(@"%s", __PRETTY_FUNCTION__);
  492 +// NSLog(@"%s", __PRETTY_FUNCTION__);
493 493 }
494 494
495 495 #pragma mark -

0 comments on commit 60c33a3

Please sign in to comment.
Something went wrong with that request. Please try again.