My logic teacher says that the negation of $p \!\!\iff\!\! q$ is $(\lnot p) \!\!\iff\!\! q$. This seems wrong to me, because I feel like $(\lnot p) \!\iff\! q$ is a too strong statement to be the logical consequence of $\lnot (p \!\iff\! q)$.
To illustrate to me that $(\lnot p) \!\iff\! q$ is the negation of $p \!\iff\! q$, my professor showed me a truth table that showed that $(\lnot p) \!\iff\! q$ is true iff $p \!\iff\! q$ is false.
Is my professor right? Can someone explain to me.
An example to illustrate why this statement concerns me:
Let $p$ be "It is Thursday"
Let $q$ be "It is raining"
$p \!\iff\! q$ is not true because there exists days where it is Thursday and it is not raining, yet $(\lnot p) \!\iff\! q$ is also not true because there are days when its Thursday and it does rain.
$$P\iff Q$$ is the same as $$ (P\implies Q)\text { and } (Q\implies P)$$
Therefore the negation is $$ (P \text { and not } Q) \text { or } (Q\text { and not } P)$$