Giter Site home page Giter Site logo

Comments (6)

umerkhan-apple avatar umerkhan-apple commented on May 18, 2024 5

@ninoguba In order to do so, the Care Card would have to be IB_INSPECTABLE. If this is highly-requested, then let's try to go ahead and do that.

from carekit.

tktsubota avatar tktsubota commented on May 18, 2024 1

@ncarroll-mdsol I opened a PR a while back addressing this (#109). You can use the storyboard branch on my fork to try it out. See the PR for how to use it.

from carekit.

scdi avatar scdi commented on May 18, 2024

It would be nice to be able to use the StoryBoard.

from carekit.

sashalondon avatar sashalondon commented on May 18, 2024

I would also like this.

from carekit.

ncarroll-mdsol avatar ncarroll-mdsol commented on May 18, 2024

Any update on this? Is there a way to hack around this in the time being?

Is there a good reason for these ViewControllers to not be compatible with Storyboards / Segues?

from carekit.

ninoguba avatar ninoguba commented on May 18, 2024

I figured out a way clean way to separate the CareCard/SymptomTracker/Insight controllers on its own and have them somewhat represented in the Storyboard. The trick is subclassing a UINavigationController for each of the CareKit views you want to use then set the nav's viewcontrollers to contain just the corresponding CareKit view. Then in your Storyboard just add your nav controllers and define segues between them.

To address the singularity of the OCKCarePlanStore, just follow how it was done with OCKSample where a singleton CarePlanStoreManager class is used to share the same store between the different views.

Hope this helps!

from carekit.

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.