How to generate code form .raml with raml2code - code-generation

I am trying to generate a code from .raml file using raml2code (https://github.com/gextech/raml2code).
Unfortunately the description isn't very good and I can't figure out how to do that.
Can anyone show me any example?

Hi I added more documentation, and also I'm working in a example project:
https://github.com/atomsfat/raml2codeFullSpringExample
Hope this help you

Related

In material-ui version 1.0.0 how to set ../tileData file?

I am using this :- https://material-ui-1dab0.firebaseapp.com/demos/drawers/
but I cant understand how to set ./tileData file which they imported. I think it will array
Can anyone suggest me or post that file
This is the tileData. You can find it in source code.
https://github.com/mui-org/material-ui/blob/master/docs/src/pages/demos/drawers/tileData.js
This link might help you find it if it moves again:
https://www.google.com/search?q=material-ui+docs+demos+src+drawers+tiledata.js+site%3Agithub.com

Why can't I find control using sap.ui.getCore().byId()?

I'm trying to access an input control in the controller but I'm not able to fetch it.
I'm using
sap.ui.getCore().byId("id of the input");
I faced a similar issue when I started using UI5. The id is not the same anymore because Sap UI5 dynamically concatenates some other properties to your id so it will be different. Hope this helps. try finding out the id after it has been changed by the resources.
https://openui5.hana.ondemand.com/#docs/guide/91f28be26f4d1014b6dd926db0e91070.html Hope this doc will help you.
You should use relative navigation(this.getView().byId('myId')). Absolute Navigation(sap.ui.getcore().byId('myId')) is not recommended, since that will not work anymore if you change like local project to FioriLaunchpad.
I think the source code of byId of Controller and createId of View explains a lot.
Try the following:
this.byId('controlId')
Or:
this.getView().byId('controlId')
See Difference Between this.getView().byId(), this.byId(), and sap.ui.getCore().byId()

Using instagram filters from an open source library

GPUIMage helped alot but exact result like instagram is not there. Found a new library but Not able to figure out how to use this. Any suggestions ?
https://github.com/binhdna/Instagram-Filters
Check this git.. code is provided..so this will help you the most..
https://github.com/OmidH/Filtrr
Hope it Help to you :)

OpenCV and iOS - Getting started

I am new to iOS development and apologies for a basic question. I am trying to convert an image to grayscaled and threshold it using openCV in iOS. So far, I have imported and setup the framework on xcode. What I am trying to do now is to implement the following features:
http://www.youtube.com/watch?feature=player_embedded&v=Ko3K_xdhJ1I
at 0:24 and 0:53
I tried to follow the tutorial which points to the above youtube video :
http://docs.opencv.org/doc/tutorials/ios/image_manipulation/image_manipulation.html
and wasn't sure where to paste the above code and in which file?
Many thanks.
Kind Regards.
These are helper methods and best written in a separate file. Quite simply,
http://answers.oreilly.com/topic/631-how-to-get-c-and-objective-c-to-play-nicely-in-xcode/
Put all that image manipulation code in say ImageManipulationHelper.mm and create a header file for the same
Create a nice little category for UIImage.
http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/ProgrammingWithObjectiveC/CustomizingExistingClasses/CustomizingExistingClasses.html
which can call these methods in turn to create any image manipulation you might want.
Easy does it. And yeah, read up a bit more on using C++ in objectiveC, if you get into trouble and also about categories. They are some of the niftier features of objectivec
I achieved the same,using the help of this awesome link
Let me know if you need any further help.
Cheers!!
Edit :
Check this out ImageFiltering

how to add haru library to Xcode 4.1 project

i recently find haro library for pdf generation and i get a iPhonepdf sample from https://github.com/akisute/iPhonePDF, the sample works fine but actually i could nt use the library in my project, i do step by step as http://kishorek.com/?s=pdf&searchsubmit= said, but finally i got error :
Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/llvm-gcc-4.2 failed with exit code 1
is there anyone to use it before to help ...
thanks in advance
Do you only want to use haru library?? If it is not really needed.. then below link is really good for generating any type of PDFs. Also manipulating functions inside this link is really easy.. And integrations is also too easy without any additional framework and also fast.... Please follow the link
http://www.ioslearner.com/generate-pdf-programmatically-iphoneipad/