Giter Club home page Giter Club logo

Comments (6)

cyupa avatar cyupa commented on August 16, 2024

tableView.reloadData doesn't do the trick.
public func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell still isn't called even though numberOfSectionsInTableView returns 1 and numberOfRowsInSection returns 67.

from datasource.

3lvis avatar 3lvis commented on August 16, 2024

Hi @cyupa,

I looked at your project and the issues seem to be happening because Storyboards does things differently.

One of this is that - (void)setupDatasource is being called before the DATAStack setup has allocated all the things. Then self.tableView.dataSource = dataSource is being set after the tableView set up is finished.

I'll try adding a Storyboard example to reproduce your issues and find a way to fix them. Thanks for reporting this!

I haven't faced any of this issues myself because I don't use Storyboards on my projects. You can find an example of a Storyboard-less setup here:

https://github.com/hyperoslo/Sync/tree/master/Examples/DesignerNews

from datasource.

cyupa avatar cyupa commented on August 16, 2024

I'll try some stuff myself in the following days.

from datasource.

3lvis avatar 3lvis commented on August 16, 2024

Hi @cyupa,

I've been trying to get this working but the main issue seems to be related to Storyboards. I would recommend to use this without Storyboards as a workaround. I hope that helps.

Best,

from datasource.

3lvis avatar 3lvis commented on August 16, 2024

Demo on how to use this with Storyboards https://github.com/3lvis/StoryboardDATASourceAndDataStackDemo

from datasource.

cyupa avatar cyupa commented on August 16, 2024

👍 Thanks @3lvis

from datasource.

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.