Saturday, 15 January 2011

xcode6 - New Interface Builder (Xcode 6) removes rect and kills design -



xcode6 - New Interface Builder (Xcode 6) removes rect and kills design -

hello fellow programers,

after updating xcode6, alter storyboard in interface builder, removes xml-nodes beingness ... results in elements not been shown anymore (for me @ least). merging changed part in storyboard xml containing rects , not opening interface builder, compiling source straight away, runs smoothly.

i not understand alter - nor how prepare this. ideas?

small code excerpt:

<button opaque="no" contentmode="scaletofill" fixedframe="yes" contenthorizontalalignment="center" contentverticalalignment="center" linebreakmode="middletruncation" translatesautoresizingmaskintoconstraints="no" id="6xn-x2-5go" userlabel="categorydeletedbutton"> <rect key="frame" x="33" y="-7" width="48" height="48"/>

the rect line ist 1 beingness removed new interface builder. everywhere in storyboard xml.

alright: new ib requires constraints , removes rects, if not available. before editing elements dimensions, add together constrains - save, resize , observe if more elements vanish storyboard (undo , add together constraints vanished elem too).

xcode6 interface-builder uistoryboard xcode-storyboard

No comments:

Post a Comment