Questions tagged [nsimagecell]

14 questions
8
votes
2 answers

Why are my images in my NSTableView faded out?

To start, there's an NSArrayController ("Servers") whose content is an array of "server" objects. I also have an NSTableView with a column. The column is bound to Server's "arrangedObjects.status" property. I use a custom NSValueConverter to make…
Michael Bishop
  • 4,240
  • 3
  • 37
  • 41
8
votes
1 answer

NSImage has opacity when used with NSValueTransformer

I am trying to show an NSImage depending on a enum value from out of Core Data. I am using a Value Transformer on an NSImageCell bound to the value on which I choose the image to show. It works perfectly and as intented, unfortunetaly when using the…
phikes
  • 565
  • 5
  • 13
3
votes
0 answers

How can I vertically centre the NSImageCell inside a NSImageView

I have a NSImageView which dynamically displays an image. I'd like the image to be vertically centred in the image view's bounds. How can I achieve this? I think the code I've written makes sense, but NSImageAlignment doesn't seem to have any…
glenstorey
  • 5,134
  • 5
  • 39
  • 71
2
votes
0 answers

How to make a selectable image in a NSTextView?

I am working on an application which performs some mathematical calculations and sends the results ( including texts and graphs) into a NSTextView. This code works fine in making the output but this is the problem: I want that user can…
Aug
  • 595
  • 9
  • 22
1
vote
3 answers

NSImageCell: Set ToolTip

I'm trying to show a tooltip on the mouse hover at a NSImageCell. I've tried setting the property on Interface Builder (both on the NSImageCell and the NSTableColumn that contains it) but it didn't work. Any ideas?
mikywan
  • 1,495
  • 1
  • 19
  • 38
1
vote
1 answer

NSImageCell change image problem

I'm working on an app that shows a list of data on an OutlineView. The controller receives notifications that tells it to change the image of the status NSImageCell of a row. The problem is that I couldn't managed to refresh the cell on the row of…
mikywan
  • 1,495
  • 1
  • 19
  • 38
1
vote
1 answer

different tooltip for each image in NSTableView

I have a NSTableViewwith a NSImageCellin it. I would like to add a tooltip that when I hover the image with the mouse i get a tooltip with the Path of the image. What is the best way to do this? the problems I have are these: retrive the path of…
sharkyenergy
  • 3,842
  • 10
  • 46
  • 97
1
vote
1 answer

Rotating an NSImageCell

I'm working on a project where I have a large NSMatrix of NSImageCells. I need to rotate specific individual Images in their cells (or even just rotate the cells themselves since it will look the same way). Every cell and image is a 40x40 square, so…
user1348813
0
votes
1 answer

NSDictionaryController and image

I am referring to this example code. I am trying to display image in the first column at where lastName is displaying, but unfortunately I can't.
iUser
  • 1,075
  • 3
  • 20
  • 49
0
votes
1 answer

NSImageCell rotation animation

I need to animate an NSImageCell on an NSOutlineView. I want it to look as the Sync Icon next to the device on iTunes. Any ideas?
mikywan
  • 1,495
  • 1
  • 19
  • 38
0
votes
2 answers

Core Data Image Won't Load Into NSTableView Image Cell

In my code I am storing an image into my Core Data model (works fine). If I set up my view to have an NSImageView and bind its Data to Controller Key: selection and modelKeyPath: myImagePath, it works. It will show each image for the selected row. I…
jcady
  • 168
  • 1
  • 9
0
votes
1 answer

Inserting image into NSTableView using bindings

I've an NSTableView bound to an NSArrayController with two columns. One column is bound to the arranged objects of the array controller and displays a string. I'd like to display an image in the other column, but I just can't make it work. I've…
ruipacheco
  • 15,025
  • 19
  • 82
  • 138
0
votes
1 answer

Creating NSMatrix of NSImageCells

I need to create an NSMatrix with NSImageCells bound to an array controller. So the content of the NSMatrix is bound to an NSArray (so there are as many NSImageCells in the matrix as there are objects in the array), then the image path of the…
indragie
  • 18,002
  • 16
  • 95
  • 164
0
votes
0 answers

Loading an image from AWS S3 bucket as a thumbnail

My Mac OSX app uploads images from the mac to AWS S3. I'm trying to load a table of images from files on the AWS S3 bucket. I don't want to download the image on the desktop PC but just load it as a thumbnail on the NSTableView for viewing. Is…
DesperateLearner
  • 1,115
  • 3
  • 19
  • 45