UI Testing without Storyboards, iOS 10

I am familiar with the concept of UI testing in general, but I was wondering if anyone has any insight on testing when the UI is completely programmatic. Would it be similar to regular unit testing with touch events? Any insight would be appreciated.