# List combined with NavigationLink for multiple destinations in playgrounds

**URL:** <https://forums.swift.org/t/list-combined-with-navigationlink-for-multiple-destinations-in-playgrounds/59722>\
**Category:** Using Swift\
**Tags:** list, playgrounds, navigationlink\
**Created:** [August 17, 2022, 4:14pm UTC](https://forums.swift.org/t/list-combined-with-navigationlink-for-multiple-destinations-in-playgrounds/59722 "2022-08-17T16:14:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dartmeadow](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/dartmeadow/32/24840_2.png) [@dartmeadow](https://forums.swift.org/u/dartmeadow)\
**Post date:** [August 17, 2022, 4:14pm UTC](https://forums.swift.org/t/list-combined-with-navigationlink-for-multiple-destinations-in-playgrounds/59722/1 "2022-08-17T16:14:22Z")

</div>

> **[List with NavigationLink - Pastebin.com](https://pastebin.com/mRYQmL89)**
>
> Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.

In the tail end of my paste in you will see I’m trying to achieve multiple view destinations according to currently selected list item

Any help?

 ![image](https://global.discourse-cdn.com/swift/original/3X/6/d/6dcfd6be4db0c7da751ec07026a7b17664f8a8dc.jpeg)

---

<div class="post-metadata">

**Author:** ![dartmeadow](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/dartmeadow/32/24840_2.png) [@dartmeadow](https://forums.swift.org/u/dartmeadow)\
**Post date:** [August 26, 2022, 5:43pm UTC](https://forums.swift.org/t/list-combined-with-navigationlink-for-multiple-destinations-in-playgrounds/59722/2 "2022-08-26T17:43:29Z")

</div>

![image](https://global.discourse-cdn.com/swift/original/3X/f/c/fc562c992efb2ad197bd987493e39e9e734ea72f.jpeg)

---

<div class="post-metadata">

**Author:** ![dartmeadow](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/dartmeadow/32/24840_2.png) [@dartmeadow](https://forums.swift.org/u/dartmeadow)\
**Post date:** [September 5, 2022, 6:14pm UTC](https://forums.swift.org/t/list-combined-with-navigationlink-for-multiple-destinations-in-playgrounds/59722/3 "2022-09-05T18:14:15Z")

</div>

Updated: current swift pastebin code in use: [NavigationLink Array destination structviews?](https://pastebin.com/Ds4hzYgC)

Update: So I have Research menu children as a simple new NavigationLink children instead as a tripane, how do I format actual views in to an array and assign each view to a different NavigationLink destination if I am required to use List for tripane  
If I use ‘case’ the the call has to state as so: someview()

but I need a custom decorated tripane?

 ![image](https://global.discourse-cdn.com/swift/original/3X/5/4/54f1e40a6eea050ffc4315a278f9ae4ddfee2c6b.jpeg)
