Re: Welcome to the "Bluetooth-dev" mailing list
Re: Welcome to the "Bluetooth-dev" mailing list
- Subject: Re: Welcome to the "Bluetooth-dev" mailing list
- From: Landon Cunningham <email@hidden>
- Date: Sat, 20 Aug 2005 12:29:43 -0700
I think I am sorta getting it. I did a little reading and what most
articles say is that I don't need the delegate methods and the classes
should work on their own and you can choose to implement which methods
you want. Is this correct?
When I try using a sleep(10) and disregarding the delegate methods I
get no results.
Assuming that the bluetoothdeviceinquiry class is different and needs
the delegate methods. I implement them in my main class or a separate
class?
Is there a tutorial or documentation or a place I can get more info on
delegate objects?
Thanks for all the support,
Landon
On 8/20/05, Christian Klein <email@hidden> wrote:
>
> Am 20.08.2005 um 01:09 schrieb Landon Cunningham:
>
> > Ok little new to this objective c programming thing (started like a 2
> > weeks ago) and I am not too sure on the delegate methods.
> >
> > I intialize a my palmSizedDevices which has a delegate object of
> > discoverDelegate. Now I am suppose to retain the palmSizedDevices
> > object correct?
> >
> > These delegate methods, I have to implement them myself correct? Cause
> > I definitely haven't done that and I am not too sure what goes in them
> > and where to put them
>
> That's right. See the documentation or /System/Library/Frameworks/
> IOBluetooth.framework/Headers/objc/IOBluetoothDeviceInquiry.h
> for the method names. Before I switched from a command line program
> to a Cocoa application
> (that made things a lot easier), I also had a sleep(10) in my code to
> give the inquiry scan some time
> -- it only worked with that sleep.
>
> regards,
> Chris
>
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Bluetooth-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden