Files
Leeksov 4647310322 GLEGram 12.5 — Initial public release
Based on Swiftgram 12.5 (Telegram iOS 12.5).
All GLEGram features ported and organized in GLEGram/ folder.

Features: Ghost Mode, Saved Deleted Messages, Content Protection Bypass,
Font Replacement, Fake Profile, Chat Export, Plugin System, and more.

See CHANGELOG_12.5.md for full details.
2026-04-06 09:48:12 +03:00

38 lines
781 B
Objective-C

#import "TGIndexPath.h"
@implementation TGIndexPath
+ (instancetype)indexPathForRow:(NSUInteger)row inSection:(NSUInteger)section
{
TGIndexPath *indexPath = [[TGIndexPath alloc] init];
indexPath.section = section;
indexPath.row = row;
return indexPath;
}
- (id)copyWithZone:(NSZone *)zone
{
TGIndexPath *copy = [[[self class] alloc] init];
if (copy != nil)
{
copy.section = self.section;
copy.row = self.row;
}
return copy;
}
- (BOOL)isEqual:(id)object
{
if (object == self)
return YES;
if (!object || ![object isKindOfClass:[self class]])
return NO;
TGIndexPath *indexPath = (TGIndexPath *)object;
return self.section == indexPath.section && self.row == indexPath.row;
}
@end