0

I would like to know how to populate a Cocoa Table View (in objective-c) for Mac Os with MySql Data relayed with php.
For instance,
I would output all the values from the database to a php file called outMac.php
I would then like the Cocoa application to harvest the data and put it in the table...
Does anyone know how to do this.
I can't seem to find this anywhere.
Thanks in advance.

1 Answer 1

1

Basically I could see 2 options : 1) you can call an php url that generates an xml or json output that you interpret in your objective-C code, this would then just men you're calling a url and read the php's echos 2) you can go for the full scale web service as in soap (check http://www.devx.com/wireless/Article/43209/0/page/1), this is much more secure on the server side but requires probably a bit more work

Once you've got the data in an array it is pretty straightforward to output on a table view. I'm not sure which level of information you're looking for but this would be the outline.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.