Comments (8)
- Please do not set
targetHolderRadius
more than 0. - And at that time, the showcase will use the background of your tableview item as target holder.
So, in your storyboard, you should addbackground color
orbackground image
to yourtableview item
's content. I saw that it seem to be transparent currently.
from material-showcase-ios.
Hi @ajaysharmalike ,
Did you check out the sample for TableView case? It worked on your side?
from material-showcase-ios.
@quangctkm9207 Yes, that's working fine in demo. And adding this library to a tableview requires tableview with section & row value only. But this doesn't seems to be working in either case.
from material-showcase-ios.
Can you show me a screenshot?
The code behind TableView item showcase can be found here.
It suggests that
targetHolderRadius
should be 0 and inside TableView item, you should have a background item which is in rectangle shape.from material-showcase-ios.
Can you show me a screenshot?
The code behind TableView item showcase can be found here.
material-showcase-ios/MaterialShowcase/MaterialShowcase.swift
Line 143 in c1ea1ae
@objc public func setTargetView(tableView: UITableView, section: Int, row: Int) {It suggests that
targetHolderRadius
should be 0 and inside TableView item, you should have a background item which is in rectangle shape.
Here are the reference screenshots :
In either of cases, Showcase on cell is not getting rectangle.
from material-showcase-ios.
Yupp ... It worked while setting the background color for the cell ContentView. And shouldSetTintColor to false incase cell contains image.
from material-showcase-ios.
Thanks for your inputs.
from material-showcase-ios.
@ajaysharmalike , Did you solve the issue by yourself?
from material-showcase-ios.
Related Issues (20)
- Does not show correct target according to devices HOT 1
- Some customisable properties does not working anymore as expected HOT 2
- Incorrect width primaryText and secondaryText HOT 1
- Tabar Item not showing when showcase is showing HOT 3
- button target make constrains issue HOT 1
- 'keyWindow' deprecated in iOS 13.0
- If TargetView's frame is scaled, it shows showcase without considering scaled factor
- Use causes 'MaterialCards+Theming' to not work
- Blank Showcase HOT 1
- Background Mask not working on 0.7.2 and above HOT 1
- multiple showcases shown in an sequence
- multiple showcases shown in an sequence HOT 2
- Showcase view will appear once HOT 1
- Showcase view not dismissing if we push a view controller when it is displaying
- What if we have collectionview instead of tableview?
- Dismiss MaterialShowcaseSequence programmatically
- SwiftUI using HOT 6
- MaterialShowcase.swift line 119 MaterialShowcase.setTargetView(view:)
- Text width issue HOT 4
- SwiftUI 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 material-showcase-ios.