Skip to content

Some minor errors i found from lint test  #31

Description

@shams-ahmed

Warning from pod spec lint test:

-> FormKit.m (0.4.0)
    - NOTE  | [xcodebuild]  ActionSheetPicker2/Pickers/AbstractActionSheetPicker.m:235:40: warning: 'UITextAlignmentCenter' is deprecated: first deprecated in iOS 6.0 [-Wdeprecated-declarations]
    - NOTE  | [xcodebuild]  /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStringDrawing.h:42:5: note: 'UITextAlignmentCenter' declared here
    - NOTE  | [xcodebuild]  ActionSheetPicker2/Pickers/AbstractActionSheetPicker.m:235:40: warning: implicit conversion from enumeration type 'enum UITextAlignment' to different enumeration type 'NSTextAlignment' (aka 'enum NSTextAlignment') [-Wenum-conversion]
    - NOTE  | [xcodebuild]  ActionSheetPicker2/Pickers/ActionSheetStringPicker.m:106:125: warning: cast of type 'SEL' (aka 'SEL *') to 'char *' is deprecated; use sel_getName instead [-Wcast-of-sel-type]
    - NOTE  | [xcodebuild]  ActionSheetPicker2/Pickers/DistancePickerView.m:97:70: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use]
    - NOTE  | [iOS] [xcodebuild]  ActionSheetPicker2/Pickers/ActionSheetDistancePicker.m:68:65: warning: values of type 'NSInteger' should not be used as format arguments; add an explicit cast to 'long' instead [-Wformat]
    - NOTE  | [iOS] [xcodebuild]  ActionSheetPicker2/Pickers/ActionSheetDistancePicker.m:69:67: warning: values of type 'NSInteger' should not be used as format arguments; add an explicit cast to 'long' instead [-Wformat]
    - NOTE  | [iOS] [xcodebuild]  ActionSheetPicker2/Pickers/ActionSheetDistancePicker.m:101:18: warning: implicit conversion loses integer precision: 'NSInteger' (aka 'long') to 'int' [-Wshorten-64-to-32]
    - NOTE  | [iOS] [xcodebuild]  ActionSheetPicker2/Pickers/ActionSheetDistancePicker.m:121:18: warning: implicit conversion loses integer precision: 'NSInteger' (aka 'long') to 'int' [-Wshorten-64-to-32]
    - NOTE  | [iOS] [xcodebuild]  ActionSheetPicker2/Pickers/ActionSheetDistancePicker.m:126:62: warning: implicit conversion loses integer precision: 'NSInteger' (aka 'long') to 'int' [-Wshorten-64-to-32]
    - NOTE  | [iOS] [xcodebuild]  ActionSheetPicker2/Pickers/ActionSheetDistancePicker.m:126:97: warning: implicit conversion loses integer precision: 'NSInteger' (aka 'long') to 'int' [-Wshorten-64-to-32]
    - NOTE  | [iOS] [xcodebuild]  ActionSheetPicker2/Pickers/ActionSheetDistancePicker.m:150:47: warning: values of type 'NSInteger' should not be used as format arguments; add an explicit cast to 'long' instead [-Wformat]
    - NOTE  | [iOS] [xcodebuild]  ActionSheetPicker2/Pickers/ActionSheetStringPicker.m:103:82: warning: implicit conversion loses integer precision: 'NSInteger' (aka 'long') to 'int' [-Wshorten-64-to-32]
    - NOTE  | [iOS] [xcodebuild]  ActionSheetPicker2/Pickers/DistancePickerView.m:28:64: warning: implicit conversion loses integer precision: 'NSUInteger' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
    - NOTE  | [iOS] [xcodebuild]  ActionSheetPicker2/Pickers/DistancePickerView.m:30:104: warning: implicit conversion loses integer precision: 'NSUInteger' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
    - NOTE  | [iOS] [xcodebuild]  ActionSheetPicker2/Pickers/DistancePickerView.m:46:108: warning: implicit conversion loses integer precision: 'NSUInteger' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
    - NOTE  | [xcodebuild]  BWSelectViewController/BWSelectViewController/BWSelectViewController.m:328:10: warning: incompatible pointer to integer conversion initializing 'BOOL' (aka 'signed char') with an expression of type 'UIView *' [-Wint-conversion]
    - NOTE  | [iOS] [xcodebuild]  FormKit.m/FormKit/FKFormMapper.m:463:60: warning: values of type 'NSInteger' should not be used as format arguments; add an explicit cast to 'long' instead [-Wformat]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions