zoukankan      html  css  js  c++  java
  • xcode常见错误

    ------------------------------------------错误列表----------------------------------------------
     
    1.Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'UICollectionView must be initialized with a non-nil layout parameter' 
     原因:集合视图 没有指定 layout 
     
    2.Terminating app due to uncaught exception 'Cannot Install Constraint', reason: 'No common superview between views
    原因: 没有添加到父视图上
     
    3. +[NSLayoutConstraint constraintWithItem:attribute:relatedBy:toItem:attribute:multiplier:constant:]: A constraint cannot be made between a leading/trailing attribute and a right/left attribute. Use leading/trailing for both or neither.'
    原因:自动布局 属性对应错误
     
     4.Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'could not dequeue a view of kind: UICollectionElementKindCell with identifier pictureCellId - must register a nib or a class for the identifier or connect a prototype cell in a storyboard'
    原因:使用到了没有注册的 cell id
     
    5.Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[Weibo.BaseNavViewController back]: unrecognized selector sent to instance 0x7f951b820000'
    原因没有实现方法选择器对应的方法 
     
    6.CUICatalog: Invalid asset name supplied:
    原因:图片资源的文件名称 在使用的时候 传递的是一个 ""
  • 相关阅读:
    Quicksum -SilverN
    uva 140 bandwidth (好题) ——yhx
    uva 129 krypton factors ——yhx
    uva 524 prime ring problem——yhx
    uva 10976 fractions again(水题)——yhx
    uva 11059 maximum product(水题)——yhx
    uva 725 division(水题)——yhx
    uva 11853 paintball(好题)——yhx
    uva 1599 ideal path(好题)——yhx
    uva 1572 self-assembly ——yhx
  • 原文地址:https://www.cnblogs.com/SensenCoder/p/5816000.html
Copyright © 2011-2022 走看看