Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interested in Swift version and framework-support #7

Open
michaeldorner opened this issue Jan 3, 2016 · 14 comments
Open

Interested in Swift version and framework-support #7

michaeldorner opened this issue Jan 3, 2016 · 14 comments

Comments

@michaeldorner
Copy link
Owner

Are there any interests in a Swift version and refactoring the code into a Xcode standalone-framework?

@simgul-1
Copy link

simgul-1 commented Jan 3, 2016

Yes!

Sent from my iPhone

On 3 Jan 2016, at 18:20, Michael Dorner [email protected] wrote:

Are there any interests in a Swift version and refactoring the code into a Xcode standalone-framework?


Reply to this email directly or view it on GitHub.

@jbarmanet
Copy link

Yeah! +1

@cansurmeli
Copy link

Definitely 👍🏻

@alanscarpa
Copy link

+1

@llKoull
Copy link

llKoull commented Dec 9, 2016

Hi!

¿Any news there? I trying to use your MDBluetooth... classes in a swift project, but when I try to use the Bluetooth private headers, i'm getting this error:

Undefined symbols for architecture arm64: "_OBJC_CLASS_$_BluetoothManager", referenced from: objc-class-ref in BluetoothViewController.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

I made a bridging header that just imports your MDBluetoothHeader class (this class is internally calling BluetoothHeader, MDBluetoothDevice, ...) but I don't know if it is wrong.

`#ifndef Demo_Bridging_Header_h
#define Demo_Bridging_Header_h

#import "MDBluetoothManager.h"

#endif `

Do you know if i should import anything else?

Thanks and best regards!

@michaeldorner
Copy link
Owner Author

Unfortunately I don't have time at the moment for working at BeeTee; maybe while christmas.

@llKoull
Copy link

llKoull commented Dec 9, 2016

Hi @michaeldorner !

Thanks for your fast answer ;) And no one tried to use your actual code (written in Objective-C) in a Swift project using Bridging headers?

Best regards,

@michaeldorner
Copy link
Owner Author

I've got some feedback, that is works, even for iOS 10.1.1.

@llKoull
Copy link

llKoull commented Dec 9, 2016

Yeah, I tried to compile your BeeTee project directly downloaded from your repo and It worked in my iPhone 7 with the latest iOS version. The problem is when i try to import your MDBluetooth... classes into another project that is written in swift.

@michaeldorner
Copy link
Owner Author

Santa Claus brought some Christmas presents: BeeTee 3 in Swift and completely refactored! Let me know what you think about it!

Merry Christmas and a happy new year!

@llKoull
Copy link

llKoull commented Dec 24, 2016

Thanks Michael! I will try It ^_^

Does anyone know if this can be used to send/receive data from a bluetooth device??

Merry Christmas!!! 😄😄😄

@jbarmanet
Copy link

Thank you Michael, great job. Not tried yet but eager to... after Xmas Party :)
Merry Christmas!

@michaeldorner
Copy link
Owner Author

@llKoull I haven't checked this so far, but connecting is still the hardest part.

@llKoull
Copy link

llKoull commented Dec 27, 2016

@michaeldorner thanks to your code, now i can search, connect and disconnect bluetooth devices 😄

But I don't even know which method can be used to transfer data, I tried trough the private frameworks, using the External Accessory framework or the GameKit framework, but i'm not able to send and/or receive information :S

It seems that the private framework does not have any method for this propose (or i did not find it).

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants