How to create .pem for apple push notification


To enable Push Notification for your iOS app, we will need you to create and upload the Apple Push Notification Certificate (.pem file) to us so we will be able to connect to Apple Push Server on your behalf. Step 1: Login to iOS Provisioning Portal, click "Certificates" on the left navigation bar. Then, click... Continue Reading →

Advertisements

CoreData Day-1 :: What is coreData ?


Core Data:: Core Data is an object graph and persistence framework provided by Apple in the Mac OS X and iOS operating systems. It was introduced in Mac OS X 10.4 Tiger and iOS with iPhone SDK 3.0. It allows dataorganised by the relational entity–attribute model to be serialised into XML, binary, or SQLite stores.... Continue Reading →

Common method in Swift


1. Check for any field empty in NSDictionary class func checkforEmptyValueinDictioanty(dic:NSDictionary)-> Bool{ for (keyVal, dataVal) in dic {   if (dataVal.length()==0){                 println("\(keyVal): \(dataVal.length())")                 return false             }                 ... Continue Reading →

Use different font text in a Label in swift


let secondLabel=UILabel(frame: CGRectMake(0, 16, _screenWidth-2, 20))         secondLabel.textColor=UIColor.whiteColor()         secondLabel.textAlignment=NSTextAlignment.Center         secondLabel.font=UIFont(name: "Arial", size: 12)         bottomView.addSubview(secondLabel)                  let attrSting=NSMutableAttributedString(string: "I agree to the Terms of Service and Privacy Policy.")             ... Continue Reading →

Pop to specific View controller in iOS


First Method ::- (void) RetunToSpecificViewController{ for (UIViewController *controller in self.navigationController.viewControllers) { if ([controller isKindOfClass:[AnOldViewController class]]) { //Do not forget to import AnOldViewController.h [self.navigationController popToViewController:controller animated:YES]; break; } } Second Method ::NSArray *array = [self.navigationController viewControllers]; [self.navigationController popToViewController:[array objectAtIndex:2] animated:YES];Best Of Luck.

Sencha Navigation Tutorial


1. Main panel issues are resolved now. 2. There are multiple viewport files in the development version. Keep only one while creating production or testing build with Sencha. Because Sencha by default includes all the classes of same name in the build. —————————————————————————————— Slide navigation in mobile apps is a huge hit now-a-days. Starting from... Continue Reading →

Sencha Tutorial Part -4


In this article, we are going to complete the following tasks:Add the delete note feature to the Note Editor View.Implement the navigation back to the Notes List Container View when the Home button in the Note Editor View is tapped.Modify the Notes List Container View so it renders the notes grouped by date.Deleting Records from a Sencha... Continue Reading →

Blog at WordPress.com.

Up ↑

%d bloggers like this: