{"id":1348,"url":"https://github.com/DeveloperLx/LxDBAnything","last_synced_at":"2025-08-02T04:30:53.579Z","repository":{"id":56920106,"uuid":"44828669","full_name":"DeveloperLx/LxDBAnything","owner":"DeveloperLx","description":"Automate box any value! Print log without any format control symbol! Change debug habit thoroughly! ","archived":false,"fork":false,"pushed_at":"2017-05-09T00:48:49.000Z","size":31,"stargazers_count":427,"open_issues_count":1,"forks_count":56,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-06-30T08:21:25.798Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DeveloperLx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-10-23T17:41:24.000Z","updated_at":"2025-03-30T00:42:13.000Z","dependencies_parsed_at":"2022-08-21T04:20:25.760Z","dependency_job_id":null,"html_url":"https://github.com/DeveloperLx/LxDBAnything","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/DeveloperLx/LxDBAnything","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeveloperLx%2FLxDBAnything","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeveloperLx%2FLxDBAnything/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeveloperLx%2FLxDBAnything/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeveloperLx%2FLxDBAnything/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DeveloperLx","download_url":"https://codeload.github.com/DeveloperLx/LxDBAnything/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeveloperLx%2FLxDBAnything/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268126137,"owners_count":24200286,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-31T02:00:08.723Z","response_time":66,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-01-05T20:15:44.373Z","updated_at":"2025-08-02T04:30:53.278Z","avatar_url":"https://github.com/DeveloperLx.png","language":"Objective-C","funding_links":[],"categories":["Logging","Foundation"],"sub_categories":["Other Hardware","Other free courses"],"readme":"# LxDBAnything\n    Automate box any value! Print log without any format control symbol! Change debug habit thoroughly! \n\n### Installation\n    You only need drag LxDBAnything.h to your project.\n\n### Podfile\n    pod 'LxDBAnything', '~\u003e 1.1.1'\n\n### Support\n    Minimum support iOS version: iOS 6.0\n\n### Usage\n```objc\n    #import \"LxDBAnything.h\"\n\n    id obj = self.view;\n    LxDBAnyVar(obj);\n\n    CGPoint point = CGPointMake(12.34, 56.78);\n    LxDBAnyVar(point);\n\n    CGSize size = CGSizeMake(87.6, 5.43);\n    LxDBAnyVar(size);\n\n    CGRect rect = CGRectMake(2.3, 4.5, 5.6, 7.8);\n    LxDBAnyVar(rect);\n\n    NSRange range = NSMakeRange(3, 56);\n    LxDBAnyVar(range);\n\n    CGAffineTransform affineTransform = CGAffineTransformMake(1, 2, 3, 4, 5, 6);\n    LxDBAnyVar(affineTransform);\n\n    UIEdgeInsets edgeInsets = UIEdgeInsetsMake(3, 4, 5, 6);\n    LxDBAnyVar(edgeInsets);\n\n    SEL sel = @selector(viewDidLoad);\n    LxDBAnyVar(sel);\n\n    Class class = [UIBarButtonItem class];\n    LxDBAnyVar(class);\n\n    NSInteger i = 231;\n    LxDBAnyVar(i);\n\n    CGFloat f = M_E;\n    LxDBAnyVar(f);\n\n    BOOL b = YES;\n    LxDBAnyVar(b);\n\n    char c = 'S';\n    LxDBAnyVar(c);\n\n    CGColorSpaceRef colorSpaceRef = CGColorSpaceCreateDeviceRGB();\n    LxDBAnyVar(colorSpaceRef);\n\n    //  ......\n\n    LxPrintAnything(You can use macro LxPrintAnything() print any without quotation as you want!);\n\n    LxPrintf(@\"Print format string you customed: %@\", LxBox(affineTransform));\n\n    NSLog(@\"Even use general NSLog function to print: %@\", LxBox(edgeInsets));\n\n    LxPrintf(@\"The type of obj is %@\", LxTypeStringOfVar(obj));\n    LxPrintf(@\"The type of point is %@\", LxTypeStringOfVar(point));\n    LxPrintf(@\"The type of size is %@\", LxTypeStringOfVar(size));\n    LxPrintf(@\"The type of rect is %@\", LxTypeStringOfVar(rect));\n    LxPrintf(@\"The type of range is %@\", LxTypeStringOfVar(range));\n    LxPrintf(@\"The type of affineTransform is %@\", LxTypeStringOfVar(affineTransform));\n    LxPrintf(@\"The type of edgeInsets is %@\", LxTypeStringOfVar(edgeInsets));\n    LxPrintf(@\"The type of class is %@\", LxTypeStringOfVar(class));\n    LxPrintf(@\"The type of i is %@\", LxTypeStringOfVar(i));\n    LxPrintf(@\"The type of f is %@\", LxTypeStringOfVar(f));\n    LxPrintf(@\"The type of b is %@\", LxTypeStringOfVar(b));\n    LxPrintf(@\"The type of c is %@\", LxTypeStringOfVar(c));\n    LxPrintf(@\"The type of colorSpaceRef is %@\", LxTypeStringOfVar(colorSpaceRef));\n\n    //  ......\n\n    TestModel * testModel = [[TestModel alloc]init];\n    testModel.array = @[@1, @\"fewfwe\", @{@21423.654:@[@\"fgewgweg\", [UIView new]]}, @YES];\n    testModel.dictionary = @{@YES:@[[UITableViewCell new], @\"fgewgweg\", @-543.64]};\n    testModel.set = [NSSet setWithObjects:@NO, @4.325, @{@\"fgewgweg\":[UIView new]}, nil];\n    testModel.orderSet = [NSOrderedSet orderedSetWithObjects:@{@21423.654:@[@\"fgewgweg\", [UIView new]]}, @1, @\"fewfwe\", @YES, nil];\n\n    LxDBObjectAsJson(testModel);\n    LxDBObjectAsXml(testModel);\n    \n    LxDBViewHierarchy(self.view.window);\n\n    // Run your application and you'll see:\n\n    📍-[ViewController viewDidLoad] + 24🎈 obj = \u003cUIView: 0x7ff8ba711fb0; frame = (0 0; 414 736); autoresize = W+H; layer = \u003cCALayer: 0x7ff8ba710da0\u003e\u003e\n    📍-[ViewController viewDidLoad] + 27🎈 point = NSPoint: {12.34, 56.780000000000001}\n    📍-[ViewController viewDidLoad] + 30🎈 size = NSSize: {87.599999999999994, 5.4299999999999997}\n    📍-[ViewController viewDidLoad] + 33🎈 rect = NSRect: {{2.2999999999999998, 4.5}, {5.5999999999999996, 7.7999999999999998}}\n    📍-[ViewController viewDidLoad] + 36🎈 range = NSRange: {3, 56}\n    📍-[ViewController viewDidLoad] + 39🎈 affineTransform = CGAffineTransform: {{1, 2, 3, 4}, {5, 6}}\n    📍-[ViewController viewDidLoad] + 42🎈 edgeInsets = UIEdgeInsets: {3, 4, 5, 6}\n    📍-[ViewController viewDidLoad] + 45🎈 sel = viewDidLoad\n    📍-[ViewController viewDidLoad] + 48🎈 class = UIBarButtonItem\n    📍-[ViewController viewDidLoad] + 51🎈 i = 231\n    📍-[ViewController viewDidLoad] + 54🎈 f = 2.718281828459045\n    📍-[ViewController viewDidLoad] + 57🎈 b = YES\n    📍-[ViewController viewDidLoad] + 60🎈 c = S\n    📍-[ViewController viewDidLoad] + 63🎈 colorSpaceRef = 0x7ff8ba706da0\n    📍-[ViewController viewDidLoad] + 67🎈 You can use macro LxPrintAnything() print any without quotation as you want!\n    📍-[ViewController viewDidLoad] + 69🎈 Print format string you customed: CGAffineTransform: {{1, 2, 3, 4}, {5, 6}}\n    2015-11-23 15:40:25.639 LxDBAnythingDemo[12699:198689] Even use normal NSLog function to print: UIEdgeInsets: {3, 4, 5, 6}\n    📍-[ViewController viewDidLoad] + 73🎈 The type of obj is UIView\n    📍-[ViewController viewDidLoad] + 74🎈 The type of point is CGPoint\n    📍-[ViewController viewDidLoad] + 75🎈 The type of size is CGSize\n    📍-[ViewController viewDidLoad] + 76🎈 The type of rect is CGRect\n    📍-[ViewController viewDidLoad] + 77🎈 The type of range is NSRange\n    📍-[ViewController viewDidLoad] + 78🎈 The type of affineTransform is CGAffineTransform\n    📍-[ViewController viewDidLoad] + 79🎈 The type of edgeInsets is LxEdgeInsets\n    📍-[ViewController viewDidLoad] + 80🎈 The type of class is Class\n    📍-[ViewController viewDidLoad] + 81🎈 The type of i is long\n    📍-[ViewController viewDidLoad] + 82🎈 The type of f is double\n    📍-[ViewController viewDidLoad] + 83🎈 The type of b is BOOL\n    📍-[ViewController viewDidLoad] + 84🎈 The type of c is char\n    📍-[ViewController viewDidLoad] + 85🎈 The type of colorSpaceRef is pointer\n    📍-[ViewController viewDidLoad] + 95🎈 \u003cTestModel: 0x7ff8ba7113a0\u003e = {\n        \"affineTransform\" : \"CGAffineTransform: {{0, 0, 0, 0}, {0, 0}}\",\n        \"orderSet\" : [\n            {\n                \"21423.654\" : [\n                    \"fgewgweg\",\n                    \"\u003cUIView: 0x7ff8ba713fc0; frame = (0 0; 0 0); layer = \u003cCALayer: 0x7ff8ba714130\u003e\u003e\"\n                ]\n            },\n            \"1\",\n            \"fewfwe\"\n        ],\n        \"dictionary\" : {\n            \"1\" : [\n                \"\u003cUITableViewCell: 0x7ff8ba7117e0; frame = (0 0; 320 44); layer = \u003cCALayer: 0x7ff8ba711d20\u003e\u003e\",\n                \"fgewgweg\",\n                \"-543.64\"\n            ]\n        },\n        \"flt\" : \"0\",\n        \"chr\" : \"0\",\n        \"size\" : \"NSSize: {0, 0}\",\n        \"edgeInsets\" : \"UIEdgeInsets: {0, 0, 0, 0}\",\n        \"set\" : [\n            \"0\",\n            \"4.325\",\n            {\n                \"fgewgweg\" : \"\u003cUIView: 0x7ff8ba713d10; frame = (0 0; 0 0); layer = \u003cCALayer: 0x7ff8ba713e80\u003e\u003e\"\n            }\n        ],\n        \"bl\" : \"0\",\n        \"point\" : \"NSPoint: {0, 0}\",\n        \"array\" : [\n            \"1\",\n            \"fewfwe\",\n            {\n                \"21423.654\" : [\n                    \"fgewgweg\",\n                    \"\u003cUIView: 0x7ff8ba7114e0; frame = (0 0; 0 0); layer = \u003cCALayer: 0x7ff8ba70c680\u003e\u003e\"\n                ]\n            },\n            \"1\"\n        ],\n        \"range\" : \"NSRange: {0, 0}\",\n        \"integer\" : \"0\",\n        \"rect\" : \"NSRect: {{0, 0}, {0, 0}}\"\n    }\n    📍-[ViewController viewDidLoad] + 96🎈 \u003cTestModel: 0x7ff8ba7113a0\u003e = \u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e\n    \u003c!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\"\u003e\n    \u003cplist version=\"1.0\"\u003e\n    \u003cdict\u003e\n        \u003ckey\u003eaffineTransform\u003c/key\u003e\n        \u003cstring\u003eCGAffineTransform: {{0, 0, 0, 0}, {0, 0}}\u003c/string\u003e\n        \u003ckey\u003earray\u003c/key\u003e\n        \u003carray\u003e\n            \u003cstring\u003e1\u003c/string\u003e\n            \u003cstring\u003efewfwe\u003c/string\u003e\n            \u003cdict\u003e\n                \u003ckey\u003e21423.654\u003c/key\u003e\n                \u003carray\u003e\n                    \u003cstring\u003efgewgweg\u003c/string\u003e\n                    \u003cstring\u003e\u0026lt;UIView: 0x7ff8ba7114e0; frame = (0 0; 0 0); layer = \u0026lt;CALayer: 0x7ff8ba70c680\u0026gt;\u0026gt;\u003c/string\u003e\n                \u003c/array\u003e\n            \u003c/dict\u003e\n            \u003cstring\u003e1\u003c/string\u003e\n        \u003c/array\u003e\n        \u003ckey\u003ebl\u003c/key\u003e\n        \u003cstring\u003e0\u003c/string\u003e\n        \u003ckey\u003echr\u003c/key\u003e\n        \u003cstring\u003e0\u003c/string\u003e\n        \u003ckey\u003edictionary\u003c/key\u003e\n        \u003cdict\u003e\n            \u003ckey\u003e1\u003c/key\u003e\n            \u003carray\u003e\n                \u003cstring\u003e\u0026lt;UITableViewCell: 0x7ff8ba7117e0; frame = (0 0; 320 44); layer = \u0026lt;CALayer: 0x7ff8ba711d20\u0026gt;\u0026gt;\u003c/string\u003e\n                \u003cstring\u003efgewgweg\u003c/string\u003e\n                \u003cstring\u003e-543.64\u003c/string\u003e\n            \u003c/array\u003e\n        \u003c/dict\u003e\n        \u003ckey\u003eedgeInsets\u003c/key\u003e\n        \u003cstring\u003eUIEdgeInsets: {0, 0, 0, 0}\u003c/string\u003e\n        \u003ckey\u003eflt\u003c/key\u003e\n        \u003cstring\u003e0\u003c/string\u003e\n        \u003ckey\u003einteger\u003c/key\u003e\n        \u003cstring\u003e0\u003c/string\u003e\n        \u003ckey\u003eorderSet\u003c/key\u003e\n        \u003carray\u003e\n            \u003cdict\u003e\n                \u003ckey\u003e21423.654\u003c/key\u003e\n                \u003carray\u003e\n                    \u003cstring\u003efgewgweg\u003c/string\u003e\n                    \u003cstring\u003e\u0026lt;UIView: 0x7ff8ba713fc0; frame = (0 0; 0 0); layer = \u0026lt;CALayer: 0x7ff8ba714130\u0026gt;\u0026gt;\u003c/string\u003e\n                \u003c/array\u003e\n            \u003c/dict\u003e\n            \u003cstring\u003e1\u003c/string\u003e\n            \u003cstring\u003efewfwe\u003c/string\u003e\n        \u003c/array\u003e\n        \u003ckey\u003epoint\u003c/key\u003e\n        \u003cstring\u003eNSPoint: {0, 0}\u003c/string\u003e\n        \u003ckey\u003erange\u003c/key\u003e\n        \u003cstring\u003eNSRange: {0, 0}\u003c/string\u003e\n        \u003ckey\u003erect\u003c/key\u003e\n        \u003cstring\u003eNSRect: {{0, 0}, {0, 0}}\u003c/string\u003e\n        \u003ckey\u003eset\u003c/key\u003e\n        \u003carray\u003e\n            \u003cstring\u003e0\u003c/string\u003e\n            \u003cstring\u003e4.325\u003c/string\u003e\n            \u003cdict\u003e\n                \u003ckey\u003efgewgweg\u003c/key\u003e\n                \u003cstring\u003e\u0026lt;UIView: 0x7ff8ba713d10; frame = (0 0; 0 0); layer = \u0026lt;CALayer: 0x7ff8ba713e80\u0026gt;\u0026gt;\u003c/string\u003e\n            \u003c/dict\u003e\n        \u003c/array\u003e\n        \u003ckey\u003esize\u003c/key\u003e\n        \u003cstring\u003eNSSize: {0, 0}\u003c/string\u003e\n    \u003c/dict\u003e\n    \u003c/plist\u003e\n\n    📍-[ViewController viewDidAppear:] + 103🎈self.view.window =\n    0＃ \u003cUIWindow: 0x7ff8ba4306c0; frame = (0 0; 414 736); autoresize = W+H; gestureRecognizers = \u003cNSArray: 0x7ff8ba431830\u003e; layer = \u003cUIWindowLayer: 0x7ff8ba42cd00\u003e\u003e\n    1＃     \u003cUIView: 0x7ff8ba711fb0; frame = (0 0; 414 736); autoresize = W+H; layer = \u003cCALayer: 0x7ff8ba710da0\u003e\u003e\n    2＃         \u003c_UILayoutGuide: 0x7ff8ba712380; frame = (0 0; 0 20); hidden = YES; layer = \u003cCALayer: 0x7ff8ba70c660\u003e\u003e\n    2＃         \u003c_UILayoutGuide: 0x7ff8ba534d40; frame = (0 736; 0 0); hidden = YES; layer = \u003cCALayer: 0x7ff8ba534ec0\u003e\u003e\n\n    //  Different debug log experience!\n```\n### License\n    LxDBAnything is available under the MIT License. See the LICENSE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDeveloperLx%2FLxDBAnything","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FDeveloperLx%2FLxDBAnything","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDeveloperLx%2FLxDBAnything/lists"}