Skip to content

Instantly share code, notes, and snippets.

View himanshu-benzatine's full-sized avatar

himanshu-benzatine

View GitHub Profile
@himanshu-benzatine
himanshu-benzatine / CustomPhotoAlbum.swift
Last active April 23, 2021 11:55
Create album in device
import Photos
class CustomPhotoAlbum: NSObject {
static let albumName = "StrickerApp" // here put your album name
static let sharedInstance = CustomPhotoAlbum()
var assetCollection: PHAssetCollection!
override init() {
super.init()
@interface RegisterSpecializeViewController : UIViewController<UICollectionViewDataSource,UICollectionViewDelegate,UIImagePickerControllerDelegate,UINavigationControllerDelegate,UINavigationControllerDelegate>
{
NSString *updateImgKey;
NSInteger imagePickerSelFor;
NSArray *keysOfProfileImg;
float xPoz;
NSString *tempFileName;
NSMutableDictionary *CertificatephotoData;
@himanshu-benzatine
himanshu-benzatine / infoViewController.m
Last active November 16, 2016 12:37
in this file code for draw route in map.
//
// infoViewController.m
// Googlemapintegration
//
// Created by Benzatine Infotech on 15/03/16.
// Copyright © 2016 Benzatine Infotech. All rights reserved.
//
#import "infoViewController.h"
#import "HCSStarRatingView/HCSStarRatingView.h"
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>