Killing both remaining static linking warnings in iOS.

This commit is contained in:
Samuel Clay 2011-10-30 16:32:34 -07:00
parent 72dbe621a7
commit d8a847f6f4
2 changed files with 4 additions and 3 deletions

View file

@ -1204,12 +1204,12 @@ static NSOperationQueue *sharedQueue = nil;
if (![self validatesSecureCertificate]) {
// see: http://iphonedevelopment.blogspot.com/2010/05/nsstream-tcp-and-ssl.html
NSDictionary *sslProperties = [[NSDictionary alloc] initWithObjectsAndKeys:
NSDictionary *sslProperties = [[[NSDictionary alloc] initWithObjectsAndKeys:
[NSNumber numberWithBool:YES], kCFStreamSSLAllowsExpiredCertificates,
[NSNumber numberWithBool:YES], kCFStreamSSLAllowsAnyRoot,
[NSNumber numberWithBool:NO], kCFStreamSSLValidatesCertificateChain,
kCFNull,kCFStreamSSLPeerName,
nil];
nil] autorelease];
CFReadStreamSetProperty((CFReadStreamRef)[self readStream],
kCFStreamPropertySSLSettings,

View file

@ -409,6 +409,7 @@
if (([(FeedDetailTableCell *)oneObject tag] == 0 && !appDelegate.isRiverView) ||
([(FeedDetailTableCell *)oneObject tag] == 1 && appDelegate.isRiverView)) {
cell = (FeedDetailTableCell *)oneObject;
break;
}
}
@ -445,7 +446,7 @@
}
// River view
if (appDelegate.isRiverView) {
if (appDelegate.isRiverView && cell) {
UIView *gradientView = [appDelegate makeFeedTitleGradient:feed
withRect:CGRectMake(0, 0, cell.frame.size.width, 20)];
[cell.feedGradient addSubview:gradientView];