A man who smashed the window of his partner's car with a metal pole has appeared at Derry Magistrate's Court charged with criminal damage and possession of an offensive weapon in a public place.