- π± iOS & Engineering Manager
- π₯·πΌ Currently Stealth
- πͺ Fascinated by space
- π» I publish some open source software on GitHub
- πΊπΈ Lives in California
An Example Project for testing your Drupal IOS SDK Setup Refer to http://github.com/workhabitinc/drupal-ios-sdk
Home Page: http://github.com/workhabitinc/drupal-ios-sdk
I've run DIOSExample but console write log below
2011-11-09 01:39:08.055 DIOSExample[944:207] error-response:
2011-11-09 01:39:08.056 DIOSExample[944:207] HTTP/1.0 406 Not Acceptable: Unsupported request content type application/plist
why it's doing this?
Thanks! Yothin
Maybe this is dumb but Im new to IOS development and I keep getting an error when i try to run your example app. This is the error message I get :
clang: error: no such file or directory: '/Users/isaacshiffman/Downloads/drupal-ios-sdk-example-master 2/MBProgressHUD/MBProgressHUD.m'
clang: error: no input files
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1
Can someone point me in the right direction I cant find the MBProgressHUD files
dear's
i want to really thank you for this example its a great tool to understand the process .
but how can i use it if the web site I'm using requires http authentication . ??
the url like " http://username:[email protected]
i found inside the code
NSString *fixedURL = [self baseURLforAddress:url];
so you remove the credentials from the url
and this : NSData *body = [request HTTPBody];
returns nil . so how can i authenticate with my website ?????
Apart from a minor bug in the IBOUtlet connections which i fixed (basically the textboxes were mixed up - no biggy) I can't seem to add body to my article.
Site config is 7.x w/ Services 3.x. Any ideas?
Hi,
I just cloned a version of the example.
After running it in xcode, I get an error:
clang: error: no such file or directory: '/Users/marmul1d/Desktop/ios_test/2/drupal-ios-sdk-example/Drupal Questions/../AFNetworking/../../gardens-mobile/Drupal Gardens/AFNetworking/AFImageCache.m'
I think something went wrong in the sub-module
in class ViewsViewController.m, the getView method doesn't work. I managed to make it work by using [views viewsGet:[viewNameField text]]; instead of [views runMethod]; but I don't know if it's the right way. Will arguments work this way? Not sure.
"Get"ting views from the example app (v7) didn't work from the original source (with services views module.) It would say "404 Not found: Could not find the controller."
Changing the ViewsViewController.m getView method's call of "[views runMethod];" to "[views viewsGet:[viewNameField text]];" works and will do gets for the specified view name but seems to ignore the other arguments now. Any thoughts/ideas?
Thanks very much!
I'd love to try running this app against a real site to test it out. Is there an install profile, feature, or even just a .sql dump that a working site I can stand up and run this against?
Hi,
Could you update the example with your last drupal iOS Sdk ?
Best regards,
I'm trying to use the nodeDelete.
I configured my node with the good nid like this :
DIOSNode *node = [[DIOSNode alloc] init];
NSMutableDictionary *nodeData = [NSMutableDictionary new];
[nodeData setValue:[@"73" forKey:@"nid"];
[node nodeDelete:nodeData success:^(AFHTTPRequestOperation *operation, id responseObject) {
NSLog(@"node note delete success");
}failure:^(AFHTTPRequestOperation *operation, NSError *error) {
NSLog(@"%@",[error description]);
}];
[node release];
But this always returned an error :
Error Domain=com.alamofire.networking.error Code=-1011 "Expected status code in (200-299), got 401" UserInfo=0x3f6070 {NSErrorFailingURLKey=http://indev3.theingroup.fr/api/node/73?nid=73, NSLocalizedDescription=Expected status code in (200-299), got 401}
I don't know why. In addition, in my Services 's drupal site, delete operation is authorized.
Could someone help me ?
Best regards,
JC
Hello~
I follow the Demo Setup's video, when I save the node. Appear error message... : Node type is required.
What should I do?
Thanks.
Hello, thanks for the great resources.
Following the steps in the video for the example, when I enter a user's info and hit login, it appears to work and it shows the proper user data in the response status. But after that when I try to perform other actions it says "Unauthorized: Access denied for user anonymous," even when I try to login as admin, or if I click logout it says "Not Acceptable: User is not logged in." So I'm not sure why the connection is not actually getting established.
Appreciate any advice or suggestions, thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.