Re: Not able to add Constraint in Xcode 4.2.1/IB
Re: Not able to add Constraint in Xcode 4.2.1/IB
- Subject: Re: Not able to add Constraint in Xcode 4.2.1/IB
- From: Peter Teeson <email@hidden>
- Date: Tue, 03 Jan 2012 23:36:24 -0500
On 2012-01-03, at 11:17 PM, Peter Teeson wrote:
> On 2012-01-03, at 7:33 PM, Conrad Shultz wrote:
>> On 1/3/12 4:24 PM, Peter Teeson wrote:
>>> On 2012-01-03, at 4:14 PM, Quincey Morris wrote:
>>>> On Jan 3, 2012, at 11:22 , Peter Teeson wrote:
>>>>> The documentation in the User Guide and elsewhere states that there
>>>>> should be an
>>>>> Add Constraint menu or it should be found under the Align menu item.
>>>>>
>>>>> Not for me using Lion 10.7.2 and Xcode 4.2.1.
>>>>>
>>>>> Has anyone else experienced this?
>>>>
>>>> Yes. The various constraints are available on the Align and Pin
>>>> submenus of the Editor menu.
>>>
>>> That's where I looked after reading the documentation.
>>> As I said above they do not appear for me.
>>> In fact I checked all the Editor menu items.
>>> Nothing about Constraints anywhere
>>
>> This bit me too.
>>
>> Xcode doesn't use the word "constraint" but if you, for example, select
>> two controls and choose Pin->Horizontal Spacing it will create an
>> appropriate constraint between the two controls.
>>
>> Ditto for width, height, alignment, etc.
>>
>> (This all presupposes that you have enabled auto layout in your nib
>> inspector.)
>
> Yes of course I set auto layout (as stated in my first post).
> I tried your suggestion of Pin>Vertical Spacing and it worked. Thanks Conrad.
>
> <snip>
> So the question we are left with is
> Is this a documentation error (which caused me to waste a lot of time)
> or is it a recursion, or a never implemented item?
I meant regression….sigh sleepy…..
_______________________________________________
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