• 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
Re: Help with "Messages without a matching method signature..." issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help with "Messages without a matching method signature..." issue


  • Subject: Re: Help with "Messages without a matching method signature..." issue
  • From: Steve Bird <email@hidden>
  • Date: Tue, 22 Jul 2008 15:35:57 -0400


On Jul 22, 2008, at 3:28 PM, Brad Gibbs wrote:



Below is the offending code:

Class 1 - This class provides IBActions, each of which calls the sendMSG: toPort: method of Class 2. The arguments for the methods in this class are used to construct NSStrings in Class 2.
Class 2 - The arguments sent from a button in Class 1 provide two strings, which are used to compose a new NSString, which is sent to another device on the network.



@interface Class1 : NSObject { } - (IBAction)powerOn:(id)sender;


@implementation Class1

- (IBAction)powerOn:(id)sender {
	[Class2 sendMSG:@"P1P1" toPort:@"1"];


--- Where's the closing brace here?



@interface Class2 : NSObject { }

- (NSString *)sendString:(NSString *)stringToSend;
- (void)sendMSG:(NSString *)string toPort:(NSString *)port;




----------------------------------------------------------------
Steve Bird
Culverson Software - Elegant software that is a pleasure to use.
www.Culverson.com                     (toll free) 1-877-676-8175


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Help with "Messages without a matching method signature..." issue
      • From: Brad Gibbs <email@hidden>
References: 
 >Help with "Messages without a matching method signature..." issue (From: Brad Gibbs <email@hidden>)

  • Prev by Date: Help with "Messages without a matching method signature..." issue
  • Next by Date: Re: NSbuttonCell's Bound Title Misbehaving
  • Previous by thread: Help with "Messages without a matching method signature..." issue
  • Next by thread: Re: Help with "Messages without a matching method signature..." issue
  • Index(es):
    • Date
    • Thread