func addBugToView(){
if bugs.count < maxBugs {
let newBug = bugFactory.createBug()
bug.append(newBug)
moveBugsAnimation()
}
}
func emptyBugsFromView(){
for bug in self.bugs {
bug.removeFromSuperview()
}
self.bugs.removeAll(keepCapacity: true)
}
[/code]
Getting Help with Bugs
Stack Overflow
-be specific as possible
-provides steps leading to the problems
– can use text, code, images, gifts…