This repository was archived by the owner on Nov 8, 2021. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
2- <document type =" com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version =" 3.0" toolsVersion =" 11542 " systemVersion = " 16B2555 " targetRuntime =" iOS.CocoaTouch" propertyAccessControl =" none" useAutolayout =" YES" useTraitCollections =" YES" colorMatched =" YES" initialViewController =" vXZ-lx-hvc" >
2+ <document type =" com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version =" 3.0" toolsVersion =" 13529 " targetRuntime =" iOS.CocoaTouch" propertyAccessControl =" none" useAutolayout =" YES" useTraitCollections =" YES" colorMatched =" YES" initialViewController =" vXZ-lx-hvc" >
33 <device id =" retina4_7" orientation =" portrait" >
44 <adaptation id =" fullscreen" />
55 </device >
66 <dependencies >
7- <plugIn identifier =" com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version =" 11524 " />
7+ <plugIn identifier =" com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version =" 13527 " />
88 <capability name =" Aspect ratio constraints" minToolsVersion =" 5.1" />
99 <capability name =" documents saved in the Xcode 8 format" minToolsVersion =" 8.0" />
1010 </dependencies >
Original file line number Diff line number Diff line change @@ -19,11 +19,11 @@ + (CIImage *)imageGradientImage:(CGFloat)threshold {
1919 CGRect copy = r;
2020 UIGraphicsBeginImageContextWithOptions (size, NO , 0.0 );
2121
22- int points = 200 ;
22+ NSInteger points = 200 ;
2323 [[UIColor whiteColor ] setFill ];
2424 [[UIBezierPath bezierPathWithRect: r] fill ];
2525 r.size .width = r.size .width * threshold;
26- for (int i=0 ;i<points;i++){
26+ for (NSInteger i=0 ;i<points;i++){
2727 // CGFloat sigm = (points - i)/(CGFloat)points;
2828 CGFloat sigm = 1.0 /(1.0 + exp (-(10.0 * (points/2 -i)/((CGFloat)points))));
2929
You can’t perform that action at this time.
0 commit comments