Code Monkey home page Code Monkey logo

Comments (1)

everic avatar everic commented on September 26, 2024

Creating business notebooks is not a new feature of the initial version of the cloud sdk for ios which is focusing on simplicity. But you can still do it in the EDAM layer.

Grab the business note store
ENNoteStoreClient *businessNoteStore = [[ENSession sharedSession] businessNoteStore];
Use the business note store to create a notebook

call

- (void)createNotebook:(EDAMNotebook *)notebook
               success:(void(^)(EDAMNotebook *notebook))success
               failure:(void(^)(NSError *error))failure

on the businessNoteStore object
In the success completion handler, you can have the EDAMNotebook which you just created on the service

You need to create a shared notebook record on the EDAMNotebook to basically share the business notebook to yourself

call

- (void)createSharedNotebook:(EDAMSharedNotebook *)sharedNotebook
                     success:(void(^)(EDAMSharedNotebook *sharedNotebook))success
                     failure:(void(^)(NSError *error))failure

on the businessNoteStore object
the guid of the sharedNotebook passed to this function need to be set to the guid of the original EDAMNotebook you created

You need to create a linked notebook record on your personal note store which points to the shared notebook record

call

- (void)createLinkedNotebook:(EDAMLinkedNotebook *)linkedNotebook
                     success:(void(^)(EDAMLinkedNotebook *linkedNotebook))success
                     failure:(void(^)(NSError *error))failure

on the primaryNoteStore object
the linkedNotebook passed as a parameter needs to point to the shared notebook record you created in the previous step

the actual detailed explanation of the functions can be found at: https://dev.evernote.com/doc/reference/

from evernote-cloud-sdk-ios.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.