Hi,
I have problem controlling a NSScrollView.
As usual, a custom view is embedded in the scroll view.
>From the user interface, subviews can be added or deleted to the custom view,
>making it larger or smaller - in height only.
When a subview is added or deleted, the scroll view then decides
Thanks, this was very helpful.
Anders
On May 29, 2010, at 4:29 PM, Fritz Anderson wrote:
> On 29 May 2010, at 9:20 AM, Anders Sommer Lassen wrote:
>
>> Should I use a custom class that derives from NSObject and make an instance
>> of this in my nib?
>
> Yes.
>
&
Hi,
I am working on an application that use several custom sheets or dialogs.
I have read most documentation about this, but I am still a bit confused on how
to do this in a simple and standardized way.
Most of the documentation explains how to add a panel to the main nib file, and
how to get
Hi,
I am working on a small project, which is about inserting a horizontal line
into a NSTextView.
My first solution is to subclass NSAttachmentCell, and let the custom class do
the drawing. I am here neglecting that an attachment would normally have a file
or an image embedded (attached).
Th
Thanks, I think this was helpful.
On May 13, 2010, at 6:02 PM, Kyle Sluder wrote:
> On Thu, May 13, 2010 at 8:38 AM, Anders Sommer Lassen
> wrote:
>> Now, I think that I will have to override some methods in the two classes
>> you mentioned to get the resize handles visible.
AM, Chaitanya Pandit wrote:
> NSTextView by default won't allow you to resize the media objects, these
> media objects are actually NSTextAttachments displayed in
> NSTextAttachmentCells.
>
> Thanks,
>
> Chaitanya
>
> On May 12, 2010, at 10:27 PM, Anders Sommer L
Hi,
I want to embed graphics and images in a NSTextView, and hopefully support
resizing of these embedded object.
So far, I can embed an image object in my NSTextView, but I cannot figure out,
how to make editing of the object possible.
The NSTextView has a property called:
-(void)setAllowsIm
Hi,
I have problem adding frameworks to standard Cocoa Application projects.
When I add a framwork the header files are not included. That is,
there is no header folder beneath the framework icon.
This is very odd, because when I read documentation and search on the
internet, I can see tha