Re: SFAuthorizationView
Re: SFAuthorizationView
- Subject: Re: SFAuthorizationView
- From: Sam McCandlish <email@hidden>
- Date: Fri, 20 Feb 2004 17:24:09 -0500
I tried to do this once, and I got it working (It may or may not be the
"right" way to use it):
- (void)awakeFromNib {
[myAuthView setString:"com.someprogram.do.something"];
[myAuthView setDelegate:self];
[myAuthView updateStatus:self];
}
- (void)authorizationViewDidDeauthorize:(SFAuthorizationView *)view {
//do something
}
- (void)authorizationViewDidAuthorize:(SFAuthorizationView *)view {
// do something
}
If you do this in IB then you will have to read the SFAuthorizationView
header file. Then you can make a custom NSView and set its custom class
to SFAuthorizationview. By the way, myAuthView is an
SFAuthorizationView.
On Feb 20, 2004, at 1:51 PM, Eric Long wrote:
Hi,
There was a message posted to this list back in December regarding
SFAuthorizationView in the SecurityInterface framework. The developer
was
looking for more thorough documentation and/or source samples to
illuminate
how to use it. There were no posted replies.
I'm working on a shipping Cocoa interface for the first time, that will
include authorization functionality. My application is
self-restricting
only. I employed the means commonly used on Jaguar to set it up, with
the
black lock icon and all, but like the previous developer who wrote, I'm
wanting my interface to be consistent with the look of the OS on
Panther.
The available documentation is not clear enough to me to get
SFAuthorizationView working. So, I'm asking the same question: Does
anyone
have source examples that show effectively how to use
SFAuthorizationView?
Thanks,
Eric
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.