Sunday, December 29, 2013

Several white on IOS problem solving

Official documents have been watching science IOS, lack of experience, I feel a bit chaotic school. .
There are several questions, seeking answers to the great God.

1: Run the flow of the program is like? Which way to start the boot loader from which file? Methods to determine which files and from the first screen displayed?

2: In the works inside, xcode automatically create those documents, such as the relationship between the commission and the view of the control?
3: I want to draw the interface? This method of drawing Where should I write? (I read that's written in UIView subclass drawRect () inside),
I do not have a good understanding of this sentence. . . I tried it with a template-based VIEW created a project, the system automatically creates a delegate control files and view files, the file is automatically created in the view of the control which view control (the window right?). . I would now like to show their draw after starting the interface, what to do? I interface build, in the window which joined a view, and then create a subclass of UIView in xcode in, myView, I would myView override the drawRect method, but debugging found that this method is not called


Reply:
Need to connect related operations and attributes.
In the interface build in just the appearance of the control set up, but will not respond to any event, so then need to go to achieve the viewcontroller related operations (properties and methods), so you can control the event reception with the viewcontroller connection to a following implementation class to respond, the controller can also update the background foreground control state.
Reply:
The reply was deleted at the moderator 2011-05-06 08:42:35

No comments:

Post a Comment