Saturday, 27 June 2015

June 2

q
need to understand initializers

issue
use of undeclared type UIViewController

q
where can I get a short list of the required initializers

note
whenever swift gives a weird error you should first go to the documentation

q
nothing happening on screen.
is barButtons getting hit ?

q
which of the view controllers init methods is getting triggered ?

task
with a runtime error need to find where the error took place.  First step is always an exception breakpoint

note
Whenever a runtime exception occurs the first step to solving it is to use an exception breakpoint.

q
In swift how to create a method that does not have named arguments ?

q
check if I can get ANY graph method to work
result
No. I created a method with nothing in it and it does not work. 

q
If I create a graph variable within testGraph does it run?

result
somehow the build target got changed

other interesting ways that this bug can occur are given here

No comments:

Post a Comment