This paper deals with the problem of switching design for guaranteed cost control of discrete-time two-dimensional (2-D) nonlinear switched systems described by the Roesser model. The switching signal, which determines the active mode of the system, is subject to a state-dependent process whose values belong to a finite index set. By using 2-D common Lyapunov function approach, a sufficient condition expressed in terms of tractable matrix inequalities is first established to design a min-projection switching rule that makes the 2-D switched system asymptotically stable. The obtained result on stability analysis is then utilized to synthesize a suboptimal state feedback controller that minimizes the upper bound of a given infinite-horizon cost function. Finally, two numerical examples are given to illustrate the effectiveness of the proposed design method.