mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-07-25 12:40:36 +00:00
Make private methods static to prevent name conflicts
https://github.com/bitstadium/HockeySDK-iOS/issues/3
This commit is contained in:
parent
1f840d909c
commit
f67b1fda97
@ -33,8 +33,8 @@
|
|||||||
|
|
||||||
@implementation UIImage (BITHockeyAdditions)
|
@implementation UIImage (BITHockeyAdditions)
|
||||||
|
|
||||||
CGContextRef MyOpenBitmapContext(int pixelsWide, int pixelsHigh);
|
static CGContextRef MyOpenBitmapContext(int pixelsWide, int pixelsHigh);
|
||||||
CGImageRef CreateGradientImage(int pixelsWide, int pixelsHigh, float fromAlpha, float toAlpha);
|
static CGImageRef CreateGradientImage(int pixelsWide, int pixelsHigh, float fromAlpha, float toAlpha);
|
||||||
|
|
||||||
// Returns true if the image has an alpha layer
|
// Returns true if the image has an alpha layer
|
||||||
- (BOOL)hasAlpha {
|
- (BOOL)hasAlpha {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user