iphone - Are there any limitation for using CorePlot within an iOS in commercial application? -
most stack overflow questions asking graph plotting libraries in ios have answer coreplot. some, dating 2012, ask if there alternatives answer out dated , not comprehensive. asked myself question months ago , got directed coreplot.
i struggle understand why apple has not included native ios framework draw graphs. leaving aside consideration wondering how reliable include coreplot in commercial application (will coreplot code supported in future? stable?).
- what limitations in using this?
- is there reliable , proven alternative?
- is there suggestion may want give me in case decide use coreplot in application? basic step structure code in mvc pattern can substitute library if better 1 comes on. more suggestions welcome (is there specific data structure proves useful graphs?).
coreplot contains license describes in detail must use , can use it:
copyright (c) 2014, drew mccormack, brad larson, eric skroch, barry wark, dirkjan krijnders, rick maddy, vijay kalusani, caleb cannon, jeff buck, thomas elstner, jeroen leenarts, craig hockenberry, hartwig wiesmann, koen van der drift, nino ag, mike lischke, trevor harmon, travis fischer, graham mueller, rafał wójcik, mike rossetti, michael merickel, ingmar stein, , victor martin garcia. rights reserved. redistribution , use in source , binary forms, or without modification, permitted provided following conditions met: redistributions of source code must retain above copyright notice, list of conditions , following disclaimer. redistributions in binary form must reproduce above copyright notice, list of conditions , following disclaimer in documentation and/or other materials provided distribution. neither name of core plot project nor names of contributors may used endorse or promote products derived software without specific prior written permission. software provided copyright holders , contributors "as is" , express or implied warranties, including, not limited to, implied warranties of merchantability , fitness particular purpose disclaimed. in no event shall copyright holder or contributors liable direct, indirect, incidental, special, exemplary, or consequential damages (including, not limited to, procurement of substitute goods or services; loss of use, data, or profits; or business interruption) caused , on theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in way out of use of software, if advised of possibility of such damage.
so, in detail:
- if redistribute source, must add coreplot copyright notice.
- if distribute binary, must show license somewhere, can put in settings example or page (even apple this).
license not mention prohibitions against commercial use , aware of multiple commercial apps using coreplot, there no limitations if include license properly.
as being updated, according github repo, actively maintained multiple community members.
there couple of smaller libraries available, coreplot largest one:
- ios charts
- jbchartview
- some mentioned in post: ios chart libraries?
for third question, quite subjective , general. i'm not aware of standardized patterns using charts , not going happen until apple ships api this.
of course, go ahead mvc, if have time can create charting wrapper, can change internal charting/rendering engine, if decide coreplot not suit needs.
Comments
Post a Comment