Three Ways In Swift To Find If An Element Is Flagged
I had some C++ code that would determine if any element in a list was selected. A “selected” element is one that has a boolean variable “isSelected” set to be true: bool bLinkSelected = false; POSITION Position = pConnector->GetLinkList()->GetHeadPosition(); while( Position != 0 ) { CLink* pLink =…
Continue reading