tableView . backgroundView = UIImageView (image: UIImage (named: "Background" ))
Read More
Map directions swift 4
UIApplication . shared . open ( URL (string: "http://www.maps.apple.com/maps?daddr= \ ( latitude ), \ ( longitu...
Read More
keyboard moving using Nsnotification swift 4
class ViewController: UIViewController { @IBOutlet weak var userNameTF: UITextField ...
Read More
Time and date formatter in swift 4
import UIKit class TimeDateController: UIViewController { @IBOutlet weak var timeLabel: UILabel ! ...
Read More
simple timer in swift 4
import UIKit class ViewController: UIViewController { @IBOutlet weak var timerLabel: UILabel ! var timer...
Read More
alertview Controller (Swift 4 )
let alertController = UIAlertController (title: "Name not provided" , message: "Provide a nam...
Read More
create View and label button Programatically (swift 4)
** property of imageview and label let artworkView = UIImageView () let storyLabel = UI...
Read More
datapassing b/w viewcontroller with segue (swift 4 )
override func prepare(for segue: UIStoryboardSegue , sender: Any ?) { if segue. identifier == ...
Read More
collection cell button click change the cell image
-( void )buttonAct:( UIButton *)sender { NSLog ( @"%ld" ,( long )sender. tag ); UICollectionViewCell *ce...
Read More
circular image in storyboard
layer.masksToBounds Bollean YES layer.cornerRadius Number (half of the width) ex:30 :15
Read More
youtube in app collection view
vc. #import <UIKit/UIKit.h> @interface ScreenViewController : UIViewController < UICollectionViewDelegate , UICollectionVi...
Read More
sticky header tableview
vc.h #import <UIKit/UIKit.h> @interface StickyViewController : UIViewController < UITableViewDelegate , UITableViewD...
Read More
Subscribe to:
Posts (Atom)