Skip to content

Instantly share code, notes, and snippets.

😀
Happy

Ankit Shah shahankit

😀
Happy
Block or report user

Report or block shahankit

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@shahankit
shahankit / ContentCell.swift
Created Aug 10, 2018
iOS: Rendering bordered text in UILabel
View ContentCell.swift
import UIKit
class ContentCell: UITableViewCell {
@IBOutlet weak var titleLabel: HighlightedTextLabel!
override func awakeFromNib() {
super.awakeFromNib()
// Initialization code
}
@shahankit
shahankit / cloudSettings
Last active Aug 12, 2019
Visual Studio Code Sync Settings GIST
View cloudSettings
{"lastUpload":"2019-08-12T06:29:23.104Z","extensionVersion":"v3.4.1"}
@shahankit
shahankit / shadow.swift
Created Sep 11, 2015
ios: Adding shadow to view
View shadow.swift
recCardView.layer.shadowColor = UIColor.blackColor().CGColor
recCardView.layer.shadowOffset = CGSizeMake(0, 1)
recCardView.layer.shadowOpacity = 0.3
recCardView.layer.shadowRadius = 1.0
recCardView.layer.shadowPath = UIBezierPath(roundedRect: recCardView.bounds, cornerRadius: 2.0).CGPath
You can’t perform that action at this time.