Search within opened file in Xcode without Apple keyboard
One way to do this is to access the search function through the Edit menu. Select Edit > Find > Find...



The search box will appear for the currently selected file: