Skip to content

Instantly share code, notes, and snippets.

View vixentael's full-sized avatar

vixentael

View GitHub Profile
@vixentael
vixentael / nimbus.podspec
Created July 25, 2013 13:50
nimbus 1.0.1 with badge
Pod::Spec.new do |s|
s.name = 'Nimbus'
s.version = '1.0.1'
s.license = 'Apache License, Version 2.0'
s.summary = 'An iOS framework whose growth is bounded by O(documentation).'
s.homepage = 'http://docs.nimbuskit.info/index.html'
s.author = { 'Jeff Verkoeyen' => 'jverkoey@gmail.com',
'Bubnov Slavik' => 'bubnovslavik@gmail.com',
'Roger Chapman' => 'rogchap@gmail.com',
'Manu Cornet' => 'manu.cornet@gmail.com',
@implementation CHVariableHeightDelegate
- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath {
CGFloat height = tableView.rowHeight;
id object = [(NITableViewModel *)tableView.dataSource objectAtIndexPath:indexPath];
// cell class
id class = nil;
if ([object respondsToSelector:@selector(cellClass)]) {
class = [object cellClass];