Wednesday, November 13, 2013

Editing User Interfaces

Editing User Interfaces

  • If you open a read-only xib or storyboard that was last saved with an older version of Xcode, you might not be able to quit Xcode.
    • You must first close the file using ctrl+cmd+w or by going to File > Close <filename>. 14715366
  • In some instances, number formatters created in Interface Builder with “Currency” style will not display the localized currency symbol at runtime.
    • In IB, switch the number formatter's “Behavior” from “OS X 10.4+ Default” to “OS X 10.4+ Custom,” then back to “OS X 10.4+ Default.” 14378988
  • When loading nibs at runtime using scroll views built with Xcode 5, constraints between the clip view and its document view will be removed. This only affects constraints between the clip view and the document view, which are usually constraints such as H:|-[documentView]-| and V:|-[documentView]-|.
    • Add the constraints at runtime. 14097019
  • UIAAlert’s defaultButton and cancelButton functions will fail for some two button alerts when targeting iOS 7. 14649998
  • After importing images from a project into a image catalog, storyboards and xib files have broken image references.
    • The image names in Interface Builder are listed as image-name.png and should be shortened to image-name to repair the broken reference. 14042186
  • You cannot drag a Placeholder object from the library into the outline.
    • Drag the Placeholder object into the canvas background.

No comments:

Post a Comment