As you rightly said that swAppis arbitrary and could be anything. The only reason I understand is that instead of using Application.SldWorks, you've define a variable for it (for e.g. swApp or anything) and then use in the codes to make the codes less clustered.
For e.g. instead of using Application.SldWorks.ActiveDoc, you define this as swModel which makes the coding looks cleaner.