• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
passing 2 parameters
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

passing 2 parameters


  • Subject: passing 2 parameters
  • From: droom departement <email@hidden>
  • Date: Sun, 06 Nov 2011 17:54:54 +0100

I'm calling a method from another class and like to pass multiple parameters.
Passing 1 parameter is no problem, adding the second one turns out in a 

-[dbViewController insertToDB01:p2:]: unrecognized selector sent to instance 0x2000c18a0

2011-11-06 17:40:28.540 myLittleBook[2083:a0f] *** -[imageSorting hStoreText:]: -[dbViewController insertToDB01:p2:]: unrecognized selector sent to instance 0x2000c18a0 (error -10000)


my code snippit:

on hStoreText_(sender)

tell class "NSString" of current application to set test1 to its stringWithString_(test1Str)

tell class "NSString" of current application to set test2 to its stringWithString_(test2Str)


tell myRefToSQLObj to insertToDB01_p2_(test1, test2)

end hStoreText

called method

-(void) insertToDB01:(NSString *) fieldValue0:(NSString *) fieldValue1 {


NSLog(@"phase1");

}


can anyone help me ?



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: passing 2 parameters
      • From: Evan Schoffstall <email@hidden>
    • Re: passing 2 parameters
      • From: Evan Schoffstall <email@hidden>
  • Next by Date: Re: passing 2 parameters
  • Next by thread: Re: passing 2 parameters
  • Index(es):
    • Date
    • Thread