Hi Apparao,
does the tableview use a custom cell? If so, i suggest you look into overriding
- (int)hitTestForEvent:(NSEvent *)event inRect:(NSRect)cellFrame
ofView:(NSView *)controlView
Don't know if that will solve your particular issue but it's worth a try.
Best,
Florian.
On 01 Dec 2011,
Hi list,
i've seen this discussion before around 2006 but found no relevant answer, here
goes:
We have a Foundation tool which adds annotations to a pdf and saves the pdf to
disk again.
We use the PDFKit classes for that.
Now, when processing a pdf that has pdf-version 1.5 (Created from InDesi
avior also?
On 14 Jun 2010, at 13:47, jonat...@mugginsoft.com wrote:
>
> On 14 Jun 2010, at 12:28, Florian Soenens wrote:
>
>> Then my NSTextField is a subview of my custom view but still displays with a
>> background, that's the behavior i don't want.
>> C
Then my NSTextField is a subview of my custom view but still displays with a
background, that's the behavior i don't want.
Can this be fixed somehow?
On 14 Jun 2010, at 12:03, jonat...@mugginsoft.com wrote:
>
> On 14 Jun 2010, at 10:54, Florian Soenens wrote:
>
>> H
Hi Jens,
thanks for the answer.
If you drag an NSTextfield on your custom view in Interface Builder, doesn't it
become a subview automatically?
On 11 Jun 2010, at 19:03, Jens Alfke wrote:
>
> On Jun 11, 2010, at 7:04 AM, Florian Soenens wrote:
>
>> When i put
Hi list,
here's a question about using NSControl objects on a custom view.
I have a couple of custom NSView that draw a gradient or a background pattern
etc...
When i put default buttons or a NSSearchfield or a NSProgressindicator on top
of my custom view, the subitems display a background.
For
insoft.com
>
>
>
>
>
>
> On 4 Mar 2010, at 10:31, Florian Soenens wrote:
>
>> No bindings, not even the enabled binding.
>> I was even wondering if it is uberhaupt possible to select multiple cells in
>> a NSSegmentedControl?
>>
>> On 0
No bindings, not even the enabled binding.
I was even wondering if it is uberhaupt possible to select multiple cells in a
NSSegmentedControl?
On 04 Mar 2010, at 10:43, jonat...@mugginsoft.com wrote:
>
> On 4 Mar 2010, at 09:28, Florian Soenens wrote:
>
>> Hi List,
>>
Hi List,
i googled this but found nothing relevant.
I want a segmented control with 6 cells that instead of acting like radio
buttons, they should act as checkboxes, that is, multiple cells should be
selected.
I tried to set the mode to "select any" in IB but no no avail.
Also tried setting the
Hi LIst,
i set up an NSPredicateEditor and got it all working fine except that
it only executes when i hit enter or tab out of the NSTextField.
Is there a way to let it execute everytime something changes in the
textfield?
I tried checking the "continuous" button in IB but that is impossibl
Joshua,
you are only setting the frames of your views but you never add
secondView as a subview of your window.
Florian.
On 04 Jan 2010, at 14:16, Joshua Garnham wrote:
I know there are tutorials
like Marcus Zarras which shows how to change from one view to another,
but I would like to ani
Hi list,
i googled this but found nothing relevant.
Is it possible to invoke or access the effects view of the
[IKImageEditPanel sharedImageEditPanel]?
What i would like to do is add this effcets view to my own custom
view, in other words i don't want it to be in its own HUD panel.
Is this
"Mike Abdullah"
wrote:
>
>On 25 Nov 2009, at 14:06, Florian Soenens wrote:
>
>> Hi Thomas,
>>
>> thanks for the reply, i did try the first method you suggest with adding a
>> layer but it didn't work either.
>> I also tought of the second
you can either:
- make the view layer backed and add a sub-layer
- add an overlay transparent window on top of the image browser view
- add an overlay layer with setForegroundLayer: (that's the easiest
solution but it is SnowLeopard only).
-- Thomas
On Nov 25, 2009, at 2:34 PM, Florian
Hi list,
i'm trying to override an IKImageBrowserView to do some custom drawing but i'm
stuck.
What i try to accomplish is that when the view contains zero items, some custom
drawing happens like drawing an NSAttributedString that says "Drop items
here..."
Problem is that my drawing code gets n
http://www.google.com/search?client=safari&rls=en-us&q=cocoa+get+pixel+rgb+value&ie=UTF-8&oe=UTF-8
Florian.
On 25 Sep 2009, at 09:12, Symadept wrote:
Hi Graham,
I tried to display the RGB spectrum as an image in the view. How can
I pick
particular pixel color from that image. Does it make s
e.
Thanks,
Florian.
On 02 Sep 2009, at 17:34, Corbin Dunn wrote:
You should see the source list example on the dev site.
are you implementing the isGroupRow method and returning YES? You
need to do that for the group/title rows.
corbin
On Sep 2, 2009, at 2:41 AM, Florian Soenens wrote:
Hi
Hi list,
in our app i implemented an NSOutlineView set to SourceList in IB.
I implemented the datasource method to set the group items etc but my
group items (the ones in uppercase like mail.app, iTunes etc...) don't
look exactly like the ones seen in the other Apple apps.
What i mean is, the
Hi Brian,
you seem to only check for gameScoresTableView and
playerManagementTableView.
Are your Controller outlets actually connected to these 2 NSTableViews?
Regards,
Florian.
On 06 Jul 2009, at 20:14, Brian Hughes wrote:
Hi,
I have two tableViews in my application. One works perfectly
You will have to do it programmatically but it's pretty easy stuff.
This should do the trick nicely:
-(void)drawBackgroundPattern
{
// Suppose backgroundPatternImage is a valid reference to your
pattern image
NSRect rect = [self frame];
float width = rect.siz
Hi Frederik,
Have you tried wiring your window to an IBOutlet of your Controller
and displaying it with [window makeKeyAndOrderFront:nil]; ?
This works for me anyway.
HTH,
Florian.
On 10 Jun 2009, at 16:07, Frederik Slijkerman wrote:
Hi all,
I'm trying to make a Photoshop plugin with a C
This example should get you somewhere...
http://developer.apple.com/SampleCode/Reducer/listing6.html
Especially, take a look at the CollapsibleBox class.
Regards,
Florian.
On 23 Mar 2009, at 08:54, Ankur Singhal wrote:
Hi Kyle,
Sorry for not clearing my doubt completely.
I have created an ic
f you don't pass it, it maxes out at
5000 pixels.
Perhaps there are other solutions to our goal but i think they will be
slower.
Kind regards,
Florian.
On 27 Feb 2009, at 20:27, David Duncan wrote:
On Feb 27, 2009, at 1:12 AM, Florian Soenens wrote:
i'm trying to use this functio
Hi list,
i'm trying to use this function in one of our tools and we noticed
that it maxes out at 5000 pixels.
We are feeding it a 400 dpi jpg of 9355 by 13243 (A1) with the
following props:
NSDictionary* thumbOpts = [NSDictionary dictionaryWithObjectsAndKeys:
(id)kCF
You're right!
Don't know why i didn't think about that myself... ;-)
Txs.
On 26 Jan 2009, at 11:37, Jean-Daniel Dupas wrote:
Le 26 janv. 09 à 11:29, Florian Soenens a écrit :
Hi list,
i'm working on a 10.4+ app and i use some icon templates like
NSPreferencesGeneral
Hi list,
i'm working on a 10.4+ app and i use some icon templates like
NSPreferencesGeneral, NSUser, etc...
The problem is that something like [toolbarItem setImage:[NSImage
imageNamed:@"NSPreferencesGeneral"]] only works on 10.5+
My question is, does anyone know the location these icons on
selectionIndexes] description]);
}
The log displays different indexes like it should, so i assume that
IKImageBrowserView could have a bug in it's bindings.
PS: is it enough to just bind the IKImageBrowserView to Controller Key
@"arrangedObject" without a Model Key Path?
On 13 Nov 2008, at
]);
}
Any ideas?
On 13 Nov 2008, at 11:10, Quincey Morris wrote:
On Nov 13, 2008, at 01:29, Florian Soenens wrote:
- (void) imageBrowserSelectionDidChange:(IKImageBrowserView *)
aBrowser
{
NSLog([[arrayController selectedIndex] description]);
}
The problem is that the NSArrayControl
Hi list,
i have an IKImageBrwoserView bound to an NSArrayController of objects.
The objects all conform to the IKImagebrowserItem protocol.
When running my application, all the images display correctly in the
browser view, this al works fine, BUT:
In the IKImageBrowserDelegate, i implemented
Hi list,
i am new to bindings (not Cocoa) and i set up a simple NSOutlineView
bound to an NSTreeController.
I created a simple plist file with a tree structure and load that in a
NSMutableDictionary at awakeFromNib:
The purpose is that my NSOutlineview gets populated immediately at
startu
Stupid me!
Thanks for the responses, works fine now...
On 18 Sep 2008, at 11:33, Thomas Davie wrote:
On 18 Sep 2008, at 11:18, Florian Soenens wrote:
Hi list,
anyone knows why in this simple piece of code, the method testTimer
is only called once and not every 2 seconds?
Thanks in
Hi list,
anyone knows why in this simple piece of code, the method testTimer is
only called once and not every 2 seconds?
Thanks in advance;
Florian.
#import "Controller.h"
@implementation Controller
-(void) awakeFromNib
{
NSLog(@"Creating NSTimer");
timer = [[NSTimer timerWithTim
Hi list,
i created a plugin for another application (Indesign CS3)
I was able to implement a Cocoa interface following the guidelines in
http://developer.apple.com/documentation/Cocoa/Conceptual/CarbonCocoaDoc/CarbonCocoaDoc.html
Everything works fine except that my utility window stays visible
Maybe if the log is written to a file, you can read in that file.
But that won't be "real-time" logging of course.
Regards,
Flor.
On 14 Apr 2008, at 16:49, Keary Suska wrote:
on 4/14/08 8:26 AM, [EMAIL PROTECTED] purportedly said:
Re-read my message. If it was unclear, what I want to do is be
14:37, Florian Soenens wrote:
Sorry to bother again, i mixed two pieces of code, here's my error
output:
2008-02-27 14:35:04.055 ThumbNailFixedWidthLine[28467:10b] ***
Terminating app due to uncaught exception
'NSInternalInconsistencyException', reason: 'Error (1002) cr
3692,
11194,
9054,
8837
)
Trace/BPT trap
I'm desperate, because everyting seems fine in my code.
On 27 Feb 2008, at 14:06, Antonio Nunes wrote:
On Feb 27, 2008, at 1:45 PM, Florian Soenens wrote:
The source pdf does display correctly in Preview and i'm using
Leopard.
you help me out?
Txs,
Florian.
On 27 Feb 2008, at 11:33, Antonio Nunes wrote:
On Feb 27, 2008, at 10:32 AM, Florian Soenens wrote:
i don't understand why this simple code is not working:
PDFDocument *pdfDocument = [[PDFDocument alloc]
initWithURL:inputurl];
PDFPage *currentPage = [
Hi list,
I need to load a (multipage) pdf and convert every page to jpg and
save to disk.
i don't understand why this simple code is not working:
PDFDocument *pdfDocument = [[PDFDocument alloc] initWithURL:inputurl];
PDFPage *currentPage = [pdfDocument pageAtIndex:i];
NSImage *image = [[NSIma
38 matches
Mail list logo