gmoledina / GMGridView

A performant Grid-View for iOS (iPhone/iPad) that allows sorting of views with gestures (the user can move the items with his finger to sort them) and pinching/rotating/panning gestures allow the user to play with the view and toggle from the cellview to a fullsize display.
MIT License
2.3k stars 512 forks source link

Change delegate methods to be Swift compatible and adhere to Cocoa Guide... #207

Closed lucacorti closed 4 years ago

lucacorti commented 10 years ago

Hello,

This is a mostly mechanical diff to make GMGridView compatible with Swift while using Objective-C Bridging.

Basically, delegate method names beginning in

- ($TYPE)GMGridView:(GMGridView *)gridView ...

collide with the class name. Also, as per Cocoa Guidelines, I stripped the GM prefix from method names, so the new methods look like this

- ($TYPE)gridView:(GMGridView *)gridView ...

ciao

Luca