• 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: Extracting info from notification
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Extracting info from notification


  • Subject: Re: Extracting info from notification
  • From: Theodore Petrosky <email@hidden>
  • Date: Sat, 13 Sep 2003 06:18:08 -0700 (PDT)

John,

did you try:

- (void)textDidEndEditing:(NSNotification
*)aNotification
{
NSLog(@"%@_aNotification", [[aNotification
object] stringValue]);
return; //I don't understand why you are
returning here?
}

Ted

original message ----------------
Date: Fri, 12 Sep 2003 21:31:02 -0700
Subject: Extracting info from notification
From: John MacMullin <email@hidden>
To: email@hidden

I have an NSTableView in which I am getting a
notification after
editing in the table view. After processing the
notification with a:

- (void)textDidEndEditing:(NSNotification
*)aNotification
{
NSLog(@"%@_aNotification", [aNotification
object]);
return;
}

I get from the NSLog:

2003-09-12 21:17:43.053 GLASS[2214] <NSTextView:
0x1446050>
Frame = {{1.00, 1.00}, {103.00, 17.00}}, Bounds =
{{0.00, 0.00},
{103.00, 17.00}}
Horizontally resizable: YES, Vertically
resizable: YES
MinSize = {103.00, 17.00}, MaxSize = {10000.00,
10000.00}
_aNotification

I have tried a number of methods and can't seem to get
to the data
which I am assuming is in the NSTextView. Which
method gets the data
back to me?

John

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Converting web data to Strings - taking into account the original encoding
  • Next by Date: How do I debug an autorelease crash?
  • Previous by thread: Re: Extracting info from notification
  • Next by thread: NSData to NSString following resourceDataDidBecomeAvailable:
  • Index(es):
    • Date
    • Thread