Questions tagged [cosmicmind]

Used for CosmicMind projects - Material, MaterialX, Motion, Graph, Algorithm, Events, and Capture.

Used for CosmicMind projects - Material, Material X, Motion, Graph, Algorithm, Events, and Capture.

152 questions
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
2 answers

How to place the TextField's divider under the LeftView as well by using Cosmicmind/Material TextField

I am using TextField by using Material Library. That's what the default implementation(Divider is under the Text Area only). Is there any way to put the divider under the LeftView/Image and decrease the gap between Image and Text (like this). Any…
Soumen
  • 2,070
  • 21
  • 25
1
vote
0 answers

How to integrate BottomNavigation with NavigationDrawer using material library

This is my AppBottomNavigationController.swift file import UIKit import Material class AppBottomNavigationController: BottomNavigationController { open override func prepare() { super.prepare() prepareTabBar() } …
Harshal Pathak
  • 757
  • 1
  • 6
  • 18
1
vote
2 answers

Add Tab bar below Status bar using Material iOS

How to add tabbar below navigation bar using the Material's pod by CosmicMind I was able to achieve this but it was touching the status bar like this I want this to be below the status bar.
Ankit Kumar Gupta
  • 3,994
  • 4
  • 31
  • 54
1
vote
1 answer

how to reduce the space of animated placeholder text in material Textfield using CosmicMinds Material library?

I am using CosmicMinds Material library for one of my projects. I am facing one issue with hover text. I would like to reduce the space between which i am unable to figure out.Attached Image My SampleCode: func prepareChangePasswordField() { …
1
vote
0 answers

Why cannot I put this card on a UIScrollView correctly?

I have specified the frame of a Card, why can't I add this card to a scrollView? When I try to add it to a UIScrollView, it will just become a withe bar. Cannot display the content(which is a label), or the toolbar(with title and detail and an…
aUcid
  • 23
  • 5
1
vote
2 answers

Material Ripple Effect for UICollectionView Cell

I am trying to create a material ripple effect for a UICollectioView cell. For Android, there are several material design options to do so, but for iOS that does not appear to be the case. Below is my custom cell I am using as the prototype to…
tccpg288
  • 3,242
  • 5
  • 35
  • 80
1
vote
0 answers

How create a CosmicMind CardTableView without AppDelegate Swift

I need to create this view by calling it from another view, I need to be able to create the view without the appdelegate. I need help with this. Thanks func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions:…
1
vote
1 answer

ComicMind Material TextField Tint Color Not Changing

I've read the guidelines for contributing of Cosmic Mind Material library for iOS. I can't seem to change the tint color or the cursor of the TextField. Here's my category code: func setupCustomTextField(textColor: UIColor, placeHolder: String?,…
Glenn Posadas
  • 12,555
  • 6
  • 54
  • 95
1
vote
0 answers

How do you transition tab bar controller programmatically, i need to switch the selected index with code and not by swiping

AppPageTabBarController(viewControllers: [Controller1, Controller2, Controller3], selectedIndex: 0)
1
vote
0 answers

How do i disable copy paste menu in Error Text field when long press (magnifying glass comes up)

func canPerformAction(action: Selector, withSender sender: AnyObject?) -> Bool { // Disable copy, select all, paste if action == #selector(UIResponderStandardEditActions.copy(:)) || action ==…
1
vote
2 answers

Cosmicmind/Material: How do i implement PageTabBarController without using AppDelegate.swift?

as we know, to implement PageTabBarController, we need to insert these code in AppDelegate.swift: func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: let viewControllers =…
calvin sugianto
  • 610
  • 7
  • 27
1
vote
1 answer

CosmicMind/Material Textfield's PlaceHolder over left view

Iam using CosmicMind / Material framework trying to put an icon on the left side of the placeholder but the place holder and the image overlay each other here is my code Txtemail.placeholder = "EmailAdress" Txtemail.detail = "This…
Tarek hemdan
  • 874
  • 2
  • 10
  • 24
1
vote
1 answer

how to open the Navigation drawer on the click of menu Icon?

i am using navigation controller and Navigation drawer controller on the same UIViewController but i don't know how to open the navigation drawer on the click of the menu button. Someone suggest me please.
Ayush sharma
  • 169
  • 7
1
2
3
10 11