Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

split the core files of HDAugmentedReality project in a Cocoa Touch F… #71

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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
19 changes: 19 additions & 0 deletions HDAugmentedReality/HDAugmentedReality.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
//
// HDAugmentedReality.h
// HDAugmentedReality
//
// Created by GEORGE QUENTIN on 04/02/2018.
// Copyright © 2018 Danijel Huis. All rights reserved.
//

#import <UIKit/UIKit.h>

//! Project version number for HDAugmentedReality.
FOUNDATION_EXPORT double HDAugmentedRealityVersionNumber;

//! Project version string for HDAugmentedReality.
FOUNDATION_EXPORT const unsigned char HDAugmentedRealityVersionString[];

// In this header, you should import all the public headers of your framework using statements like #import <HDAugmentedReality/PublicHeader.h>


24 changes: 24 additions & 0 deletions HDAugmentedReality/Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
<string></string>
</dict>
</plist>
25 changes: 14 additions & 11 deletions HDAugmentedReality/Resources/DebugMapViewController.xib
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="7706" systemVersion="14D136" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES">
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="13771" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
<device id="retina4_7" orientation="portrait">
<adaptation id="fullscreen"/>
</device>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="7703"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13772"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="DebugMapViewController" customModule="HDAugmentedRealityDemo" customModuleProvider="target">
Expand All @@ -13,41 +17,41 @@
</placeholder>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="i5M-Pr-FkT">
<rect key="frame" x="0.0" y="0.0" width="320" height="568"/>
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<mapView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" mapType="hybrid" showsUserLocation="YES" translatesAutoresizingMaskIntoConstraints="NO" id="MI0-Cq-Uzz">
<rect key="frame" x="0.0" y="0.0" width="320" height="568"/>
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
<gestureRecognizers/>
<connections>
<outlet property="delegate" destination="-1" id="AkI-42-7Rz"/>
<outletCollection property="gestureRecognizers" destination="y9S-5A-asO" appends="YES" id="i28-Ed-efJ"/>
</connections>
</mapView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" preferredMaxLayoutWidth="320" translatesAutoresizingMaskIntoConstraints="NO" id="dgZ-bF-KBg">
<rect key="frame" x="0.0" y="16" width="320" height="36"/>
<color key="backgroundColor" red="0.43137254899999999" green="0.72156862749999995" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
<rect key="frame" x="0.0" y="16" width="375" height="36"/>
<color key="backgroundColor" red="0.43137254899999999" green="0.72156862749999995" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<string key="text">DEBUG: LONG PRESS TO FAKE USER LOCATION. NOTE THAT UPDATING USER LOCATION WILL NOT WORK AFTER THIS, UNLESS ARViewController IS RESTARTED.</string>
<fontDescription key="fontDescription" type="system" pointSize="10"/>
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
<nil key="highlightedColor"/>
</label>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="b3m-Ne-a3Q">
<rect key="frame" x="8" y="59" width="40" height="40"/>
<color key="backgroundColor" red="1" green="0.0" blue="0.011788656139999999" alpha="1" colorSpace="calibratedRGB"/>
<color key="backgroundColor" red="1" green="0.0" blue="0.011788656139999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstAttribute="height" constant="40" id="cH2-Fg-IRx"/>
<constraint firstAttribute="width" constant="40" id="hEd-CK-um6"/>
</constraints>
<state key="normal" title="X">
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
<color key="titleShadowColor" red="0.5" green="0.5" blue="0.5" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</state>
<connections>
<action selector="closeButtonTap:" destination="-1" eventType="touchUpInside" id="FdK-yr-0kG"/>
</connections>
</button>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstItem="b3m-Ne-a3Q" firstAttribute="leading" secondItem="i5M-Pr-FkT" secondAttribute="leading" constant="8" id="9Ib-Hm-QMU"/>
<constraint firstItem="MI0-Cq-Uzz" firstAttribute="top" secondItem="i5M-Pr-FkT" secondAttribute="top" id="CfP-ZX-6xm"/>
Expand All @@ -59,7 +63,6 @@
<constraint firstItem="MI0-Cq-Uzz" firstAttribute="leading" secondItem="i5M-Pr-FkT" secondAttribute="leading" id="dgh-76-Ium"/>
<constraint firstItem="dgZ-bF-KBg" firstAttribute="leading" secondItem="i5M-Pr-FkT" secondAttribute="leading" id="vTM-ba-cXX"/>
</constraints>
<simulatedScreenMetrics key="simulatedDestinationMetrics" type="retina4"/>
<point key="canvasLocation" x="194" y="267"/>
</view>
<pongPressGestureRecognizer allowableMovement="10" minimumPressDuration="0.5" id="y9S-5A-asO">
Expand Down
Loading