Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some minor errors i found from lint test #31

Open
shams-ahmed opened this issue Apr 22, 2014 · 1 comment
Open

Some minor errors i found from lint test #31

shams-ahmed opened this issue Apr 22, 2014 · 1 comment

Comments

@shams-ahmed
Copy link
Contributor

shams-ahmed commented Apr 22, 2014

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]
@brunow
Copy link
Owner

brunow commented Apr 24, 2014

Thanks, I'll a look at this later

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants