What's the difference?


#1

Wondering what’s the difference between the following expressions, anybody can figure it out? thanks in advance.

CGRect bigRect = [self.window bounds]; CGRect orgRect = [self.window bounds]; CGRect secRect = [self.window bounds];


#2

There isn’t.

Both do the same thing. One being with less typing, obviously.


#3

[quote=“Tander”]There isn’t.

Both do the same thing. One being with less typing, obviously.[/quote]
actually there is some difference.
the 2nd equals

CGRect bigRect, orgRect; CGRect secRect = [self.window bounds];