Giter VIP home page Giter VIP logo

jakemarsh / jmstaticcontenttableviewcontroller Goto Github PK

View Code? Open in Web Editor NEW
244.0 244.0 44.0 441 KB

A subclass-able way to cleanly and neatly implement a table view controller much like those in Settings.app, with nice-looking fields to collect or display information, all using a simple and convienent block-based syntax.

Home Page: http://deallocatedobjects.com/posts/create-static-content-screens-with-jmstaticcontenttableviewcontroller

License: MIT License

Ruby 1.74% Objective-C 98.26%

jmstaticcontenttableviewcontroller's People

Contributors

barrettj avatar brutella avatar cdzombak avatar conlan avatar duemunk avatar jakemarsh avatar mattbischoff avatar paulz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jmstaticcontenttableviewcontroller's Issues

Update Podspec

I see that the last commit on master is about a year newer than the latest tagged cocoapods release. It would be nice if that were update.
(I stumbled upon this after going to fix the UITextAlignment deprecation warning only to find out that that had already been done).

`-removeAllSections` leaves the tableview in a bad state

Calling -removeAllSections doesn't seem to actually remove the sections from the tableview itself, and so adding sections or touching the tableview causes the app to crash from a really nasty exception.

My current work around is to call [self.tableview reloadData] immediately after removing all sections. I'm not sure if this is the best possible solution but it seems to work for me.

If cellHeight isn't set, the row height doesn't fallback to tableview.rowHeight in iOS 8

Something like this fixes it, but I don't if it is the best way to handle the change made to UITableView in iOS 8

- (CGFloat) tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath {
    JMStaticContentTableViewSection *sectionContent = [self.staticContentSections objectAtIndex:indexPath.section];
    JMStaticContentTableViewCell *cellContent = [sectionContent.staticContentCells objectAtIndex:indexPath.row];
    if (cellContent.cellHeight < 0) { // Fix
        return tableView.rowHeight;
    }
    return cellContent.cellHeight;
}

Block executed twice in for...loop

Hi Jake,

I'm using your wonderful work in my project and have some issue (question).
In wi-fi , _foundNetworks method you have "for loop" for inserting new cells.
I've noticed that block executed twice for one full loop. That mean, the network names generated twice (when using debug log within a block). Why so? Shouldn't it be one time per loop?
Thank you for help.

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.