Help: Create, import and edit SVG object in Cocoa app

  • Hello,



    I want to create SVG objects in my cocoa application using iPad Devices.

    And also I want to import and edit the created SVG objects.



    Can anyone help me how to do this?

    Besides I don't want to use UIWebView.



    My xcode version is 4.3.2, my Mac version is 10.7.4.



    Thanks~



    //****************************************************************//

    If we are growing,

    we will always going to be out of our comfort zone.
  • On 06/07/2012, at 12:59 PM, lupeiyu wrote:

    > I want to create SVG objects in my cocoa application using iPad Devices.
    >
    > And also I want to import and edit the created SVG objects.
    >
    >
    >
    > Can anyone help me how to do this?

    LOL!

    I just spent more than five years on this and I'm still not 100% there yet.

    Good luck!

    --Graham
  • Hello!



    Thank you for your reply!



    I find some apps like iDraw in AppStore, it can import and export SVG.

    Can you tell me the idear of the app works?



    Is there any documents about it?



    Best wishes for you~



    From: Graham Cox [mailto:<graham.cox...>]
    Sent: Wednesday, July 18, 2012 1:24 PM
    To: lupeiyu
    Cc: <cocoa-dev...>
    Subject: Re: Help: Create, import and edit SVG object in Cocoa app





    On 06/07/2012, at 12:59 PM, lupeiyu wrote:

    I want to create SVG objects in my cocoa application using iPad Devices.

    And also I want to import and edit the created SVG objects.

    Can anyone help me how to do this?





    LOL!



    I just spent more than five years on this and I'm still not 100% there yet.



    Good luck!



    --Graham
  • On 18/07/2012, at 3:53 PM, lupeiyu wrote:

    > I find some apps like iDraw in AppStore, it can import and export SVG.
    > Can you tell me the idear of the app works?
    >

    You need to understand the magnitude of your question.

    My app (a competitor to iDraw) consists of about 400+ classes ON TOP of Cocoa. SVG import alone involves about 20 separate classes ON TOP of NSXMLParser.

    Cocoa provides a graphics layer that handles some of the low level rendering tasks for you. Maybe start there.

    --Graham
  • Thank you very much~



    From: Graham Cox [mailto:<graham.cox...>]
    Sent: Wednesday, July 18, 2012 2:01 PM
    To: lupeiyu
    Cc: <cocoa-dev...>
    Subject: Re: Help: Create, import and edit SVG object in Cocoa app





    On 18/07/2012, at 3:53 PM, lupeiyu wrote:

    I find some apps like iDraw in AppStore, it can import and export SVG.

    Can you tell me the idear of the app works?







    You need to understand the magnitude of your question.



    My app (a competitor to iDraw) consists of about 400+ classes ON TOP of
    Cocoa. SVG import alone involves about 20 separate classes ON TOP of
    NSXMLParser.



    Cocoa provides a graphics layer that handles some of the low level rendering
    tasks for you. Maybe start there.



    --Graham
  • This maybe?

    <https://github.com/SVGKit/SVGKit/>

    [[[Brainchild alloc] initWithName:@"Richard Altenburg"] saysBestRegards];

    Op 6 jul. 2012, om 04:59 heeft lupeiyu het volgende geschreven:

    > I want to create SVG objects in my cocoa application using iPad Devices.
    >
    > And also I want to import and edit the created SVG objects.
previous month july 2012 next month
MTWTFSS
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31          
Go to today