Skip to content

Kann keine tableviewcell auf tableview ziehen #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

lucasmllr
Copy link

Hi Nils,
ich kann keine UITableViewCell auf die UITableView ziehen, wie es im AppKatalog steht.
Kannst Du mir sagen was ich falsch mache?
Danke
Lucas

@nilsvu
Copy link
Member

nilsvu commented May 7, 2016

Hmm klappt bei mir problemlos in deinem Projekt.
bildschirmfoto 2016-05-07 um 12 54 22
Versuch's nochmal, sonst schreib was genau nicht klappt.

@lucasmllr
Copy link
Author

Das war schon genau das was nicht geklappt hat. Ich hatte die Beta von Xcode und nachdem ich jetzt die letzte version installiert habe geht es.
Jetzt bekomme ich aber leider wieder diesen SIGABRT Fehler.

@nilsvu
Copy link
Member

nilsvu commented May 7, 2016

In der Fehlermeldung steht:

reason: 'unable to dequeue a cell with identifier LifetimeCell - must register a nib or a class for the identifier or connect a prototype cell in a storyboard'

Du musst der Zelle im Storyboard also noch einen Identifier geben ;)

@nilsvu
Copy link
Member

nilsvu commented May 16, 2016

1/2 Pt. erstmal, du kannst den Fehler aber noch fixen und das fertig schreiben ;)

…inen kontakt anklicke kommt folgender fehler: fatal error: unexpectedly found nil while unwrapping an Optional value ..gibst du noch einen tipp was los ist?
@lucasmllr
Copy link
Author

jetzt hab ich anscheinend ein problem mit einem optional. der Fehler steht im letzten commit. kannst du helfen?

@nilsvu
Copy link
Member

nilsvu commented May 21, 2016

Hi Lucas, die Outlets im ContactDetailViewController sind im Storyboard nicht gesetzt, du hast offenbar aus Versehen eine View dort rein gezogen und die hat den vorherigen Inhalt ersetzt:
bildschirmfoto 2016-05-21 um 13 53 36
Stattdessen sollte der View Controller ein Label mit dem Namen der Person und eines mit deren Lifetime anzeigen, die mit den beiden Outlets verbunden sind:
bildschirmfoto 2016-05-21 um 13 54 32
Wenn du die beiden Labels hinzufügst klappt's :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants