Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions frontend/src/ts/constants/languages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,7 @@ export const LanguageGroups: Record<string, Language[]> = {
"code_abap_1k",
"code_yoptascript",
"code_cuda",
"code_objective_c",
],
viossa: ["viossa", "viossa_njutro"],
kokanu: ["kokanu", "likanu"],
Expand Down
208 changes: 208 additions & 0 deletions frontend/static/languages/code_objective_c.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,208 @@
{
"name": "code_objective_c",
"noLazyMode": true,
"words": [
"@interface",
"@implementation",
"@end",
"@class",
"@protocol",
"@property",
"@synthesize",
"@dynamic",
"@selector",
"@encode",
"@try",
"@catch",
"@finally",
"@throw",
"@synchronized",
"@autoreleasepool",
"@optional",
"@required",
"@private",
"@public",
"@protected",
"@package",
"id",
"BOOL",
"YES",
"NO",
"nil",
"Nil",
"NULL",
"SEL",
"IMP",
"Class",
"self",
"super",
"int",
"long",
"short",
"float",
"double",
"char",
"unsigned",
"signed",
"void",
"const",
"static",
"extern",
"inline",
"typedef",
"struct",
"enum",
"union",
"if",
"else",
"for",
"while",
"do",
"switch",
"case",
"default",
"break",
"continue",
"return",
"goto",
"retain",
"release",
"autorelease",
"dealloc",
"alloc",
"init",
"new",
"copy",
"atomic",
"nonatomic",
"strong",
"weak",
"assign",
"readonly",
"readwrite",
"mutableCopy",
"NSString",
"NSArray",
"NSDictionary",
"NSNumber",
"NSData",
"NSURL",
"NSDate",
"NSObject",
"NSInteger",
"NSUInteger",
"CGFloat",
"CGPoint",
"CGRect",
"CGSize",
"NSLog",
"NSError",
"NSBundle",
"NSNotification",
"NSMutableArray",
"NSMutableDictionary",
"NSMutableString",
"NSRange",
"NSSet",
"NSMutableSet",
"NSPredicate",
"NSTimer",
"NSThread",
"NSRunLoop",
"NSOperationQueue",
"NSOperation",
"NSFileManager",
"NSUserDefaults",
"NSNotificationCenter",
"NSIndexPath",
"NSIndexSet",
"UIView",
"UIViewController",
"UILabel",
"UIButton",
"UITextField",
"UITextView",
"UITableView",
"UITableViewCell",
"UICollectionView",
"UICollectionViewCell",
"UINavigationController",
"UITabBarController",
"UIScrollView",
"UIImageView",
"UIImage",
"UIColor",
"UIFont",
"UIWindow",
"UIApplication",
"UIDevice",
"UIScreen",
"UIGestureRecognizer",
"UITapGestureRecognizer",
"UIAlertController",
"UIAlertAction",
"UIBarButtonItem",
"UINavigationBar",
"CGContextRef",
"CGColorRef",
"CGAffineTransform",
"CGRectMake",
"CGPointMake",
"CGSizeMake",
"CGRectZero",
"dispatch_async",
"dispatch_sync",
"dispatch_queue_t",
"dispatch_after",
"dispatch_once",
"dispatch_group_t",
"viewDidLoad",
"viewWillAppear",
"viewDidAppear",
"viewWillDisappear",
"viewDidDisappear",
"initWithFrame",
"initWithCoder",
"layoutSubviews",
"drawRect",
"stringWithFormat",
"arrayWithObjects",
"valueForKey",
"setValue",
"addObserver",
"removeObserver",
"performSelector",
"respondsToSelector",
"conformsToProtocol",
"isKindOfClass",
"isMemberOfClass",
"description",
"isEqual",
"hash",
"objectForKey",
"setObject",
"addObject",
"removeObject",
"count",
"length",
"substringFromIndex",
"substringToIndex",
"lowercaseString",
"uppercaseString",
"componentsSeparatedByString",
"stringByAppendingString",
"NSCopying",
"NSMutableCopying",
"NSCoding",
"NSFastEnumeration",
"NSInvocation",
"NSMethodSignature",
"NSBlockOperation",
"NSNotificationQueue",
"UITabBar",
"UIToolbar",
"UIPanGestureRecognizer",
"UISwipeGestureRecognizer",
"CGPathRef"
]
}
1 change: 1 addition & 0 deletions packages/schemas/src/languages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,7 @@ export const LanguageSchema = z.enum(
"code_abap_1k",
"code_yoptascript",
"code_cuda",
"code_objective_c",
Comment thread
Damilss marked this conversation as resolved.
Outdated
"kinyarwanda",
"pokemon_1k",
"kokanu",
Expand Down
Loading