
Search In
To Implement Facebook login in swift 3.0, we can use following steps.
1. install pod
pod 'FacebookCore'
pod 'FacebookLogin'
2.Register your app on the Facebook developer account. After registration,Go to you info.plist, right click on it
Hello everyone , In my previous blog I have discussed about a new technology introduced by Microsoft i.e METRO UI.
I hope you all have got an overview about METRO UI which I have discussed in my previous block.
But , today I w
Hi Readers,
Below are two simple lines you need to add to your code for changing the font and color of the UITextField's Placeholder.
_txttest.font = [UIFont fontWithName:@"HelveticaNeue-Thin" size:30.0f];
_txttest.attributedPlaceholder = [
Hammer.js is a open-source library used for identifying touch gesture, mouse events and pointer Events. It is a standalone library .
link for downloading library
http://hammerjs.github.io/dist/hammer.min.js
Below is the code snippet to use the hamm
Hi! I'm trying to develop an application.But i'm a little bit confused about auth.I've seen more examples from github but their code are realy difficult and it's very hard to understand it .I need if it's possible,a small working example to understan
If you want to define class and attributes in OpenERP use below code -
from osv import osv, fields
class travel_hostel(osv.osv):
_name = ’travel.hostel’
_inherit = ’res.partner’
_columns = {
’rooms_id’: fields.one2many(’travel.room’, ’hostel_id’, ’
If you want to define Functional field in OpenERP use below code -
class Demo1 (osv.osv):
_name = ’Demo1’
_description = ’Contract’
_columns = {
’name’ : fields.char(’Contract Name’, size=30, required=True),
’employee_id’ : fields.many2one(’employee
If you want to define many2many field in OpenERP use like below code -
class test (osv.osv):
_inherit='sale.order.line'
_columns={
'product1_cat':fields.char('product academy'),
'product&_cat':fields.many2one('produc
To add a separator line separator string is used, below us the way to do this.
Go to .xml file and use the below code .
<separator string="Session" colspan="4"/>
<field name="session" nolabel="1">
<tree>
<field name="name"/>
If you want to use _inherit and _name attributes together in OpenERP use below code -
class sale_order(osv.osv):
_name = "sale.order"
_inherit = ['mail.thread', 'ir.needaction_mixin']
_description = "Sales Order"
_track = {
'
