discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: signature error NSPopUpButton with clang


From: Riccardo Mottola
Subject: Re: signature error NSPopUpButton with clang
Date: Thu, 25 Dec 2014 22:59:36 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:34.0) Gecko/20100101 Firefox/34.0 SeaMonkey/2.31

Hi,

David Chisnall wrote:
The type for the selector used in the call will be the static type of 
wherePopUp.  What is the type declared as, what is the actual run-time type of 
the object?
wherePopUp is
  IBOutlet id wherePopUp;

but don't we know from the error message that it is a [NSPopUpButton itemAdIndex] ? It expects an NSInteger both by Cocoa spec and by our own header, I checked. We pass a constant to it, 0

Riccardp



reply via email to

[Prev in Thread] Current Thread [Next in Thread]