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

RMSecondaryScroller.m:16:33: 'scrollerWidth' is deprecated #1

Open
Sega-Zero opened this issue Oct 24, 2014 · 0 comments
Open

RMSecondaryScroller.m:16:33: 'scrollerWidth' is deprecated #1

Sega-Zero opened this issue Oct 24, 2014 · 0 comments

Comments

@Sega-Zero
Copy link

Updated Xcode and it starts to show a warning:
/RMSecondaryScroller.m:16:33: 'scrollerWidth' is deprecated: first deprecated in OS X 10.7 - Use +scrollerWidthForControlSize:scrollerStyle: instead

I believe it should be corrected to something like this?

    frame.origin.x += frame.size.width-[NSScroller scrollerWidthForControlSize:NSRegularControlSize scrollerStyle:NSScrollerStyleOverlay];
    frame.size.width = [NSScroller scrollerWidthForControlSize:NSRegularControlSize scrollerStyle:NSScrollerStyleOverlay];
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

1 participant