Questions tagged [ikimageview]

45 questions
1
vote
0 answers

IKImageView get image frame

I can change position of Image inside IKImageview and also I change image, when next button is clicked , but postion of Image is reseted.... I need to get information about old position of the Image , but haven't found any solution yet. Here is code…
Nininea
  • 2,671
  • 6
  • 31
  • 57
1
vote
0 answers

IKImageBrowserView example?

Are there any examples how to use IKImageBrowserView in Swift? So far I think it works a bit like the implementation of an UITableView on iOS. It needs a method to tell it how much items it should display and another method returning those items at…
aliks123
  • 11
  • 5
1
vote
2 answers

Another IKImageView Question: copying a region

I'm trying to use the select and copy feature of the IKImageView. If all you want to do is have an app with an image, select a portion and copy it to the clipboard, it's easy. You set the copy menu pick to the first responder's copy:(id) method and…
Brian Postow
  • 11,709
  • 17
  • 81
  • 125
1
vote
1 answer

IKImageView and scroll bars

I have an NSScrollView with an IKImageView inside to display images. This seems to work. However, if I make the window smaller than the image, the scrollbars appear as they should, but the BOTTOM of the image is locked to the bottom of the window,…
Brian Postow
  • 11,709
  • 17
  • 81
  • 125
1
vote
1 answer

Need to get the position of mouse pointer when release

I am using IKImageView for the functionalities of Image. - (IBAction)switchToolMode: (id)sender { // switch the tool mode... NSInteger newTool; if ([sender isKindOfClass: [NSSegmentedControl class]]) newTool = [sender…
KethanKumar
  • 716
  • 5
  • 17
1
vote
0 answers

Getting current mouse pointer position in IKImageView

I am using IKImageView to display the image. I need to add a note when releasing the mouse pointer that has shown in below image. How can i get the x and y position when i release the mouse after drawing? when i click the draw function "[_imageView…
Nithinbemitk
  • 2,710
  • 4
  • 24
  • 27
1
vote
2 answers

Image from WebView dragged onto IKImageView

I have WebView where I load content of webarchive. In the same view I have IKImageView outlet. Image drag n drop from web view onto image view doesn't work for me. What is weird, it works when I drag photo e.g. from iPhoto onto the same image…
Piotr Byzia
  • 3,363
  • 7
  • 42
  • 62
1
vote
1 answer

Does the IKImageView imageCorrection property work?

IKImageView offers an 'imageCorrection' property, which takes a CIFilter and, presumably, uses it when displaying the image. When I tried using it recently, it didn't work for me. When I set the property to a new CIFilter instance, it remains…
user185846
1
vote
2 answers

IKImageView properties not being set in Interface Builder

I have a IKImageView in Interface Builder and have set the background color to red but it doesn't work when the app is run, it just stays gray. I created a brand new Cocoa (OS X) project in Xcode 4.5 with the Cocoa Application template. Added the…
lmirosevic
  • 15,787
  • 13
  • 70
  • 116
0
votes
1 answer

IKImageBrowserView not loading images

I'm using an IKImageKitBrowserView and can't get it to display anything. My NSScrollView is also not showing scroll bars in the nib or when running the app. I did the connection binding properly for IKImageBrowserView and IKImageView, and I have…
Sadanand
  • 1,080
  • 3
  • 13
  • 30
0
votes
1 answer

How To Add A Folder Of Images To IKImageBrowserView

How do I add a folder of images to be displayed in an IKImageBrowserView? Thanks
foobar5512
  • 2,470
  • 5
  • 36
  • 52
0
votes
0 answers

IKImageView move tool not working in Mojave

My app Plumb-Bob is based on the IKImageViewDemo: https://developer.apple.com/library/archive/samplecode/IKImageViewDemo/Introduction/Intro.html#//apple_ref/doc/uid/DTS10004049 I compile it for MacOS 10.10+ and in my tests I noticed that the "move…
Paolo
  • 1
  • 3
0
votes
1 answer

Resize an IKImageView?

How can I resize an IKImageView programatically? Not crop or anything, but just half its size in pixels? Thanks.
Josh Kahane
  • 16,765
  • 45
  • 140
  • 253
0
votes
1 answer

How do I initialize IKImageView?

I am completely stumped with this one: I'm new to Xcode, coming from Windows. I create a brand new Cocoa app, place an IKImageView in Interface Builder, save and launch the app. Xcode shows the app icon bouncing forever, never launching. If I trace…
Sal
  • 1
  • 1
  • 1
0
votes
1 answer

IKImageView can not rotate image

I am using IKImageView to show an image. Then, I used rotateImageLeft method to rotate image, image was rotated in IKImageView. But after I saved it,I had recognized that the image was not rotated, it is still original picture. Could you show me…
NextTrang
  • 5
  • 5