talk-to / chocolate Goto Github PK
View Code? Open in Web Editor NEWMake Cocoa more fun
License: BSD 3-Clause "New" or "Revised" License
Make Cocoa more fun
License: BSD 3-Clause "New" or "Revised" License
I'm not sure what are the cases that are not covered by the following simpler check:
BOOL TDTIsRunningUnderDebugger() {
return isatty(STDERR_FILENO);
}
Also, [[NSProcessInfo processInfo] tdt_isBeingDebugged]
requires private API and will need to be turned off in Release builds, with the result that we cannot run the debugger on Release builds (not a deal breaker, but if there is not much of a difference, then the isatty
check seems simpler and also works on Release builds).
Alternatives:
stringAfterNillingBlank
stringAfterNillingEmpty
Since any of these will be a breaking change, consider doing this around the next major release.
This is a note to myself.
NSDateFormatter
is not thread safe. That is why you will notice that TDTLog
uses it in a synchronized block. It won't be so obvious to someone else using it -- its best if TDTLog
uses a private instance of an ISO8601 formatter.
This is what I get:
dyld: Symbol not found: _CFAutorelease
Referenced from: /Users/chaitanya/Library/Developer/Xcode/DerivedData/TDTChocolate-bepfamhlsfblaxelmhzxcaygqngl/Build/Products/Debug/OSXTests.xctest/Contents/MacOS/OSXTests
Expected in: /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
It looks like we aren't linking Foundation/Core Foundation to the project.
@chaitanyagupta @shilp-gupta Could both of register with the "pod trunk" service and let me know of your registered emails (doesn't have to be your GH email - I used my @talk.to one) so that I can add you as owners of the Chocolate pod.
Here's an example command for registration:
$ pod trunk register [email protected] 'Orta Therox' --description='macbook air'
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.