I don't have your Obj-C program here, but I can get two lots of text from the user and store them in two separate variables like this, so I presume you can pass both variables to your Obj-C, can't you?
Maybe seeing this will help someone else understand what you are trying to do...