This paper is devoted to nonparametric analysis of functional data. We give asymptotic results for a NN generalized regression estimator when the observed variables take values in any abstract space. The main novelty is our uniform consistency result (with rates).