I'm trying to show on rallycardboard all Tasks with WorkProduct._type==TestSet
but when I try to filter by WorkProduct._type I got an error. Seems like it is not allowed to use _type of a child object as a filter property.
If so, maybe it is possible to use some custom store with CardBoard in sdk 2.0p5, as I normally do with rallygrid. Haven't found store option in CardBoard configs list.
Appreciate any ideas.
Related
I am making an app for iPhone that wants to fetch some data from Google Calendar, and I am programming in Swift. The data I want to fetch is location, time, date and title of event. I have not been able to find out how one gets the location data from Google Calendar. I know it exist in the pods to GoogleClientForRest/Calendar, but I am not able to access it. I thought I could access it from GTLRCalendar_Event, but it does available under this.
Xcode Error:
Can somebody please help me with this?
In your code you are using
GTLRCalendar_Event.location
This is the class itself, not an instance of it, so it has no data.
You need to use the instantiated object to fetch the properties.
Having a quick scan over the SDK you are using when you fetch a list of calendar entries it looks like you get a list of type [GTLRCalendar_CalendarListEntry] this type also has a location property which it looks like you could use.
If you could show more of your code I could give you a more specific answer as I haven't used this SDK in a while
I'm still a newbie in react native and it's also my first time using Firebase database. So, using the official documentation i've managed to add items (composed only by title ) in the database but only using an alertIos.
Now I need to navigate to other screen, add items and I need the items themselves composed by title and genre for example. Thank you
PS: here is the tutorial that i used : https://firebase.googleblog.com/2016/01/the-beginners-guide-to-react-native-and_84.html
Also, I used a workaround when accessing to the Firebase database : i changed the rules to read and write for everybody (thing I'm sure is wrong), so can you help me access in a secure way.
On our website, it is possible to tag content by a country list. This country list could be implemented as a tag control but I'm concerned about mis-spellings creeping in over time. However, the country list is very long (150+) so not ideal for a dropdown multiple control either.
What I'm looking to do is have a control that has the same type + autocomplete functionality as the existing tags control but limit the possible values to those retrieved from a database table.
I also want to be able to list all tags that a piece of content has been tagged against as well as searching for content based on tags e.g. GetNodesWithTags
Has anyone developed anything like this before? I've had a look at packages etc but can't see anything similar. Does anyone have any advice before I start off?
Definitely, using Tags datatype for this may cause a lot of problems :)
In my opinion, the perfect solution will be to use nuPickers (https://our.umbraco.org/projects/backoffice-extensions/nupickers/) package and available there TypeaheadList Picker.
Depending of your additional requirements, you may use Lucene index / C# accessed source (totally custom - db, static, enum etc.) / XML file source as a prevalues for your control.
Then, you'll be able to create logic which will enable you to perform search based on this field as it will be a typical property with value on the nodes. Once again - suggested way is to use Lucene Examine index as it's tailored to be fast with searching. You can read more about searching with Examine here: https://our.umbraco.org/documentation/reference/searching/examine/.
Hopefully it will solve your problem.
Is it possible to use Google App Script to create fusion table views (from an existing FT) and, optionally with filter settings? I need to enumerate the columns of the FT (which I know how to do) and create different views and ideally, I need to get their URLs too. I have not seen any documentation or examples that discuss this.
OK, I found the docs that show how to do this. See: https://developers.google.com/fusiontables/docs/v2/sql-reference#createView
I'm an absolute newbie on iOS Development at the minute so please pardon me if this seems like such a simple question to ask.
I want to build a project - almost like a note taking application - in which the user will be able to associate tags to their inputs. I'm sure many have seen them before - it's used in things like hashtags, or to give an example of an iOS app - Journalling apps like DayOne have it. It's basically used to generate tags for easy retrieval of a particular article.
My question is - how do you go about creating these kinds of tags? Particularly - how do you implement the tagging system that can generate custom tags for articles in the app?
Is it something that is built into Cocoa/SDK or do i have to look at something more complex like Core Data (NSPredicates) to learn how to create something like that?
OR is it something that has to be done programatically rather than a built in system in SDK?
Thanks.
In a super simple form (i.e. there are many ways you can build on this to make it scalable):
If each note is text, create an object with properties for the text and the tags
Make the tags property an array of strings
Store the notes in an array initially (archive to save to disk, or just practice with a non-saved version)
Make the user enter the tags (auto-tagging is an interesting topic...)
Consider using a token field (google for 3rd party implementations) for tag entry
Now, when a user starts a search for tagged content, iterate through each of the notes you have and run a predicate on the tag array. This could be done using NSPredicate, or you could ensure that all tags are saved in lower case and, to start with, require exact matching - so you could use '[tagArray containsObject:userEnteredTag];`
Then:
Look at real predicates
Look at Core Data (or SQLite if you love it)
You will need to use Core Data or SQLite3. Personally I would use SQLite but it is down to preference. I have used both but if you have any SQL knowledge then I wouldn't use Core Data. Having created an app with CoreData and using a lot of NSPredicates I found that the app had a lot of bug that appeared over time.
I changed it to use SQLite and now it runs perfectly.
As you are new to iOS I would recommend you take a look at Ray Wenderlich's tutorials. I learnt a lot from there.
http://www.raywenderlich.com/913/sqlite-tutorial-for-ios-making-our-app