Re: Annoying Warnings when compiling xib
Re: Annoying Warnings when compiling xib
- Subject: Re: Annoying Warnings when compiling xib
- From: Markus Spoettl <email@hidden>
- Date: Sat, 20 Feb 2010 07:42:00 +0100
On Feb 20, 2010, at 12:39 AM, Jerry Krinock wrote:
> Whenever I build my project, I get a dozen or two of each of the following spurious warnings. Annoying since I must scroll up to see the *real* warnings that came from compiling the *real* code.
>
> 1. "The image scaling property should not be used with checkboxes. A checkbox should always appear at the standard size." I don't even know what an "image scaling property" is, and have never knowingly set one. One time I believe I dragged a checkbox out of the Library and still got this. What does this mean?
This puzzled me for a while too. If I remember correctly the reason was that the check box's *cell* scaling property was set. Changing it to "None" makes to issue go away. At the time I was pretty certain that I never had changed that property manually, so I never looked there.
> 2. "This view is clipping its content." I admit it. I don't always use the nine yards of whitespace around each control which is recommended by the Apple Human Interface Guidelines. Also, on some occasions, I might instantiate controls with overlapping frames, for example a text field and a token field where one or the other is always hidden. Are these issues possibly causing these warnings?
I too have a case which involves an NSSegmentedControl on a toolbar. It appears that no matter size the items' images are, they always cause that "This view is clipping..." warning when it clearly doesn't. I've asked about it here a long time ago but no one did seem to have this particular problem.
> 3. "Custom values for the 'identifier' attribute are not available in Interface Builder versions prior to 3.2." So who cares? I'm using Interface Builder 3.2.1.
That goes away if you set the "Development Target" of the XIB to 3.2. "Window > Document Info" has an option for that.
Regards
Markus
--
__________________________________________
Markus Spoettl
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden