Skip to content

XCode 6.3 Warning: roperty access is using 'setSubTitleHeight:' method which is deprecated #105

Closed
@frank-lsf

Description

@frank-lsf

I received the following warnings in XCode 6.3 compilation:

Pods/SCLAlertView-Objective-C/SCLAlertView/SCLAlertView.m:87:14: Property access is using 'setSubTitleHeight:' method which is deprecated
Pods/SCLAlertView-Objective-C/SCLAlertView/SCLAlertView.m:758:22: Property access is using 'setSubTitleHeight:' method which is deprecated
Pods/SCLAlertView-Objective-C/SCLAlertView/SCLAlertView.m:763:22: Property access is using 'setSubTitleHeight:' method which is deprecated
Pods/SCLAlertView-Objective-C/SCLAlertView/SCLAlertView.m:774:22: Property access is using 'setSubTitleHeight:' method which is deprecated
Pods/SCLAlertView-Objective-C/SCLAlertView/SCLAlertView.m:779:22: Property access is using 'setSubTitleHeight:' method which is deprecated
Pods/SCLAlertView-Objective-C/SCLAlertView/SCLAlertView.m:787:14: Property access is using 'setSubTitleHeight:' method which is deprecated

The method declaration says:

/** Set SubTitle Height
 *
 * @deprecated Deprecated since 0.5.2+ .
 * @param value Height of scrollable subtitle text field.
 */
- (void)setSubTitleHeight:(CGFloat)value __deprecated;

What is the proper way to fix this?

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