Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
394 views
in Technique[技术] by (71.8m points)

ios - 如何通过单击快速单击Tableview单元格从选择列表中选择项目(How to checkmark select items from selection List by clicking Tableview cell in swift)

I am trying to retrieve selected item in tableView from ViewController which has a list from sqlite like checkmark selection.

(我试图从ViewController检索tableView中的选定项,该视图具有来自sqlite的列表,例如选中标记。)

My FirstViewController have tableView and on clicking selective cell it opens ViewController to select items.

(我的FirstViewController具有tableView,在单击选择性单元格后会打开ViewController来选择项目。)

Once selection has been made I have to reload FirstViewController tableview.

(选择之后,我必须重新加载FirstViewController tableview。)

Actually I am trying to do but not accurately doing.

(实际上,我正在尝试做,但没有准确地做。)

Anybody help me please to select item and set in tableview.

(任何人都可以帮助我选择项目并在表格视图中进行设置。)

I am confused and not able to do that passing selection via segue.

(我很困惑,无法通过segue传递选择。)

My github project link is below:

(我的github项目链接如下:)

My Project : https://github.com/MasamMahmood/SqliteDataList/tree/master/SqliteDataList

(我的项目https : //github.com/MasamMahmood/SqliteDataList/tree/master/SqliteDataList)

Reference: https://blog.apoorvmote.com/how-to-pass-selection-via-segue/

(参考: https : //blog.apoorvmote.com/how-to-pass-selection-via-segue/)

  ask by Newbie translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...