On the convergence of a class of nonlinear approximation methods