”!=“ is not, right? Thats what I have learned. Didn't you read my replies?
Your code (updated one):
								if snapshot != nil {
										//Doing nothing when `snapshot` is *not nil*
								}else {
										//This code block is executed when `snapshot` *is nil*
										//...
								}
is equivalent to:
								if snapshot == nil {
										//This code block is executed when `snapshot` *is nil*
										//...
								}
You may need to learn how if-else works,
Topic:
Programming Languages
SubTopic:
Swift
Tags: