3

The Mac Developer Library version of the Scroll View Programming Guide for Mac was last updated June, 2010. The straightforward step-by-step instructions don't apply today.

I'm trying to port some code from iOS to Mac. I've looked at the Migrating from Cocoa Touch section of the Mac Technology Overview. This answer was useful. And I found a forum post at bignerdranch.com that supplied the critical tip to turn off Autolayout.

Are there recommendations for a good introduction to Scroll Views for Mac beyond the NSScrollView Class Reference?

Community
  • 1
  • 1
Brian Redman
  • 438
  • 4
  • 10
  • Where in that particular guide do you get lost? Apple docs often don't have the latest screenshots or tidbits in it but should be correct in general. We might be able to help you out with a specific question.. – ATV May 09 '14 at 15:49
  • I started looking for an alternative to that document after Creating a Scroll View in Interface Builder. Choose Layout > Make subviews of > Scroll View. I couldn't find the Choose Layout and I assumed (obviously, I suppose) it would update to Editor > Embed In > Scroll View. But I don't want to second guess the guide if there's something more current available. In particular Auto Layout seems to have changed the scroll view game. I spent a fair amount of time debugging a simple example before I found that unchecking Use Auto Layout seemed to be the magic bullet. – Brian Redman May 09 '14 at 16:07
  • My current app has lots of NSScrollViews and auto layout is on for most of the views. What problems are you having? – jsd May 09 '14 at 20:17
  • Could anyone please share the guide here? I would like to have a look at it too. – Ananth Kamath Feb 14 '22 at 12:15
  • @AnanthKamath The guide appear to now be archived at – Brian Redman Feb 15 '22 at 15:03

0 Answers0