changeset 3365 | 37ac593e9027 |
parent 3352 | ac5d14a35482 |
child 3373 | c1ff724a5c34 |
3364:e5403e2bf02c | 3365:37ac593e9027 |
---|---|
47 return (interfaceOrientation == UIInterfaceOrientationLandscapeRight); |
47 return (interfaceOrientation == UIInterfaceOrientationLandscapeRight); |
48 else |
48 else |
49 return (interfaceOrientation == UIInterfaceOrientationLandscapeRight); |
49 return (interfaceOrientation == UIInterfaceOrientationLandscapeRight); |
50 |
50 |
51 } |
51 } |
52 |
|
53 NSInteger randomPort() { |
|
54 return (random() % 64541) + 1025; |
|
55 } |
|
56 |
|
57 |