Skip to content

Commit

Permalink
Merge pull request #12 from startupthekid/xib
Browse files Browse the repository at this point in the history
fixed xib loading bug for cocoapod frameworks
  • Loading branch information
atomkirk committed Aug 8, 2015
2 parents a2dadea + 76cacec commit 609f63b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MYSForms/MYSForms/MYSFormViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -723,7 +723,7 @@ - (UIView *)currentFirstResponder

- (void)registerCellForClass:(Class)cellClass
{
UINib *nib = [UINib nibWithNibName:NSStringFromClass(cellClass) bundle:nil];
UINib *nib = [UINib nibWithNibName:NSStringFromClass(cellClass) bundle:[NSBundle bundleForClass:cellClass]];
[self.collectionView registerNib:nib forCellWithReuseIdentifier:NSStringFromClass(cellClass)];
}

Expand Down

0 comments on commit 609f63b

Please sign in to comment.