IKImageView Behavior

  • I've been playing with IKImageView and I have some questions.

    1. The documentation for IKImageView states that it can load an image
    from an NSData object.  I don't see an appropriate method for this in
    the API.  I currently have to convert my NSData object into a
    CGImage.  It would be nice to get rid of this code, just for
    simplification purposes.

    2. In my testing, I've create a program with a 'Next', 'Previous',
    'Zoom In' and 'Zoom Out' button.  If I do nothing but set an image for
    the IKImageView, I get the image, scaled down to fit precisely into
    the window.  If I resize the window, the image 'disappears'.  What
    really happens is that the default scale factor is 0.30, so the image
    readjusts and shrinks to the size of a pixel.  I can then use my zoom
    buttons to bring the image back, but I find it weird that the image is
    scaled correctly on load.  Why is this?

    3. If I zoom in/out or resize the window, the image moves from being
    centered to jumping the left, bottom corner.  Why is this?

    4. When I switch to a new image and the image is large, I see the
    bottom left corner of the image.  I understand this happens because
    the coordinate system's origin is the bottom left, but how can I move
    to viewing the top left part of the image?  I like the Move Mode and
    would to start from the top left.

    Sorry if these are trivial... I'm just getting my feet wet with this
    stuff.

    - Stephen
  • I'm trying to use IKImageView and I'm confronting with the same
    issues. It seems that Apple people just didn't finish their work. They
    published the final documentation but they did not implement it fully.

    I hoped 10.5.1 would bring some news...

    So: do someone know if and when Apple will release the real
    IKImageView? Will it have a (now missing) "imageAlignment" property?
    Will it have a "animate" property?

    Bye
    Dan
  • I went to the API page for IKImageView and sent feedback stating that
    On Nov 16, 2007, at 5:18 AM, Daniele Pizzoni wrote:

    > I'm trying to use IKImageView and I'm confronting with the same
    > issues. It seems that Apple people just didn't finish their work.
    > They published the final documentation but they did not implement it
    > fully.
    >
    > I hoped 10.5.1 would bring some news...
    >
    > So: do someone know if and when Apple will release the real
    > IKImageView? Will it have a (now missing) "imageAlignment" property?
    > Will it have a "animate" property?
    >
    > Bye
    > Dan
  • Pardon me, I actually hit send on accident...

    I send negative feedback on the IKImageView API page.  I claimed that
    the documentation seemed to lack a lot of features.

    - Stephen

    On Nov 16, 2007, at 5:18 AM, Daniele Pizzoni wrote:

    > I'm trying to use IKImageView and I'm confronting with the same
    > issues. It seems that Apple people just didn't finish their work.
    > They published the final documentation but they did not implement it
    > fully.
    >
    > I hoped 10.5.1 would bring some news...
    >
    > So: do someone know if and when Apple will release the real
    > IKImageView? Will it have a (now missing) "imageAlignment" property?
    > Will it have a "animate" property?
    >
    > Bye
    > Dan
previous month november 2007 next month
MTWTFSS
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30    
Go to today