You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
"fatal error: use of unimplemented initializer" when running #21
I downloaded the zip, open in freshly updated xcode 6.2 and get this error:
/path-to/TableViewCellWithAutoLayoutiOS8-master/TableViewCellWithAutoLayout/TableViewController/TableViewController.swift: 10: 7: fatal error: use of unimplemented initializer 'init(nibName:bundle:)' for class 'TableViewCellWithAutoLayout.TableViewController'
(lldb)
Thanks for reporting this. Looks like it was caused by PR #19. Adding the following code back in to TableViewController.swift resolves the issue on Xcode 6.2:
@mctoon Please give it a try again. I just pushed some changes that make the code compatible with both Xcode 6.2 (Swift 1.1) and Xcode 6.3 beta 4 (Swift 1.2).
Activity
smileyborg commentedon Mar 28, 2015
Hi @mctoon,
Thanks for reporting this. Looks like it was caused by PR #19. Adding the following code back in to TableViewController.swift resolves the issue on Xcode 6.2:
I need to test this on Xcode 6.3 beta, but based on PR #19 implementing that method as above actually causes issues in Swift 1.2.
smileyborg commentedon Mar 28, 2015
@mctoon Please give it a try again. I just pushed some changes that make the code compatible with both Xcode 6.2 (Swift 1.1) and Xcode 6.3 beta 4 (Swift 1.2).
mctoon commentedon Apr 8, 2015
Thank you, it works now.