• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Auto Layout and XCode/IB Warnings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Auto Layout and XCode/IB Warnings


  • Subject: Auto Layout and XCode/IB Warnings
  • From: Dave <email@hidden>
  • Date: Wed, 26 Aug 2015 18:34:22 +0100

In the end I had to delete all the constraints and start again - the XCode interface is pretty naff IMO.

I’ve now added a view I copied from another xib file, the view is very simple and just has two buttons. It was ok in the original xib file, but in the file I’ve copied it to, I now get these warnings:

Button 1
Expected: x=185, width = 84
Actual: x=184, width = 85

Button 2
Expected: width = 75
Actual: width = 76

I’m not sure how to fix this, apart from deleting them all again are re-adding them. Should this work ok? I mean should the constraints carry when a view is copied?

Thanks
Dave



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Prev by Date: Auto Layout and XCode/IB Warnings
  • Next by Date: Re: Auto Layout and XCode/IB Warnings
  • Previous by thread: Re: Auto Layout and XCode/IB Warnings
  • Next by thread: NIB Loading Problem
  • Index(es):
    • Date
    • Thread