Skip to content
This repository was archived by the owner on Nov 8, 2021. It is now read-only.

Commit c9f7bbc

Browse files
committed
Replace int with NSInteger
1 parent 6df9305 commit c9f7bbc

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

IRLCamera.storyboard

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
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>

Source/Private/CIImage+Utilities.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)