Both are correct. I would say "talking with you" is slightly more formal though, because it insinuates that you were talking through something such as an issue. So, in other words it could mean "it was nice talking with you [about ABC]"
Both would be fine in conversation, but bare that difference in mind.
Both are correct.
Thank you Ruthi. I thought " with " sentence is wrong. Anyway, Thanks again!