This Is A Custom Widget

This Sliding Bar can be switched on or off in theme options, and can take any widget you throw at it or even fill it with your custom HTML Code. Its perfect for grabbing the attention of your viewers. Choose between 1, 2, 3 or 4 columns, set the background color, widget divider color, activate transparency, a top border or fully disable it on desktop and mobile.

This Is A Custom Widget

This Sliding Bar can be switched on or off in theme options, and can take any widget you throw at it or even fill it with your custom HTML Code. Its perfect for grabbing the attention of your viewers. Choose between 1, 2, 3 or 4 columns, set the background color, widget divider color, activate transparency, a top border or fully disable it on desktop and mobile.

Tutorials

/Tutorials
­

Create a Native Apple Watch App for watchOS 2

By |diciembre 24th, 2015|

Create a Native Apple Watch App
In this tutorial, you will learn how to take advantage of new APIs and functionality in watchOS 2 to make a native Apple Watch application. This includes picker interface elements, native animations, and alert controllers.
Introduction
At WWDC 2015, Apple announced the first major update to their Apple Watch platform, watchOS 2. […]

How to use Sqlite with Marmalade

By |noviembre 23rd, 2012|

Add Sqlite to your projects is very easy, you only have to edit your .mkb file and add sqlite extension in your ‘subprojects’ section:

subprojects
{
sqlite
}

Save the file, and execute the .mkb

Import and run sample applications on BlackBerry PlayBook

By |noviembre 21st, 2012|

Importing a sample
If you have downloaded a sample to your computer, you can follow these steps to import it into the QNX Momentics IDE:

Extract the sample zip file to a location on your hard drive.
In the QNX Momentics IDE, on the File menu, click Import.
Under the General folder, click Existing Projects into Workspace, then click Next.
Next to Select root directory, click the Browse button and […]

Adding an OpenGL ES view to your project using NinevehGL

By |noviembre 19th, 2012|

Recently I came across an openGL ES 2.0 engine that made setup, displaying and animating of 3D objects a breeze, called NinevehGL.  This 3D engine has many great features including a full multithreading environment, to keep the main run loop free during object rendering,  motion tweening, object groupings, custom lighting, materials and textures, custom shader support,  and native support for augmented reality, just to name a few. Another major benefit is the ability to import both wavefront (.obj) and Collada (.dae) files. This framework is very easy to use, powerful,  and can be utilized in many different ways. […]

How to develop or migrate apps for iPhone 5 screen resolution?

By |noviembre 11th, 2012|

All apps will continue to work in the vertically stretched screen from what I could tell in today’s presentation. They will be letterboxed or basically the extra 88 points in height would simply be black.

If you only plan to support iOS 6+, then definitely consider using Auto Layout. It removes all fixed layout handling and […]

dismissModalViewControllerAnimated not working on parentViewController

By |noviembre 9th, 2012|

However self.parentViewController not working is in fact new to iOS 5. It has been ‘replaced’ with self.presentingViewController.

This causes an interesting problem for code trying to be pre-iOS 5 compatible. Since as you have foundself.parentViewController returns nil on iOS 5. And UIViewControllers do not respond topresentingViewController pre-iOS 5.

It leaves us doing something like this:

if (){
;
}
else {
;
}

Convert NSArray to NSDictionary

By |noviembre 8th, 2012|

Is very easy, you only have to use this method:

 

– (NSDictionary *) indexKeyedDictionaryFromArray:(NSArray *)array

{

id objectInstance;

NSUInteger indexKey = 0;

NSMutableDictionary *mutableDictionary = init];

for (objectInstance in array)

];

return (NSDictionary *);

}

Tutorial: How to localize an iOS app with XCode 4

By |noviembre 4th, 2012|

1. Add new localization

2. Then for each of your XIB you want to localize, click on it, go to the property panel and add wanted languages. The unique XIB file will be then dispatched into many files, one for each language. Then just adapt each one as wanted.

3. Select root node of project tree to get project’s […]

UITableView Cells with Dinamic Height

By |octubre 10th, 2012|

Add this code in heightForRowAtIndexPath

– (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath

{

//label width: 269

CGSize size = CGSizeMake(269, CGFLOAT_MAX);

size = constrainedToSize:size lineBreakMode:UILineBreakModeWordWrap];

CGFloat height = size.height;

//label height: 16

return MAX(height, 16);

 

}

Add or hide Keyboard bottons in iOS

By |octubre 4th, 2012|

In a project I’m developing, I need to hide the language button of the keyboard. To do this I thought of adding a new button with the same background color as  the keyboard background color.

If you have this problem use this code to fix it.

– (BOOL)textFieldShouldBeginEditing:(UITextField *)textField{

addObserver:self selector:@selector(keyboardDidShow:) name:UIKeyboardDidShowNotification object:nil];

}

-(void) keyboardDidShow:(NSNotification *)aNotification{

;

}

– (void)hideLanguageButtonInKeyboard:(UITextField *)textField

{

UIButton *doneButton = […]

Powered by themekiller.com