Comments (9)
Hi @renanstig, thank you for kind words. I think I saw this issue before, I do not remember how exactly I fixed it but it was probably a combination of the following:
- Clean the project in Xcode and restart.
- In the Simulator menu select "Reset Content and Settings".
- Clear the DerivedData directory either manually from Preferences > Locations (see screenshot) or from command line:
rm -rfd ~/Library/Developer/Xcode/DerivedData/*
rm -rfd ~/Library/Caches/com.apple.dt.Xcode/*
Sorry for the vague answer. Let me know if it works for you.
from cosmos.
Hi. I Have the same problem of Renan.
One of the third party libraries of my project is compiled with Swift 2.3. So I have to stuck with Xcode 8 and Swift 2.3.
I try the above mentioned steps without success. The storyboard scene with the CosmosView seems "crashed" and the error doesn't disappear, despite the project compile normally.
I try to use your library directly from code, but in Objective-c seems that I cannot access the settings object for the CosmosView. I can instantitate the view, but how can I change the default settings like, starsize, fillmode etc?
-> CosmosView *rating = [[CosmosView alloc] initWithFrame:CGRectMake(0,0, 199,40)];
Thanks in advance.
Cristiano
from cosmos.
same here :( after updating to xcode8
from cosmos.
The problem seems related to the Xcode automatically refreshing views (Editor -> Automatically Refresh Views) on the Story Board.
from cosmos.
Hi @ctenuta, thanks for your report. To be honest, I have no idea why this is happening. However, here is a way to access Cosmos settings from Objective-C as a workaround: https://github.com/marketplacer/Cosmos/wiki/Using-Cosmos-settings-in-Objective-C
Let me know how it works for you.
from cosmos.
I'll try to use the library direct from code. That's not a big deal! Thanks!!
from cosmos.
same here :/ xcode 8.2.1
from cosmos.
Thanks for reporting, people. Feel free to share your solution if anyone managed to fix it (since I can't reproduce this issue).
from cosmos.
Great library! Thanks for creating it.
I'm also experiencing this issue. I'm on Xcode 10 swift 4.2.
I included the swift file directly (so not using cocoapods or carthage). Not sure if that could cause this?
No biggie, but would be nice if it would work from storyboard. In the mean time I just use in code.
Thanks again!
from cosmos.
Related Issues (20)
- Unwanted behavior in a UIScrollView HOT 4
- Please add macOS support in SwiftUI HOT 3
- How to disable tapping? HOT 2
- How to set empty image for empty start(non partially filled as well) HOT 6
- My image and `withTintColor` HOT 2
- How to prevent didTouchCosmos from issuing a rating
- Can you please build the framework for the Simulator HOT 3
- [Feature Request] Add custom image for half star HOT 4
- Filled color values changing even though the data is not. HOT 6
- Error While installing pod. HOT 1
- Tap gesture recognizer messes up Cosmos HOT 1
- Build failed in Storyboard
- Showing Recent Messages /Package.swift has no Package.swift manifest for version 9.0.0 in https://github.com/evgenyneu/Cosmos.git
- Single star doesn't show precise filling.
- Tapping on Rating always select 3 rating when VoiceOver is on
- Remove rating after giving
- Set custom accessibilityLabel for Cosmos View HOT 1
- demo
- Privacy Manifests HOT 21
- I have error when run demo project
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 cosmos.