Comments (4)
By the way, I'm using the penultimate version of CoconutKit from the develop branch (commit 89da969).
from coconutkit.
I could reproduce the problem you describe (iOS 5.1.1), I will try to find some time to investigate it.
from coconutkit.
I finally found some time to investigate your issue.
I first tried to use CoconutKit binaries and it worked (see https://github.com/defagos/SegmentContainer). As always, that's why I strongly recommend using CoconutKit binaries. When a project is compiled from source the result might change with newer Xcode versions in unpredictable ways (in particular when project default settings are changed), and I sadly cannot afford spending too much time investigating such issues.
But your problem was interesting, and after playing around I found that setting Dead Code Stripping to NO for the SegmentContainer project fixes your issue. This seems to make sense, but I cannot tell you what exactly gets lost if dead code stripping is enabled (even after having a look at the binary).
Two more remarks regarding your code:
- You should not access the view outlet in a view controller initializer since this will prematurely trigger view creation. In
-[LifeCycleTestViewController initWithColor:]
, you should store the color you receive and assign it in theviewDidLoad
method - You do not have to load xibs for iPhone / iPad manually. Append
~iphone
or~ipad
to your xibs instead
I made those changes in the fork I made from your project, have a look if you are interested.
Regards.
from coconutkit.
Thanks for taking the time to look into this issue (and thanks for the bonus tips). I disabled dead code stripping in my project and that seems to have solved the problem with the package.
from coconutkit.
Related Issues (20)
- error: can't exec '/usr/bin/make' (No such file or directory) HOT 19
- HLSTextField doesnโt properly obey its delegate HOT 1
- [Support Question] Navigation stack with bar HOT 4
- CocoaPod for 2.0.x HOT 2
- ContainerStack popAll crash HOT 1
- StackViewController removeViewControllerAtIndex issue
- ios
- make-fmwk.sh is missing HOT 3
- Crash with objc_msgSend() selector name: scrollViewDidScroll: in UIScrollView+HLSExtensions.m HOT 4
- Cannot install with latest pods HOT 1
- CoconutKit uses deprecated rotation calls in iOS 8 HOT 3
- Crash on ViewController Lifecycle when running an app with a 3rd party keyboard HOT 4
- Stackoverflow in "swizzle_viewDidLoad" when using custom keyboards HOT 1
- Issues with text views in scrollviews when an external keyboard is connected (iOS 9)
- Sometimes incorrect layout guides when pushing a view controller into a stack controller
- Slow email validation regex
- UITextField bindings not working on iOS 12 HOT 2
- Model manager duplication not working HOT 1
- Browser top and bottom insets incorrect (especially since iOS 11)
- iOS 13 support
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 coconutkit.