You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IMO, it's a good practice to initialize variables first before such calls. It may or may not be strictly necessary, depending on the method you're calling and depending on whether you're using ARC, but it would raise fewer red flags in my mind if you set anotherInView to nil when you declare it.
WYPopoverController line 3094, certain comparison issues
Suggested fix
CGRect anotherRect;
UIView *anotherInView;
[delegate popoverController:self willRepositionPopoverToRect:&anotherRect inView:&anotherInView];
// prior comparison was not needed, anotherRect will always have a value
rect = anotherRect;
// compare the object, not the address
if (anotherInView != nil) {
inView = anotherInView;
}
The text was updated successfully, but these errors were encountered: