Toolbar items fail to appear on Tiger

  • Hi, all,

    I have an odd issue with a program compiled -- and working -- under
    Leopard, but with the 10.4u SDK (as selected in the global project
    settings area, and verified as having propagated to the particular
    Release build that I'm using).  It creates and displays a standard
    toolbar (*not* the IB-created kind from IB 3) with code that worked
    under Xcode 2.4 in Tiger.

    When I run the program in Leopard, everything is fine.  But when I run
    it under Tiger, only the icon-based items appear -- an NSSearchField,
    an NSPopUpButton, and an NSSegmentedControl all have their labels, but
    their views don't show up.  I have no errors, or even warnings, in the
    IB document inspector window for the XIB in question.

    My understanding is that XIB files with Tiger-compatible controls
    compile to Tiger-compatible NIBs.  Am I missing something?

    Cheers,
    Andrew
  • On Nov 29, 2007, at 4:57 PM, Andrew Merenbach wrote:

    > Hi, all,
    >
    > I have an odd issue with a program compiled -- and working -- under
    > Leopard, but with the 10.4u SDK (as selected in the global project
    > settings area, and verified as having propagated to the particular
    > Release build that I'm using).  It creates and displays a standard
    > toolbar (*not* the IB-created kind from IB 3) with code that worked
    > under Xcode 2.4 in Tiger.
    >
    > When I run the program in Leopard, everything is fine.  But when I
    > run it under Tiger, only the icon-based items appear -- an
    > NSSearchField, an NSPopUpButton, and an NSSegmentedControl all have
    > their labels, but their views don't show up.  I have no errors, or
    > even warnings, in the IB document inspector window for the XIB in
    > question.
    >
    > My understanding is that XIB files with Tiger-compatible controls
    > compile to Tiger-compatible NIBs.  Am I missing something?

    Hey Andrew -

    I'm not sure why your toolbar isn't working, but this statement is
    true. XIB files created and built on Leopard run on Tiger so long as
    you don't use Leopard only object in the XIB files.

    Jon Hess

    >
    >
    > Cheers,
    > Andrew
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