Comments (4)
👍
from tweaks.
Sorry, I totally missed this one. I'll take a look as soon as I have time and add a unit test. Or, if you want to send a pull request :)
from tweaks.
Hi there. Had a bit of a chance to look into this today, and appears that this is non-trivial, since FBTweakValue()
is actually implemented using _Generic()
. However, I notice the inclusion of extern "C" {...
, so I'm a bit confused as to whether or not this was expected to work or not.
It seems to me that getting this to work with ObjC++ would require reimplementing FBTweakValue()
to use C++ constructs rather than _Generic()
. In which case, considering it's possible to just expose Tweaks values from another non-C++ compilation unit, I would say this isn't worthwhile. In which case, perhaps it would be better to just go with:
#ifdef __cplusplus
#error C++ unsupported error, etc... However, you can expose values from blah, blah, blah helpful advice
#endif
...but I'd be interested to know if this was intended to work first.
from tweaks.
I did a quick PR if you think it's ok to just go with the build error "solution".
from tweaks.
Related Issues (20)
- Release new version to CocoaPods. (Last release was March 20 2015) HOT 1
- Way of displaying a value? HOT 3
- Present View Controller HOT 2
- Inline Tweaks do not work on Xcode 8 / iOS 10 HOT 5
- Need to Update the Release for the Pods. HOT 2
- Support iOS 9 minimum requirement
- How to dimiss Tweaks before I present a new ViewController HOT 1
- Search functionality HOT 1
- Crash when address sanitizing is turned on HOT 2
- The list in FBTweakViewController is empty after using use_frameworks! in Podfile. HOT 2
- Moving FBTweakInline's +load code out
- iOS 11 - motionBegan not being called on FBTweakShakeWindow HOT 2
- Xcode documentation warnings
- how to create FBTweakAction without using macro
- G
- UIAlertView is deprecated in iOS 9 warning in Xcode 7 GM HOT 2
- Issues reading from mach_header when mixing swift and obj-c HOT 5
- Unable to run with diagnostic 'Address Sanitizer' enabled HOT 4
- Swiftish syntax? HOT 2
- Bump version HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tweaks.