Giter VIP home page Giter VIP logo

Comments (5)

rnystrom avatar rnystrom commented on June 11, 2024

Realized that I can just use TLIndexPathController in a custom UIViewController. Nevermind :)

from tlindexpathtools.

wtmoose avatar wtmoose commented on June 11, 2024

You can only have one data model per TLIndexPathController. So, the answer is yes as long as all of your table views share the same data model.

If your table views don't share data models, you can use multiple TLIndexPathControllers. Or, if you don't need Core Data, you can have multiple data models with no controller. The Minimal sample project demonstrates using a UIViewController and without TLIndexPathController.

from tlindexpathtools.

rnystrom avatar rnystrom commented on June 11, 2024

@wtmoose Thank you!

from tlindexpathtools.

wtmoose avatar wtmoose commented on June 11, 2024

No problem. On second look, the Minimal project does actually use TLIndexPathController but the overview on Github shows how to integrate without a controller.

Tim

On Feb 3, 2014, at 7:16 PM, Ryan Nystrom [email protected] wrote:

@wtmoose Thank you!


Reply to this email directly or view it on GitHub.

from tlindexpathtools.

wtmoose avatar wtmoose commented on June 11, 2024

One last bit of follow up.

This question prodded me to check off one of my to-do’s. Just promoted to master, anytime the data model changes, TLIndexPathController posts a kTLIndexPathControllerChangedNotification containing the TLIndexPathUpdates under the userInfo key kTLIndexPathUpdatesKey. Could be useful for broadcasting updates to multiple view controllers.

Tim

On Feb 3, 2014, at 6:05 PM, Ryan Nystrom [email protected] wrote:

Realized that I can just use TLIndexPathController in a custom UIViewController. Nevermind :)


Reply to this email directly or view it on GitHub.

from tlindexpathtools.

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.