Moving states and filing

Hello, I lived in SC for 6 months where I made all of my income and then moved to NYC for the last 6 months of the year. I did not work while in NYC only in SC. When filing do I have to do split state taxes or can I just file for SC only? Thank you