The New IB

  • Are there any examples of how to use the new effects in interface
    builder. I'd like to experiment with them however I cannot seem to get
    anything to work and I have not been able to find examples how how to
    set things up correctly.

    Thanks
  • > Are there any examples of how to use the new effects in interface
    > builder. I'd like to experiment with them however I cannot seem to
    > get anything to work and I have not been able to find examples how
    > how to set things up correctly.

    If you mean the animation when you drag an item out of the palette (a
    collection view), there is no public API. I encourage you to file an
    enhancement request (#5187688 ER: Dragging should natively support
    animation as in IB3 palette dragging) for this functionality, too.

    Torsten
  • Am 11.11.2007 um 21:57 schrieb Development:
    > Are there any examples of how to use the new effects in interface
    > builder. I'd like to experiment with them however I cannot seem to
    > get anything to work and I have not been able to find examples how
    > how to set things up correctly.

      Have you ticked on the wantsLayer checkbox?

    Cheers,
    -- M. Uli Kusterer
    "The Witnesses of TeachText are everywhere..."
    http://www.zathras.de
  • On Nov 13, 2007, at 1:50 PM, Uli Kusterer wrote:
    > Am 11.11.2007 um 21:57 schrieb Development:
    >> Are there any examples of how to use the new effects in interface
    >> builder. I'd like to experiment with them however I cannot seem to
    >> get anything to work and I have not been able to find examples how
    >> how to set things up correctly.
    >
    > Have you ticked on the wantsLayer checkbox?

    The "Appearance" (Alpha and Shadow), "Content Filters", "Background
    Filters", and "Compositing Filter" properties only affect layer-backed
    views.

    So, as Uli suggested, if you want to experiment with these effects
    you'll need to tick the "Wants Core Animation Layer" checkbox for the
    view itself or one of its ancestors.

    --
    Troy Stephens
    Cocoa Frameworks
    Apple, Inc.
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