nsimageview Questions
8
Solved
So I am used to UIImageView, and being able to set different ways of how its image is displayed in it. Like for example AspectFill mode etc...
I would like to accomplish the same thing using NSIma...
Spoon asked 11/4, 2014 at 2:52
4
I'm trying to display a simple NSImageView with it's image centered without scaling it like this:
Just like iOS does when you set an UIView's contentMode = UIViewContentModeCenter
So I tried al...
Laminated asked 6/12, 2012 at 18:36
4
I've got an NSImageView that takes up the full extent of a window. There's no border to the image view, and its set to display in the lower left. So this means that the origin of the view matches t...
Oneupmanship asked 29/7, 2012 at 18:41
2
Solved
Currently now i want to create a round corner NSImageView,i am a newb,how to ?
Formalize asked 14/1, 2011 at 2:41
8
Solved
I wish I would find an answer for this. I have searched and searched and couldn't the right answer. Here is my situation:
In a Mac OS Cocoa Application, I want to draw a pixel (actually a few pixe...
Abductor asked 4/12, 2010 at 23:33
4
Solved
I created a subclass of NSImageView to capture mouseEntered and mouseExited events.
But only mouseUp and mouseDown events are getting called. How to capture the mouseEntered and mouseExited events ...
Gigigigli asked 25/6, 2012 at 10:58
3
I have some NSImageView in my Mac App where the user can drag'n drop objects like .png or .pdf, to store them into User Shared Defaults, that works fine.
I would now like to set an action for when...
Krystalkrystalle asked 19/12, 2012 at 21:18
2
Solved
I have subclasses NSImageView and i want to draw a border around with rounded corners. It works but i need to clip off the image corners as well.
Please see my screenshot:
I have created this c...
Sainthood asked 4/3, 2012 at 10:54
7
Solved
I have an NSImageView which I get an image for from an NSOpenPanel. That works great.
Now, how can I take that NSImage, half its size and save it as the same format in the same directory as the or...
Roller asked 10/3, 2011 at 19:43
1
Solved
I needed to implement the following code in my image view to make a gif properly animate:
self.homeView.radarImageView.animates = YES;
self.homeView.radarImageView.canDrawSubviewsIntoLayer = YES;
...
Groveman asked 19/7, 2014 at 1:22
4
Solved
I have a NSImageView which loads an image from the application bundle.
It is setup as such:
coverImage.image = [NSImage imageNamed:@"themeSignEnd.png"];
coverImage.imageScaling = NSImageScaleNone...
Natal asked 12/8, 2011 at 19:37
1
Solved
I need to display NSImageView on resizable NSWindow. The image displayed in the view should scale down if it's too big to fit image view in the widnow and it should also change its size when resizi...
Propjet asked 19/11, 2013 at 18:1
2
Solved
It seems that if I create an NSImageView in code, there is no way to have the image automatically scale proportionally up if the NSImageView becomes bigger than the image itself. (an odd omission)
...
Makeyevka asked 6/11, 2013 at 18:33
2
Solved
I've studied Apple's example: CocoaDragAndDrop. I understand how to drag a image to NSImageView and drag an image between views. However, I still don't known how to drag an image and save it to a f...
Amii asked 16/10, 2011 at 2:34
1
Solved
I have requirement like this,
Have One NSIMageView and which will be changing frequently on the timer basis, On resizing, it needs to maintain the aspect ratio, so Image may not occupy the entire...
Sacttler asked 29/7, 2011 at 7:38
0
I'm using an NSImageView to display an animated GIF with around 80 frames, each frame being 20ms long. NSImageView can display the GIF animation right 'out of the box', but the problem is that it n...
Denunciate asked 11/4, 2011 at 20:43
1
I have an NSBox containing two static text fields and two NSImageView.
NSBox is subclassed as myNSBox.
I have registered the view/NSBox to accept appropriate drag types.
So when i drag items t...
Montherlant asked 14/2, 2011 at 20:52
2
Solved
I want to switch the image shown in an NSImageView, but I want to animate that change. I've tried various methods to do this. Hopefully one of you could suggest one that might actually work. I'm wo...
Dre asked 8/5, 2010 at 22:27
1
© 2022 - 2024 — McMap. All rights reserved.