Why / when to import a Shinobi protocol in the .m file instead of the header?


#1

I’ve noticed that in your code samples (current release) for Shinobi Charts you import certain protocols in the .m file instead of the header.  Is this just a mistake or is there a reason for doing it there?  In some of the online documentation, by contrast, it says to put it in the header file which is what seems to be the standard practice in Objective-C.

Specific example:

ShinobiChartsSamples, TimeSeriesChart

in ViewController.m:

@interfaceViewController () <SChartDatasource>

why is <SChartDatasource> in the .m file rather than in the .h file?  Am just trying to understand if there is a best practice I’m missing or something.