Re: Initializing Subclass of NSTextContainer
Re: Initializing Subclass of NSTextContainer
- Subject: Re: Initializing Subclass of NSTextContainer
- From: David Carlisle <email@hidden>
- Date: Wed, 31 Jan 2007 11:58:08 -0700
I misunderstood your original message.
If I were you, since the error message indicates that the system was
unable to find a textView method in your EDDynamicArray class, I
would temporarily implement a textView message in that class, put a
breakpoint in it, then use the debugger to find where the call is
coming from.
On Jan 30, 2007, at 9:58 PM, Gordon Apple wrote:
Why would I need a coder? I don't see anything in the NSData or
NSMutableData docs that indicates I have to have a coder.
(Inclusion of
NSCoding Protocol, maybe?) I create it with [NSMutableData
dataWithCapacity:256] which is supposed to return a new NSMutableData
object. All the calls I need for my dynamic array seem to be
available in
the basic calls for NSMutableData.
Would AwakeFromNib imply a call to initWithCoder, rather than to
init?
- (id) initWithCoder:(NSCoder *)decoder {
}
On Jan 29, 2007, at 3:53 PM, Gordon Apple wrote:
which didn't help. In the subview of NSTextView in AwakeFromNib,
I replace
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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