
Swiss companies and banks keep back 35% of dividends and interest and pay it to the Federal Tax Administration (ESTV). The Federal Tax Administration says Swiss residents get it refunded if they properly declare the assets and the income in their tax return. The cantons pay out the refund, usually by offsetting it against your cantonal tax bill. The 35% only becomes a real cost if you leave the income out of your return.
Dividend and interest are still taxed as income at your normal rate. The refund only returns the deposit; it does not make the income tax-free.