Skip to content

Instantly share code, notes, and snippets.

View AdiletAbylov's full-sized avatar

Adilet Abylov AdiletAbylov

  • Bishkek, Kyrgyzstan
View GitHub Profile
NSTextAttachment *attachment = [NSTextAttachment new];
attachment.image = [[UIImage imageNamed:@"iconBookmarkhint.png"] resizedImageToFitInSize:(CGSize){10,10} scaleIfSmaller:YES];
NSMutableAttributedString *imageAttrString = [[NSAttributedString attributedStringWithAttachment:attachment] mutableCopy];
NSMutableAttributedString *attributedString1 = [[NSMutableAttributedString alloc] initWithString:@"To save a chat message, tap and hold the message and use the"
attributes:@{NSFontAttributeName : [UIFont fontWithName:@"HelveticaNeue-Light" size:13],
NSForegroundColorAttributeName : [UIColor blackColor]}];
NSAttributedString *attributedString2 = [[NSAttributedString alloc] initWithString:@"button"
{
airline = KC;
"combination_id" = 0;
"e_ticket" = 1;
flights = (
{
"direction_id" = 0;
"elapsed_time" = 870;
segments = (
{
[debug] Starting environment with new testchain
Testchain configuration:
%{
accounts: 2,
block_mine_time: 0,
clean_on_stop: true,
deploy_ref: "",
deploy_step_id: 0,
description: "",
id: "5948847470890965933",