• 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 loading file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: help loading file


  • Subject: Re: help loading file
  • From: simone gabbriellini <email@hidden>
  • Date: Fri, 4 Mar 2005 15:32:27 +0100

thank you for help,
but now I have another trouble:

NSData is filled with setData
NSTextView is filled by what? setString doesn't work

thanks again,
simone

Il giorno 04/mar/05, alle 14:51, James McConnell ha scritto:

On 3/4/05 7:20 AM, "Anish Kumar" <email@hidden> wrote:

Hi

I think the problem is in this part of the code...

[messaggioInvito setString:[[temp messaggioInvito] string]];

The correct code is....

[messaggioInvito setString:[[self messaggioInvito] string]];


because the method "messaggioInvito" is declared in the file in which you are
calling it, so you have to use "self".


The error "selector not recognized" comes only when you try to call a method
that doesn't exists or that doesn't belong to the object for which you are
passing.



Hope this helps.

regards,
Anish
Software Engineer
http://www.qubyx.com/

That's most likely it. Also make sure that your NSTextView is Editable. If
you set it to be uneditable in IB, you have to do this:


[messaggioInvito setEditable:YES];
[messaggioInvito insertText:[[self messaggioInvito] string]];
[messaggioInvito setEditable:NO];

Just to make sure that you can actually insert text. I got bit by that in a
recent project, thought I'd throw it out there.


James

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


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: help loading file
      • From: simone gabbriellini <email@hidden>
References: 
 >Re: help loading file (From: James McConnell <email@hidden>)

  • Prev by Date: Re: affine transformation of bitmap images
  • Next by Date: Re: help loading file
  • Previous by thread: Re: help loading file
  • Next by thread: Re: help loading file
  • Index(es):
    • Date
    • Thread