"to swim" is an infintive, and the events infintives express are unactualized. An unactualized event hasn't happened yet, or the speaker hasn't yet experienced it, or the event is factual, a fact. That's how it is used here:
Max: Do you like to swim?
Sam: Yes, I do. I like to swim. (That's a fact)
"swimming" is a gerund, and the events gerunds express are actualized. An actualized event has happened, the speaker has either experienced it or knows about it.
EX: I like swimming. (I've done it before)
"to be" is an infinitive, so it expresses an unactualized event, one that hasn't happened yet, a meaning that the future also expresses:
EX: This meeting is to be continued.
EX: This meeting will be continued.
The other difference between "to be" and "will", aside from meaning, is structure. "to be" cannot function as a main verb. It needs a form a BE, like this,
EX: Max is to be the next President.
EX: Max was to be the next President.