-
Notifications
You must be signed in to change notification settings - Fork 439
Using socket.IO-objc in a Swift application #187
Comments
|
Huh :) Commenting that line for me at least makes SocketIO build, I'm no ARC expert, but I don't understand what the ivar declaration |
Well, commenting out this line works for me, my app behaviour is unchanged, SocketIO behaves as expected. |
Yeah I got it to work eventually also with that line commented out. I had my own issues that made me think I broke it. (I forgot to retain my Yeah the delegate
|
I don't think that issue should be closed until the source works as-is. I'll send pull request, and hopefully someone who understands the issue will decide to pull it in or not. |
… iOS 8 (the current deployment target does not support automated __weak references). Fixes pkyeck#187.
While you're at it, try removing all of the other ivars that correspond with an |
+1 |
1 similar comment
+1 |
@NerdYouDontKnow I'd rather keep this change minimal for now, I don't feel confident enough to propose a larger change. |
I'm trying to rewrite an Obj-C app in Swift on iOS 8 and added a bridging header to import Socket.IO like so:
When I build the app, I get the following error:
I'm not very well versed in compiler settings, so it may be a user error in setting up the project, although this project worked just fine before the move to Swift. Could it be an issue with socket.IO-objc itself?
The text was updated successfully, but these errors were encountered: