Giter Site home page Giter Site logo

henrytkirk / htkdynamicresizingcell Goto Github PK

View Code? Open in Web Editor NEW
240.0 240.0 39.0 511 KB

Subclassed UITableView/UICollectionView cells that will auto calculate their size so long as AutoLayout constraints are applied correctly. For iOS 7+. Works similar to how iOS 8's auto sizing of cells work.

License: Apache License 2.0

Ruby 1.89% Objective-C 88.09% Swift 10.02%

htkdynamicresizingcell's People

Contributors

bcylin avatar henrytkirk avatar readmecritic 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

htkdynamicresizingcell's Issues

Compatibility with RubyMotion?

Trying to use the collection view example (converted to rubymotion) and the app just crashes, log isn't helpful:

Process:               fuzmo [92778]
Path:                  /Users/USER/*/fuzmo.app/fuzmo
Identifier:            fuzmo
Version:               ???
Code Type:             X86-64 (Native)
Parent Process:        launchd_sim [84620]
Responsible:           launchd_sim [84620]
User ID:               501

Date/Time:             2014-12-23 13:31:02.054 +0000
OS Version:            Mac OS X 10.10.1 (14B25)
Report Version:        11
Anonymous UUID:        31D16FD2-D8DA-BFA3-450F-A5A584F8C004

Sleep/Wake UUID:       C869C41D-DAC0-4B60-AEDB-1DB3932712FF

Time Awake Since Boot: 170000 seconds
Time Since Wake:       15000 seconds

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_PROTECTION_FAILURE at 0x00007fff5f3fffc8

VM Regions Near 0x7fff5f3fffc8:
    JS JIT generated code  0000062cf3a9c000-0000062cf3a9d000 [    4K] ---/rwx SM=NUL  
--> STACK GUARD            00007fff5bc00000-00007fff5f400000 [ 56.0M] ---/rwx SM=NUL  stack guard for thread 0
    Stack                  00007fff5f400000-00007fff5fc00000 [ 8192K] rw-/rwx SM=COW  thread 0

Application Specific Information:
CoreSimulator 110.4 - Device: iPhone 6 - Runtime: iOS 8.1 (12B401) - DeviceType: iPhone 6

Nib files?

Does this work if the UICollectionViewCell is created in a nib file? Seem to be getting nil my properties on my custom cell, so I'm not able to set text on UIButtons, UILabels, etc.

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.