i need to add NSViewBoundsDidChangeNotification to my iphone application to check if user has scrolled the tableview,however to add this i think i need to import the nsview class.from where should i add this class to my project.and i need to confirm is this the best way to check if my tableview is scrolled by user?
i need to add NSViewBoundsDidChangeNotification to my iphone application to check if user has
Share
NSViewdoes not exist on the iPhone, as it uses Cocoa-Touch and not Cocoa.If you want to get notifications about a
UITableView‘s scroll events, just implement theUIScrollViewdelegate. It’s documented here.The delegate method you’ll want to use is this one:
There are other handy methods in there though, like: