This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.eatify.Eatify.api; | |
| public class EatifyApiClient extends VolleyApiClient { | |
| private static volatile EatifyApiClient instance; | |
| public static EatifyApiClient shared() { | |
| if (instance == null) { | |
| synchronized (EatifyApiClient.class) { | |
| if (instance == null) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @interface SKNode (Helper) | |
| - (float)width; | |
| - (float)height; | |
| - (float)top; | |
| - (float)bottom; | |
| - (float)left; | |
| - (float)right; | |
| - (void)centerXInParent; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #import "SKNode+Helper.h" | |
| @implementation SKNode (Helper) | |
| - (float)width { | |
| return self.frame.size.width; | |
| } | |
| - (float)height { | |
| return self.frame.size.height; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.