-
Notifications
You must be signed in to change notification settings - Fork 93
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
Drupal 7 Swift 3.0 #155
Comments
Hrmm, It sounds like, |
Also Im sorry there isnt a Swift version for Drupal 7. Swift is so much nicer than OBJ-C And Drupal 8 is so much nicer than Drupal 7 |
Thank you for the quick response :) It is installed: Installing AFNetworking (2.6.3) Not sure whats happening :\ Yes tell me about it! |
OKay so, in your podfile remove, use frameworks! And create a new objective-c bridging header. Then in your app delegate you can do |
|
You are the best Kyle :) Thank you very much for all the help, I really appreciate it 👍 |
Good luck, theres a good chance this stuff doesnt work in Swift with DOIS 2.1~, but I just tested it with the plist file, and everything worked!
|
Btw @kylebrowning quick last question, does this version of the library support 3-legged oAuth? |
@diogoAntunes Yup, you can see an example of that here, https://github.com/kylebrowning/drupal-ios-sdk-example/blob/master/Drupal%20Questions/WHAppDelegate.m#L72 |
@kylebrowning sorry to disturb you again and on a closed issued :( I was following your example on https://github.com/kylebrowning/drupal-ios-sdk-example/blob/master/Drupal%20Questions/WHAppDelegate.m#L72 But I'm getting a crash when doing the initial DIOS setup on:
Because basically what the server is sending is this:
It's not even a proper dictionary. So my question is, this not an expected behaviour on the oAuth Flow, or I can discard that line? :( |
Im not sure why the server is sending that response for a system/connect call. It shouldnt be. |
Hey, thank you for all the hard work, I have a little question, I'm trying to use this on a Swift 3.0 project to connect to a server made in Drupal 7, so I'm targeting
pod 'drupal-ios-sdk', '~> 2.1'
but I can't even import it to the project I'm getting multiple errors:-DIOSComment.h:38:9: 'AFHTTPRequestOperation.h' file not found
A little help on this would be much appreciated :)
The text was updated successfully, but these errors were encountered: