Let $ f: (a,b) \rightarrow \mathbb{R}$ continuous. Show that $f$ is uniformly continuous if and only if the limits $\lim_{x \rightarrow a^+} f(x)$ and $\lim_{x \rightarrow b^-} f(x)$ exist in $\mathbb{R}$
I chose an $\epsilon$ = 1 and attempted using the definition of uniform continuity. I was hoping for a contradiction with $|x-y| < \epsilon$ but can't find one.