Posts

Showing posts with the label ios swift course

The basic principle of robotics and AI

Image
Artificial intelligence applied to robotics development requires a different set of skills from you, the robot designer or developer. You may have made robots before. You probably have a quadcopter or a 3D printer. The familiar world of  Proportional Integral Derivative  ( PID ) controllers, sensor loops, and state machines must give way to artificial neural networks, expert systems, genetic algorithms, and searching path planners. We want a robot that does not just react to its environment as a reflex action, but has goals and intent—and can learn and adapt to the environment. We want to solve problems that would be intractable or impossible otherwise. Robotics or a robotics approach to AI—that is, is the focused learning about robotics or learning about AI? about how to apply AI tools to robotics problems, and thus is primarily an AI using robotics as an example. The tools and techniques learned will have applicability even if you don’t do robotics, but just app...

Dissecting an iOS App

Image
You find out about the typical components of an app and how they interact as it runs. Figure 6-1 shows these components. As you can see from this figure, the components of an app can be grouped into model, view, and controller components. The model components are the Objective-C classes that implement the domain logic of the application as well as manage long-lived state. Some of these classes might also be persistent; that is, they may save their state across runs of the app on the file system or in a database. The view classes represent the user interface of the app. They handle showing information to the user. These classes also handle interactions with the user; that is, they handle touches on the screen, keyboard input, and so on. The controller classes are responsible for managing the execution of the app. Once the app is running, these controller classes also are the bridge between the views with the model. These classes consist of the Application Delegate, the root vi...