Pontus Posted March 14, 2015 at 12:44 PM Report Share #579388 Posted March 14, 2015 at 12:44 PM Boas Precisava de umas dicas como conseguir uma interacção entre duas UITableViews. Ou seja, ao escolher a row 1 de uma tabela, ela redireccionarme para outra table Link to comment Share on other sites More sharing options...
KTachyon Posted March 14, 2015 at 01:45 PM Report Share #579391 Posted March 14, 2015 at 01:45 PM Quando recebes o evento do tap numa cell, fazes push de outro view controller cuja view apresente a outra tabela. “There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult.” -- Tony Hoare Link to comment Share on other sites More sharing options...
Pontus Posted March 15, 2015 at 05:56 PM Author Report Share #579483 Posted March 15, 2015 at 05:56 PM mas faço isso por codigo ou pelo xcode (arrastar a cell para a outra table e depois fazer push? Link to comment Share on other sites More sharing options...
KTachyon Posted March 15, 2015 at 06:08 PM Report Share #579485 Posted March 15, 2015 at 06:08 PM Podes fazer no storyboard, com um segue. Ou podes fazer com código. É como achares melhor. Provavelmente vais ter que dar algum contexto à segunda tabela, por isso alguma parte terás que escrever em código. Mas não há mal nenhum em configurares o segue no storyboard se estiveres a utilizar storyboards. “There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult.” -- Tony Hoare Link to comment Share on other sites More sharing options...
Pontus Posted March 15, 2015 at 06:57 PM Author Report Share #579493 Posted March 15, 2015 at 06:57 PM (edited) ok! vou tentar dessa maneira. E sim, estou a utilizar storyboards. Obrigado Edited March 15, 2015 at 06:57 PM by Pontus Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now