Giter Club home page Giter Club logo

Comments (7)

yestoall avatar yestoall commented on August 29, 2024

is anybody out there? ;)

from teacup.

colinta avatar colinta commented on August 29, 2024

The top_level_view method is defined for all UIView subclasses, so this error is either very strange, or easily solved by fixing SearchCell's parent class.

from teacup.

yestoall avatar yestoall commented on August 29, 2024

is very strange... the parent class with the UITableView is also a auto layout.
i can't find the bug and i'm not using auto layout to work ok.

from teacup.

colinta avatar colinta commented on August 29, 2024

wat? sorry, i don't follow that sentence...

If you can include the source files (the table view delegate and table cell classes should be enough) i'd be happy to take a look, see if anything jumps out at me.

from teacup.

yestoall avatar yestoall commented on August 29, 2024

sorry about my english, my spanish is better :)

more readeable now: https://gist.github.com/yestoall/7828487

from teacup.

colinta avatar colinta commented on August 29, 2024

K let's see here, one thing that I notice is you are including Teacup::Layout, but that is already included by the UIView class. Not sure what happens when you include it twice, but you don't need to, anyway.

 class SearchCell < UITableViewCell
-  include Teacup::Layout
   stylesheet :search

from teacup.

colinta avatar colinta commented on August 29, 2024

Can you include a project that reproduces this error? I don't have time to create a project that has this same error. I'm using Teacup to create/style UITableViewCells and have never seen this error, though I suspect it's related to using the auto method.

from teacup.

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.