I am to implement a table with a list of items which includes one item that should always be onscreen. So, for example:
- you have 50 items in the list
- your "sticky" list item is 25th
- you have 10 items that may be displayed onscreen at a time
- despite of you position in the list, "sticky" list should always remain visible
- if your item is lower than your position in the list it is displayed on the bottom of the list
- if your item is between previous items it should be displayed on the top of the list
- as soon as you reach you item's real position in the list, it should move together with the scroll of the list
Here are the illustrations to better understand the implementation requirements:

Will be glad for any possible ideas, suggestions or recommendations on how can this possibly implemented. Unfortunately, I failed to find any useful libraries or solutions that solve this problem. UICollectionView and UITableView are both acceptable for this case.
Sticky header or footer, as per my understanding do not work in this case as they cover only half of the functionality that I need.
Thank you in advance for your comments and answers!!!