patrick-kladek / cocoadebugkit Goto Github PK
View Code? Open in Web Editor NEWDebugging made easy. Automatically create QuickLook images of custom objects
License: MIT License
Debugging made easy. Automatically create QuickLook images of custom objects
License: MIT License
I got this message in console. My environment is 'macOS 10.12 / xcode 8'. it works well in my colleague's xcodes. but it isn't working in my mac. could you check this issue.
[<_UILabelLayer: 0x600000293380> display]: Ignoring bogus layer size (911.000000, 111331.000000), contentsScale 3.000000, backing store size (2733.000000, 333993.000000)
Hi!
This worked in XCode 8, haven't tried it since, just wondering if there is something I might have forgot. The line i added:
returns "Calling debugQuickLookObject failed."
You can try something like this on iOS.
#import "NSObject+Hack.h"
#import <CocoaTouchDebugKit/CocoaTouchDebugKit.h>
@implementation NSObject (Hack)
- (id)debugQuickLookObject
{
// NOTE: There is a bug in Xcode which will show a empty view in QuickLook when running on an iOS target. To work around this we simply return an UIImage
return [[CocoaDebugView debugViewWithAllPropertiesOfObject:self includeSuperclasses:YES] imageRepresentation];
}
@end
Reference: Quick Look Debugging With UIView
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.