Re: NSTextView to replace NSTextList confused
Re: NSTextView to replace NSTextList confused
- Subject: Re: NSTextView to replace NSTextList confused
- From: Nathan Kinsinger <email@hidden>
- Date: Sun, 29 Jun 2008 15:51:27 -0600
On Jun 29, 2008, at 1:58 PM, Papa-Raboon wrote:
Hi Kyle and thanks for responding. I am not sure what part of the
documentation you refer to when you say cocoa text system but I
started reading about NSTextView and NSText and to be honest until I
get more familiar with cocoa and everything clicks into place the
documentation seems very confusing and tends to assume previous
programming knowledge and a good understanding of the nuances of this
sort of code. I have dabbled with other languages but the only
language I managed to get a good understanding of was PHP. Cocoa seems
a lot more disciplined in it's structure to me than PHP which is very
forgiving indeed.
So at the moment people have been kindly telling me what to do to
achieve each little bit of my project that I don't understand and I
have been figuring out bits myself along the way. this method seems to
work best for me as I have started to figure out more and more without
help. So I think I understand what you mean about not using NSString
with an NSTextView but if you fancy throwing together a couple of
lines of code so I can see visually how it's done then I think I will
have a better chance of understanding it eventually.
If you don't have time to then I understand totally. I am sure newbies
like me can be a little demanding at times :-)
Thanks
Paul
If you look in the upper left corner of the NSTextView or NSText
documentation page you will see a box labeled "NSText[View] Class
Reference", at the bottom of that box is a section labeled "Companion
Guide" and in there is a link to Text System Overview, which is the
doc that Kyle is referring to. You should probably read most of it,
but especially read the "Building a Text Editor in 15 Minutes" chapter
which has sample code that should do what you need or at least get you
in the right direction.
If you are just learning Cocoa then you should really start with the
Cocoa Fundamentals Guide:
http://developer.apple.com/documentation/Cocoa/Conceptual/CocoaFundamentals/Introduction/chapter_1_section_1.html
or a Cocoa programming book.
--Nathan
_______________________________________________
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