Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 0 additions & 22 deletions Classes/UIImage_PDF_exampleAppDelegate.h

This file was deleted.

22 changes: 22 additions & 0 deletions Example/Classes/AppDelegate.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
//
// AppDelegate.h
// UIImage+PDF example
//
// Created by Nigel Barber on 15/10/2011.
// Copyright 2011 Mindbrix. All rights reserved.
//

#import <UIKit/UIKit.h>

@class ViewController;

@interface AppDelegate : NSObject <UIApplicationDelegate> {
UIWindow *window;
ViewController *viewController;
}

@property (nonatomic, retain) IBOutlet UIWindow *window;
@property (nonatomic, retain) IBOutlet ViewController *viewController;

@end

Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
//
// UIImage_PDF_exampleAppDelegate.m
// AppDelegate.m
// UIImage+PDF example
//
// Created by Nigel Barber on 15/10/2011.
// Copyright 2011 Mindbrix. All rights reserved.
//

#import "UIImage_PDF_exampleAppDelegate.h"
#import "UIImage_PDF_exampleViewController.h"
#import "AppDelegate.h"
#import "ViewController.h"

@implementation UIImage_PDF_exampleAppDelegate
@implementation AppDelegate

@synthesize window;
@synthesize viewController;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// UIImage_PDF_exampleViewController.h
// ViewController.h
// UIImage+PDF example
//
// Created by Nigel Barber on 15/10/2011.
Expand All @@ -8,10 +8,10 @@

#import <UIKit/UIKit.h>

#import "UIImage+PDF.h"
@import UIImage_PDF;


@interface UIImage_PDF_exampleViewController : UIViewController {
@interface ViewController : UIViewController {

}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
//
// UIImage_PDF_exampleViewController.m
// ViewController.m
// UIImage+PDF example
//
// Created by Nigel Barber on 15/10/2011.
// Copyright 2011 Mindbrix. All rights reserved.
//

#import "UIImage_PDF_exampleViewController.h"
#import "ViewController.h"

@interface UIImage_PDF_exampleViewController ()
@interface ViewController ()

@property (nonatomic, strong) NSMutableArray *collection;

@end

@implementation UIImage_PDF_exampleViewController
@implementation ViewController



Expand Down Expand Up @@ -77,11 +77,6 @@ - (void)didReceiveMemoryWarning {
// Release any cached data, images, etc that aren't in use.
}

- (void)viewDidUnload {
// Release any retained subviews of the main view.
// e.g. self.myOutlet = nil;
}


- (void)dealloc {
[super dealloc];
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,15 @@
<key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string>
<key>CFBundleIdentifier</key>
<string>com.yourcompany.${PRODUCT_NAME:rfc1034identifier}</string>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>${PRODUCT_NAME}</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
33 changes: 33 additions & 0 deletions Example/Resources/MainWindow.xib
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="20037" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" colorMatched="YES">
<device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="20020"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="UIApplication">
<connections>
<outlet property="delegate" destination="3" id="4"/>
</connections>
</placeholder>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<customObject id="3" userLabel=" App Delegate" customClass="AppDelegate">
<connections>
<outlet property="viewController" destination="10" id="11"/>
<outlet property="window" destination="12" id="14"/>
</connections>
</customObject>
<viewController nibName="ViewController" id="10" customClass="ViewController">
<extendedEdge key="edgesForExtendedLayout"/>
<point key="canvasLocation" x="92" y="31"/>
</viewController>
<window opaque="NO" clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="12">
<rect key="frame" x="0.0" y="0.0" width="320" height="480"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
</window>
</objects>
</document>
24 changes: 24 additions & 0 deletions Example/Resources/ViewController.xib
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="20037" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" colorMatched="YES">
<device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="20020"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="ViewController">
<connections>
<outlet property="view" destination="6" id="7"/>
</connections>
</placeholder>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="6">
<rect key="frame" x="0.0" y="0.0" width="320" height="460"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<color key="backgroundColor" red="0.75" green="0.75" blue="0.75" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
<point key="canvasLocation" x="92" y="31"/>
</view>
</objects>
</document>
File renamed without changes.
Loading