how to sort the array of imageView in a card game after layout to the player?

Sam Li Source

I'm new to programming and swift , after layout cards to the 4 players card game,each player's cards in a stackView,but I can't sort the cards in the stackView ....Can anyone help me how to layout cards in a traditional 4players card game such big2 then after layout cards that how to sort the card $0 > $1 for each player?thx! I really need help because I have bought two swift course and search so long but no source to teach how to write traditional big2 game in swift!



comments powered by Disqus