En esta primera sesión formativa, impartida por Sergi Hernando, CTO de Mobivery, se trataron los siguientes conceptos: Lenguaje (propiedades y protocolos de Objective-C) y Herramientas (Xcode)
7. Objective-C
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason:
'-[Video pause]: unrecognized selector sent to instance 0x8334620'
[myVideo play];
[myVideo pause]; Thread 1: signal SIGABRT
7
8. Objective-C
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason:
'-[Video pause]: unrecognized selector sent to instance 0x8334620'
[myVideo play];
[myVideo pause]; Thread 1: signal SIGABRT
“un objeto puede enviar un mensaje sin temor a
producir errores en tiempo de ejecución”
Wikipedia
8
9. Objective-C
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason:
'-[Video pause]: unrecognized selector sent to instance 0x8334620'
[myVideo play];
[myVideo pause]; Thread 1: signal SIGABRT
“un objeto puede enviar un mensaje sin temor a
producir errores en tiempo de ejecución”
No en la runtime library de iOS
9
43. Xcode
Schemes &Targets
“An scheme defines a collection of targets to
build, a configuration to use when building, and
a collection of tests to execute”
* Only one scheme can be active at a time
“A target specifies a product to build and
contains the instructions for building the
product from a set of files in a project or workspace”
* A product can be an app or a static library
43
44. Xcode
Workspaces & Projects
“A workspace is a document that groups
projects and other documents so you can
work on them together”
* Workspaces provide implicit and explicit relationships among the
included projects and their targets
“A project is a repository for all the files,
resources, and information required to build
one or more software products”
* Projects define default build settings for all their targets
44