Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Minor spacing cleanup

  • Loading branch information...
commit d7360c2ba89c052196480fea351a99a0ab688eca 1 parent 14bda65
@philippec authored
Showing with 6 additions and 7 deletions.
  1. +4 −4 classes/PhFacebook.h
  2. +2 −3 classes/PhFacebook.m
View
8 classes/PhFacebook.h
@@ -50,10 +50,10 @@
- (void) requestResult: (NSDictionary*) result;
@optional
-// needsAuthentication is called before showing authentication WebView
-// if it returns true, default login window will not be shown and
-// application is responsible for authentication UI
-- (BOOL) needsAuthentication: (NSString*) authURL forPermissions: (NSString*) permissions;
+// needsAuthentication is called before showing the authentication WebView.
+// If it returns YES, the default login window will not be shown and
+// your application is responsible for the authentication UI.
+- (BOOL) needsAuthentication: (NSString*) authenticationURL forPermissions: (NSString*) permissions;
- (void) willShowUINotification: (PhFacebook*) sender;
- (void) didDismissUI: (PhFacebook*) sender;
View
5 classes/PhFacebook.m
@@ -137,10 +137,9 @@ - (void) getAccessTokenForPermissions: (NSArray*) permissions cached: (BOOL) can
if ([_delegate respondsToSelector: @selector(needsAuthentication:forPermissions:)])
{
- if ([_delegate needsAuthentication:authURL forPermissions:scope])
+ if ([_delegate needsAuthentication: authURL forPermissions: scope])
{
- // if needsAuthentication returns YES,
- // we will let delegate handle the authentication UI
+ // If needsAuthentication returns YES, let the delegate handle the authentication UI
return;
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.