Hi. I've never used this site before so I've never started a conversation before. I had a little problem and I was seeing if there was a solution to it. In Xcode, I have a custom segment controller, and in that code, I have a way to detect which index it is on. That code is inside of a function. I was wondering if there was a way to add the variable of the index to a struct so I can access it in another file. Or just access the variable without the struct. Thanks for any ideas!