Questions tagged [material-swift]

15 questions
3
votes
2 answers

How to position top in iOS swift?

I try to add a material swift card to the top of my view, but it always is shown too high. To set the height of the card fixes the problem but i don't want to set the height. Here is what it looks like. Here is a link to an image which shows how…
2
votes
1 answer

Motion/Material Unbalanced calls to begin/end appearance transitions

I'm using latest version Material library for Swift (2.16.0). And in my project I have NavigationDrawer controller with ToolBarController as root view controller. Then I try to present modally SearchBarController, motion animation worked…
Emmett
  • 464
  • 5
  • 11
2
votes
0 answers

Material Swift tags input field

I am using the material Swift library and am able to implement various controllers and find it useful. I am trying to create a multiple contacts picker that displays the result set with mutiple tags in an input field, much like the behavior of the…
kinghenry14
  • 1,187
  • 1
  • 11
  • 34
1
vote
2 answers

SceneKit texture mapping issue on material

I'm trying to achieve with SceneKit the drawing of a simple set of 4 boxes which are next to each other with textures applied on each of them (Minecraft style) : The texture are like this (png files) : I would like to avoid the small blue lines…
Jonah Begood
  • 317
  • 2
  • 14
1
vote
1 answer

Embedding StackView to MaterialSwift Card Content

I am attempting to use the CardTableView, and I am able to render cards from my API call. However, I am trying to load multiple UILabels and lay them out using UIStackViews within the content area of the card. The toolbar and bottom bar already have…
kinghenry14
  • 1,187
  • 1
  • 11
  • 34
1
vote
1 answer

FABMenuController to share FAB across view controllers

I am following the CardTableView demo code and its way of embedding view controllers so that the FABMenuController is on top. For some reason, the following code works, until I try to add the FABController: let tabs =…
kinghenry14
  • 1,187
  • 1
  • 11
  • 34
1
vote
0 answers

appending ChipIconButton to TextFIeld

I am using cosmicmind Material Swift and am trying to insert contact chips into a text field. I am using the native ContactsUI picker presented modally for a user to select the contacts to send a message to. I am retrieving their display name and…
kinghenry14
  • 1,187
  • 1
  • 11
  • 34
1
vote
1 answer

Adding Click Handler to Navigation Drawer MenuItem MaterialSwift

In the image below I have a navigation drawer successfully working and implemented with cosmic mind material swift library. I am trying to figure out how to add a handler for touch events on any of the menu items, as i cant directly just chain the…
kinghenry14
  • 1,187
  • 1
  • 11
  • 34
1
vote
1 answer

cosmicmind material swift MenuView not closing

I am using cosmicmind material swift library and am following the examples code to try to get the FAB MenuView working. I have copied the code and added the buttons i want, to test i am just testing with 2 buttons. The problem I am facing is with…
kinghenry14
  • 1,187
  • 1
  • 11
  • 34
1
vote
1 answer

CosmicMind Swift Material library programmatic autolayout with stacked menu

I'm using CosmicMind's Material library for swift. I'm trying to get the Menu example to work with programmatic autolayout - where can I find an example of how to make this work? From the examples on Github I haven't figured out a way to use…
DiscDev
  • 38,652
  • 20
  • 117
  • 133
0
votes
1 answer

how to make a VStack span all space?

I'm trying to eliminate the space that the top stack covers, but as much as I need the image to cover the space where the time is shown and the battery is not successful, does anyone have any idea how to do it? I leave a photo of what I want to…
user13485448
0
votes
1 answer

iOS Swift : Material Snackbar showing behind child popup view

I am trying to use material snackbar. Everything works fine if snackbar toast message is shown directly on a view controller. However when a child pop up view is appended to the view (view.addSubView), and the toast is triggered from the child popup…
0
votes
1 answer

How can I use Material RadioButton in iOS as Right to left?

I use Material pod library for adding radioButton to iOS app. but it has an issue in right to left languages. it's label shows on right and I wondering if there is a way to put its label to left of radioIcon. here is my code: rdGroup =…
Mahdi Moqadasi
  • 2,029
  • 4
  • 26
  • 52
0
votes
1 answer

How can you move materials between scenekit scenes in the User Interface? (or share materials)

I have one geometry that has a material I really like. I want to bring in many more geometries and start with the same settings, because it takes along time to balance all the settings and get a nice effect. I've been trying to match the settings or…
TheCodePig
  • 122
  • 10
0
votes
1 answer

Embed Material CardTableView in UINavigationController

I am trying to setup a master/detail view with CardTableView as my root and am having trouble implementing func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) { //code } I want to use a…
kinghenry14
  • 1,187
  • 1
  • 11
  • 34