152 questions
0
votes
0
answers
72
views
Shape issue in my python code related to fitting using the power law
I tried to fit the flux of cosmic rays versus energy for AllParticles&H. I used the CRDB package to extract the data. Then, i used the power law to fit. However, the shape of x is (1236,) and the ...
0
votes
1
answer
82
views
Wrapping text on TitleLabel and DetailLabel - Material Card
I am using CosmicMind - Material Framework to create a Card. titleLabel and DetailLabel do not wrap to a new line.
My question is: What do I need to do to accomplish such task and is it supposed to ...
2
votes
1
answer
84
views
Problem Search Predicate with graph ver 3.1.1
the graph version was updated via cocoapods all 3.1.1
now however the application notifies me of errors when I use the search, I think I have solved the problem in part but it still notifies me error,...
-1
votes
1
answer
66
views
Import and export db in graph
thanks for the work done, graph is fantastic!
I would have a question is it possible to export and import all the database created?
Thank you
0
votes
1
answer
97
views
how do implement action on switch with Material (CosmicMind)
i'm trying to add a switch in my app. I added it in the storyboard (IUView with Switch class and Material module. I customed it in my viewcontroller but I don't know how to do the action on it.
I ...
0
votes
1
answer
314
views
CosmicMind/Material : How to change CheckButton Selected Colour in iOS
I am using CheckButton and I am not able to change its selected color for selected state.
0
votes
0
answers
131
views
CosmicMind Material TextField : Adjust TextField position when it becomes first responder
I have a view and I have two Material Textfields in it. The problem is when I have to show detail Message or when the I click on text field the placeholder moves up. So if the space between fields is ...
0
votes
1
answer
58
views
iOS App going in background - Need to remove removeFilePresenter using Graph
I have a timer running in my app. When the app goes in background I realized I need to removeFilePresenter because otherwise the process is killed and when I am back in foreground my table cannot ...
2
votes
1
answer
94
views
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 ...
0
votes
2
answers
129
views
Cosmic Mind - How to resize view when TabsController is implemented
I am having a problem on inserting a title to this screen.
How can I resize this view?
Here's my code where the TabsController is implemented:
class DashboardViewController: TabsController {
...
0
votes
0
answers
92
views
Migrate database from local to cloud with graph
i would like to implement the cloud feature of graph.
I ve searched on cosmicmind site, on the github repo (looking for wiki), and through the issues (closed).
I have just learnt that feature is ...
1
vote
0
answers
59
views
How to retrive all fields in a table using Graph
There's a way to retrive all the fields in a table?
I need to provide a system where the user can create custom field for a certain table
I tried this but got an unexpected crash
let db : Graph = ...
0
votes
1
answer
356
views
TextField not show bottom line when value is empty string Material Swift
I'm using material textfield in a view. But when this textfield's value is empty string the underline is not be shown. How can I fix it?
In the below image: email2 has empty string and the underline ...
0
votes
1
answer
164
views
How to make the divider animate when switching tabs iOS material by cosmic mind
How do I animate the divider so that the divider on top of the TabBar slides left or right depending on the tab I'm currently on? I have looked at the sample application but it doesn't have a sliding ...
0
votes
0
answers
66
views
Creating custom views using view.layout()
When creating custom views, I generally create an initialization function by overriding the init(frame) function. When creating the view in my ViewController I initialize the view by passing in the ....
-2
votes
1
answer
434
views
Are there any plans to support Swift 4 with Material?
I'm using Material framework under Swift 3.1 (Xcode 8.x), but now under Swift 4 (Xcode 9) it is not able to compile... are there any plans to convert to Swift 4?
0
votes
1
answer
115
views
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
}...
-1
votes
1
answer
59
views
cosmicmind horizontal layout children not display
I want to use the following cosmicmind code to display two view horizontally, but it's just show nothing, could somebody tell me what's wrong with it?
my ios version is 10.2, cosmicmind version is 2....
1
vote
1
answer
234
views
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 ...
0
votes
1
answer
123
views
PageTabBarController Material not as rootviewcontroller
Using the example found here:
https://github.com/CosmicMind/Samples/tree/master/Projects/Programmatic/PageTabBarController
How can I reproduce this without making any of the viewcontrollers as the ...
1
vote
1
answer
1k
views
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 ...
1
vote
2
answers
212
views
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 ...
-2
votes
1
answer
63
views
Uploading iOS App on App store developed with Material library
What other precautions need to take care of, while uploading iOS app on app store developed by using Material Library
Thanking you,
2
votes
0
answers
78
views
Material Swift tags input field [duplicate]
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 ...
0
votes
1
answer
472
views
Material swift : UIView with Searchbar and TabBar moves out of view swift 3
I have SearchBar and TabBar on a view which i created using CosmicMind Swift Material framework for swift (https://github.com/CosmicMind/Material). Below is the code i have for setting up the view:
...