Skip to content

Instantly share code, notes, and snippets.

Nikos Maounis psy2k

Block or report user

Report or block psy2k

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
@psy2k
psy2k / Array+Extension.swift
Created Jan 24, 2016
Simple swift array extension
View Array+Extension.swift
//
// Array+Extension.swift
// Array+Extension
//
// Created by Nikos Maounis on 24/1/16.
// Copyright © 2016 Nikos Maounis. All rights reserved.
//
import Foundation
@psy2k
psy2k / PopUpFadeIn.m
Last active Dec 30, 2015
Fade in of the PopUpViewController
View PopUpFadeIn.m
- (void)showAnimate
{
self.view.transform = CGAffineTransformMakeScale(1.3, 1.3);
self.view.alpha = 0;
[UIView animateWithDuration:.25 animations:^{
self.view.alpha = 1;
self.view.transform = CGAffineTransformMakeScale(1, 1);
}];
}
View UIImage+UISegmentIconAndText.h
#import <UIKit/UIKit.h>
@interface UIImage (UISegmentIconAndText)
+ (id) imageFromImage:(UIImage*)image string:(NSString*)string color:(UIColor*)color;
@end
You can’t perform that action at this time.