Repository: benoit-pereira-da-silva/SoundWaveForm
Branch: master
Commit: d7db2539e7d9
Files: 25
Total size: 160.5 KB
Directory structure:
gitextract_c_cb9q34/
├── .gitignore
├── Example_iOS/
│ ├── AppDelegate.swift
│ ├── Assets.xcassets/
│ │ └── AppIcon.appiconset/
│ │ └── Contents.json
│ ├── Base.lproj/
│ │ ├── LaunchScreen.storyboard
│ │ └── Main.storyboard
│ └── Info.plist
├── Example_macOS/
│ ├── AppDelegate.swift
│ ├── Assets.xcassets/
│ │ └── AppIcon.appiconset/
│ │ └── Contents.json
│ ├── Base.lproj/
│ │ └── Main.storyboard
│ └── Info.plist
├── LICENSE
├── Package.swift
├── README.md
├── Shared/
│ └── ExampleViewController.swift
├── SoundWaveForm/
│ ├── Info.plist
│ └── SoundWaveForm.h
├── SoundWaveForm.xcodeproj/
│ ├── project.pbxproj
│ ├── project.xcworkspace/
│ │ ├── contents.xcworkspacedata
│ │ └── xcshareddata/
│ │ └── IDEWorkspaceChecks.plist
│ └── xcshareddata/
│ └── xcschemes/
│ ├── SoundWaveForm.xcscheme
│ └── SoundWaveFormTouch.xcscheme
├── SoundWaveFormTouch/
│ ├── Info.plist
│ └── SoundWaveFormTouch.h
└── Sources/
└── SoundWaveForm/
├── SamplesExtractor.swift
└── WaveFormDrawer.swift
================================================
FILE CONTENTS
================================================
================================================
FILE: Example_iOS/AppDelegate.swift
================================================
//
// AppDelegate.swift
// Example_iOS
//
// Created by Benoit Pereira da silva on 22/07/2017.
// Copyright © 2017 Pereira da Silva. All rights reserved.
//
import UIKit
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
// Override point for customization after application launch.
return true
}
func applicationWillResignActive(_ application: UIApplication) {
// Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
// Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game.
}
func applicationDidEnterBackground(_ application: UIApplication) {
// Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
// If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
}
func applicationWillEnterForeground(_ application: UIApplication) {
// Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background.
}
func applicationDidBecomeActive(_ application: UIApplication) {
// Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
}
func applicationWillTerminate(_ application: UIApplication) {
// Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
}
}
================================================
FILE: Example_iOS/Assets.xcassets/AppIcon.appiconset/Contents.json
================================================
{
"images" : [
{
"idiom" : "iphone",
"size" : "29x29",
"scale" : "2x"
},
{
"idiom" : "iphone",
"size" : "29x29",
"scale" : "3x"
},
{
"idiom" : "iphone",
"size" : "40x40",
"scale" : "2x"
},
{
"idiom" : "iphone",
"size" : "40x40",
"scale" : "3x"
},
{
"idiom" : "iphone",
"size" : "60x60",
"scale" : "2x"
},
{
"idiom" : "iphone",
"size" : "60x60",
"scale" : "3x"
},
{
"idiom" : "ipad",
"size" : "29x29",
"scale" : "1x"
},
{
"idiom" : "ipad",
"size" : "29x29",
"scale" : "2x"
},
{
"idiom" : "ipad",
"size" : "40x40",
"scale" : "1x"
},
{
"idiom" : "ipad",
"size" : "40x40",
"scale" : "2x"
},
{
"idiom" : "ipad",
"size" : "76x76",
"scale" : "1x"
},
{
"idiom" : "ipad",
"size" : "76x76",
"scale" : "2x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
================================================
FILE: Example_iOS/Base.lproj/LaunchScreen.storyboard
================================================
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="11134" systemVersion="15F34" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11106"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<scenes>
<!--View Controller-->
<scene sceneID="EHf-IW-A2E">
<objects>
<viewController id="01J-lp-oVM" sceneMemberID="viewController">
<layoutGuides>
<viewControllerLayoutGuide type="top" id="Llm-lL-Icb"/>
<viewControllerLayoutGuide type="bottom" id="xb3-aO-Qok"/>
</layoutGuides>
<view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</view>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="53" y="375"/>
</scene>
</scenes>
</document>
================================================
FILE: Example_iOS/Base.lproj/Main.storyboard
================================================
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="12121" systemVersion="16G29" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="BYZ-38-t0r">
<device id="retina4_7" orientation="portrait">
<adaptation id="fullscreen"/>
</device>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="12089"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<scenes>
<!--Example View Controller-->
<scene sceneID="tne-QT-ifu">
<objects>
<viewController id="BYZ-38-t0r" customClass="ExampleViewController" customModule="Example_iOS" sceneMemberID="viewController">
<layoutGuides>
<viewControllerLayoutGuide type="top" id="y3c-jy-aDJ"/>
<viewControllerLayoutGuide type="bottom" id="wfy-db-euE"/>
</layoutGuides>
<view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC">
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="H9G-Fk-kuC" customClass="UniversalImageView" customModule="Example_iOS" customModuleProvider="target">
<rect key="frame" x="0.0" y="220" width="375" height="80"/>
<constraints>
<constraint firstAttribute="height" constant="80" id="CTa-T9-1dw"/>
<constraint firstAttribute="width" constant="375" id="cH6-qK-nna"/>
</constraints>
</imageView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="Nb:" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="BSl-Jk-IGZ" customClass="UniversalLabel" customModule="Example_iOS" customModuleProvider="target">
<rect key="frame" x="3" y="400" width="114" height="21"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="0" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Bom-Gs-9to" customClass="UniversalLabel" customModule="Example_iOS" customModuleProvider="target">
<rect key="frame" x="130" y="401" width="229" height="21"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="0" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="PM8-HY-UXF" customClass="UniversalLabel" customModule="Example_iOS" customModuleProvider="target">
<rect key="frame" x="130" y="429" width="229" height="21"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="Sampling:" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="4bM-Ka-odS" customClass="UniversalLabel" customModule="Example_iOS" customModuleProvider="target">
<rect key="frame" x="3" y="427" width="114" height="21"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="Drawing:" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ob4-iP-Iik" customClass="UniversalLabel" customModule="Example_iOS" customModuleProvider="target">
<rect key="frame" x="3" y="454" width="114" height="21"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="0" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="eL6-Kb-Axk" customClass="UniversalLabel" customModule="Example_iOS" customModuleProvider="target">
<rect key="frame" x="129" y="456" width="229" height="21"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<color key="backgroundColor" red="0.0" green="0.25098040700000002" blue="0.50196081400000003" alpha="1" colorSpace="calibratedRGB"/>
<constraints>
<constraint firstItem="H9G-Fk-kuC" firstAttribute="leading" secondItem="8bC-Xf-vdC" secondAttribute="leading" id="XiZ-oW-9Sa"/>
<constraint firstItem="H9G-Fk-kuC" firstAttribute="top" secondItem="y3c-jy-aDJ" secondAttribute="bottom" constant="200" id="fOV-kS-w9w"/>
<constraint firstAttribute="trailing" secondItem="H9G-Fk-kuC" secondAttribute="trailing" id="yWc-Gi-ZRz"/>
</constraints>
</view>
<simulatedStatusBarMetrics key="simulatedStatusBarMetrics" statusBarStyle="lightContent"/>
<nil key="simulatedTopBarMetrics"/>
<connections>
<outlet property="drawingDurationLabel" destination="eL6-Kb-Axk" id="9Qs-jJ-z9U"/>
<outlet property="nbLabel" destination="Bom-Gs-9to" id="syW-2h-DAM"/>
<outlet property="samplingDurationLabel" destination="PM8-HY-UXF" id="VcE-7G-4dS"/>
<outlet property="waveFormView" destination="H9G-Fk-kuC" id="1ed-rc-Bo9"/>
</connections>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="24.800000000000001" y="35.532233883058474"/>
</scene>
</scenes>
</document>
================================================
FILE: Example_iOS/Info.plist
================================================
<?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>en</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>APPL</string>
<key>CFBundleShortVersionString</key>
<string>3.0</string>
<key>CFBundleVersion</key>
<string>2</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UIMainStoryboardFile</key>
<string>Main</string>
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>armv7</string>
</array>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UISupportedInterfaceOrientations~ipad</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
</dict>
</plist>
================================================
FILE: Example_macOS/AppDelegate.swift
================================================
//
// AppDelegate.swift
// Example_macOS
//
// Created by Benoit Pereira da silva on 22/07/2017.
// Copyright © 2017 Pereira da Silva. All rights reserved.
//
import Cocoa
@NSApplicationMain
class AppDelegate: NSObject, NSApplicationDelegate {
func applicationDidFinishLaunching(_ aNotification: Notification) {
// Insert code here to initialize your application
}
func applicationWillTerminate(_ aNotification: Notification) {
// Insert code here to tear down your application
}
}
================================================
FILE: Example_macOS/Assets.xcassets/AppIcon.appiconset/Contents.json
================================================
{
"images" : [
{
"idiom" : "mac",
"size" : "16x16",
"scale" : "1x"
},
{
"idiom" : "mac",
"size" : "16x16",
"scale" : "2x"
},
{
"idiom" : "mac",
"size" : "32x32",
"scale" : "1x"
},
{
"idiom" : "mac",
"size" : "32x32",
"scale" : "2x"
},
{
"idiom" : "mac",
"size" : "128x128",
"scale" : "1x"
},
{
"idiom" : "mac",
"size" : "128x128",
"scale" : "2x"
},
{
"idiom" : "mac",
"size" : "256x256",
"scale" : "1x"
},
{
"idiom" : "mac",
"size" : "256x256",
"scale" : "2x"
},
{
"idiom" : "mac",
"size" : "512x512",
"scale" : "1x"
},
{
"idiom" : "mac",
"size" : "512x512",
"scale" : "2x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
================================================
FILE: Example_macOS/Base.lproj/Main.storyboard
================================================
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.Storyboard.XIB" version="3.0" toolsVersion="12121" systemVersion="16G29" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" initialViewController="B8D-0N-5wS">
<dependencies>
<deployment identifier="macosx"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="12121"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<scenes>
<!--Application-->
<scene sceneID="JPo-4y-FX3">
<objects>
<application id="hnw-xV-0zn" sceneMemberID="viewController">
<menu key="mainMenu" title="Main Menu" systemMenu="main" id="AYu-sK-qS6">
<items>
<menuItem title="Example_macOS" id="1Xt-HY-uBw">
<modifierMask key="keyEquivalentModifierMask"/>
<menu key="submenu" title="Example_macOS" systemMenu="apple" id="uQy-DD-JDr">
<items>
<menuItem title="About Example_macOS" id="5kV-Vb-QxS">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="orderFrontStandardAboutPanel:" target="Ady-hI-5gd" id="Exp-CZ-Vem"/>
</connections>
</menuItem>
<menuItem isSeparatorItem="YES" id="VOq-y0-SEH"/>
<menuItem title="Preferences…" keyEquivalent="," id="BOF-NM-1cW"/>
<menuItem isSeparatorItem="YES" id="wFC-TO-SCJ"/>
<menuItem title="Services" id="NMo-om-nkz">
<modifierMask key="keyEquivalentModifierMask"/>
<menu key="submenu" title="Services" systemMenu="services" id="hz9-B4-Xy5"/>
</menuItem>
<menuItem isSeparatorItem="YES" id="4je-JR-u6R"/>
<menuItem title="Hide Example_macOS" keyEquivalent="h" id="Olw-nP-bQN">
<connections>
<action selector="hide:" target="Ady-hI-5gd" id="PnN-Uc-m68"/>
</connections>
</menuItem>
<menuItem title="Hide Others" keyEquivalent="h" id="Vdr-fp-XzO">
<modifierMask key="keyEquivalentModifierMask" option="YES" command="YES"/>
<connections>
<action selector="hideOtherApplications:" target="Ady-hI-5gd" id="VT4-aY-XCT"/>
</connections>
</menuItem>
<menuItem title="Show All" id="Kd2-mp-pUS">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="unhideAllApplications:" target="Ady-hI-5gd" id="Dhg-Le-xox"/>
</connections>
</menuItem>
<menuItem isSeparatorItem="YES" id="kCx-OE-vgT"/>
<menuItem title="Quit Example_macOS" keyEquivalent="q" id="4sb-4s-VLi">
<connections>
<action selector="terminate:" target="Ady-hI-5gd" id="Te7-pn-YzF"/>
</connections>
</menuItem>
</items>
</menu>
</menuItem>
<menuItem title="File" id="dMs-cI-mzQ">
<modifierMask key="keyEquivalentModifierMask"/>
<menu key="submenu" title="File" id="bib-Uj-vzu">
<items>
<menuItem title="New" keyEquivalent="n" id="Was-JA-tGl">
<connections>
<action selector="newDocument:" target="Ady-hI-5gd" id="4Si-XN-c54"/>
</connections>
</menuItem>
<menuItem title="Open…" keyEquivalent="o" id="IAo-SY-fd9">
<connections>
<action selector="openDocument:" target="Ady-hI-5gd" id="bVn-NM-KNZ"/>
</connections>
</menuItem>
<menuItem title="Open Recent" id="tXI-mr-wws">
<modifierMask key="keyEquivalentModifierMask"/>
<menu key="submenu" title="Open Recent" systemMenu="recentDocuments" id="oas-Oc-fiZ">
<items>
<menuItem title="Clear Menu" id="vNY-rz-j42">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="clearRecentDocuments:" target="Ady-hI-5gd" id="Daa-9d-B3U"/>
</connections>
</menuItem>
</items>
</menu>
</menuItem>
<menuItem isSeparatorItem="YES" id="m54-Is-iLE"/>
<menuItem title="Close" keyEquivalent="w" id="DVo-aG-piG">
<connections>
<action selector="performClose:" target="Ady-hI-5gd" id="HmO-Ls-i7Q"/>
</connections>
</menuItem>
<menuItem title="Save…" keyEquivalent="s" id="pxx-59-PXV">
<connections>
<action selector="saveDocument:" target="Ady-hI-5gd" id="teZ-XB-qJY"/>
</connections>
</menuItem>
<menuItem title="Save As…" keyEquivalent="S" id="Bw7-FT-i3A">
<connections>
<action selector="saveDocumentAs:" target="Ady-hI-5gd" id="mDf-zr-I0C"/>
</connections>
</menuItem>
<menuItem title="Revert to Saved" keyEquivalent="r" id="KaW-ft-85H">
<connections>
<action selector="revertDocumentToSaved:" target="Ady-hI-5gd" id="iJ3-Pv-kwq"/>
</connections>
</menuItem>
<menuItem isSeparatorItem="YES" id="aJh-i4-bef"/>
<menuItem title="Page Setup…" keyEquivalent="P" id="qIS-W8-SiK">
<modifierMask key="keyEquivalentModifierMask" shift="YES" command="YES"/>
<connections>
<action selector="runPageLayout:" target="Ady-hI-5gd" id="Din-rz-gC5"/>
</connections>
</menuItem>
<menuItem title="Print…" keyEquivalent="p" id="aTl-1u-JFS">
<connections>
<action selector="print:" target="Ady-hI-5gd" id="qaZ-4w-aoO"/>
</connections>
</menuItem>
</items>
</menu>
</menuItem>
<menuItem title="Edit" id="5QF-Oa-p0T">
<modifierMask key="keyEquivalentModifierMask"/>
<menu key="submenu" title="Edit" id="W48-6f-4Dl">
<items>
<menuItem title="Undo" keyEquivalent="z" id="dRJ-4n-Yzg">
<connections>
<action selector="undo:" target="Ady-hI-5gd" id="M6e-cu-g7V"/>
</connections>
</menuItem>
<menuItem title="Redo" keyEquivalent="Z" id="6dh-zS-Vam">
<connections>
<action selector="redo:" target="Ady-hI-5gd" id="oIA-Rs-6OD"/>
</connections>
</menuItem>
<menuItem isSeparatorItem="YES" id="WRV-NI-Exz"/>
<menuItem title="Cut" keyEquivalent="x" id="uRl-iY-unG">
<connections>
<action selector="cut:" target="Ady-hI-5gd" id="YJe-68-I9s"/>
</connections>
</menuItem>
<menuItem title="Copy" keyEquivalent="c" id="x3v-GG-iWU">
<connections>
<action selector="copy:" target="Ady-hI-5gd" id="G1f-GL-Joy"/>
</connections>
</menuItem>
<menuItem title="Paste" keyEquivalent="v" id="gVA-U4-sdL">
<connections>
<action selector="paste:" target="Ady-hI-5gd" id="UvS-8e-Qdg"/>
</connections>
</menuItem>
<menuItem title="Paste and Match Style" keyEquivalent="V" id="WeT-3V-zwk">
<modifierMask key="keyEquivalentModifierMask" option="YES" command="YES"/>
<connections>
<action selector="pasteAsPlainText:" target="Ady-hI-5gd" id="cEh-KX-wJQ"/>
</connections>
</menuItem>
<menuItem title="Delete" id="pa3-QI-u2k">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="delete:" target="Ady-hI-5gd" id="0Mk-Ml-PaM"/>
</connections>
</menuItem>
<menuItem title="Select All" keyEquivalent="a" id="Ruw-6m-B2m">
<connections>
<action selector="selectAll:" target="Ady-hI-5gd" id="VNm-Mi-diN"/>
</connections>
</menuItem>
<menuItem isSeparatorItem="YES" id="uyl-h8-XO2"/>
<menuItem title="Find" id="4EN-yA-p0u">
<modifierMask key="keyEquivalentModifierMask"/>
<menu key="submenu" title="Find" id="1b7-l0-nxx">
<items>
<menuItem title="Find…" tag="1" keyEquivalent="f" id="Xz5-n4-O0W">
<connections>
<action selector="performFindPanelAction:" target="Ady-hI-5gd" id="cD7-Qs-BN4"/>
</connections>
</menuItem>
<menuItem title="Find and Replace…" tag="12" keyEquivalent="f" id="YEy-JH-Tfz">
<modifierMask key="keyEquivalentModifierMask" option="YES" command="YES"/>
<connections>
<action selector="performFindPanelAction:" target="Ady-hI-5gd" id="WD3-Gg-5AJ"/>
</connections>
</menuItem>
<menuItem title="Find Next" tag="2" keyEquivalent="g" id="q09-fT-Sye">
<connections>
<action selector="performFindPanelAction:" target="Ady-hI-5gd" id="NDo-RZ-v9R"/>
</connections>
</menuItem>
<menuItem title="Find Previous" tag="3" keyEquivalent="G" id="OwM-mh-QMV">
<connections>
<action selector="performFindPanelAction:" target="Ady-hI-5gd" id="HOh-sY-3ay"/>
</connections>
</menuItem>
<menuItem title="Use Selection for Find" tag="7" keyEquivalent="e" id="buJ-ug-pKt">
<connections>
<action selector="performFindPanelAction:" target="Ady-hI-5gd" id="U76-nv-p5D"/>
</connections>
</menuItem>
<menuItem title="Jump to Selection" keyEquivalent="j" id="S0p-oC-mLd">
<connections>
<action selector="centerSelectionInVisibleArea:" target="Ady-hI-5gd" id="IOG-6D-g5B"/>
</connections>
</menuItem>
</items>
</menu>
</menuItem>
<menuItem title="Spelling and Grammar" id="Dv1-io-Yv7">
<modifierMask key="keyEquivalentModifierMask"/>
<menu key="submenu" title="Spelling" id="3IN-sU-3Bg">
<items>
<menuItem title="Show Spelling and Grammar" keyEquivalent=":" id="HFo-cy-zxI">
<connections>
<action selector="showGuessPanel:" target="Ady-hI-5gd" id="vFj-Ks-hy3"/>
</connections>
</menuItem>
<menuItem title="Check Document Now" keyEquivalent=";" id="hz2-CU-CR7">
<connections>
<action selector="checkSpelling:" target="Ady-hI-5gd" id="fz7-VC-reM"/>
</connections>
</menuItem>
<menuItem isSeparatorItem="YES" id="bNw-od-mp5"/>
<menuItem title="Check Spelling While Typing" id="rbD-Rh-wIN">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="toggleContinuousSpellChecking:" target="Ady-hI-5gd" id="7w6-Qz-0kB"/>
</connections>
</menuItem>
<menuItem title="Check Grammar With Spelling" id="mK6-2p-4JG">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="toggleGrammarChecking:" target="Ady-hI-5gd" id="muD-Qn-j4w"/>
</connections>
</menuItem>
<menuItem title="Correct Spelling Automatically" id="78Y-hA-62v">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="toggleAutomaticSpellingCorrection:" target="Ady-hI-5gd" id="2lM-Qi-WAP"/>
</connections>
</menuItem>
</items>
</menu>
</menuItem>
<menuItem title="Substitutions" id="9ic-FL-obx">
<modifierMask key="keyEquivalentModifierMask"/>
<menu key="submenu" title="Substitutions" id="FeM-D8-WVr">
<items>
<menuItem title="Show Substitutions" id="z6F-FW-3nz">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="orderFrontSubstitutionsPanel:" target="Ady-hI-5gd" id="oku-mr-iSq"/>
</connections>
</menuItem>
<menuItem isSeparatorItem="YES" id="gPx-C9-uUO"/>
<menuItem title="Smart Copy/Paste" id="9yt-4B-nSM">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="toggleSmartInsertDelete:" target="Ady-hI-5gd" id="3IJ-Se-DZD"/>
</connections>
</menuItem>
<menuItem title="Smart Quotes" id="hQb-2v-fYv">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="toggleAutomaticQuoteSubstitution:" target="Ady-hI-5gd" id="ptq-xd-QOA"/>
</connections>
</menuItem>
<menuItem title="Smart Dashes" id="rgM-f4-ycn">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="toggleAutomaticDashSubstitution:" target="Ady-hI-5gd" id="oCt-pO-9gS"/>
</connections>
</menuItem>
<menuItem title="Smart Links" id="cwL-P1-jid">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="toggleAutomaticLinkDetection:" target="Ady-hI-5gd" id="Gip-E3-Fov"/>
</connections>
</menuItem>
<menuItem title="Data Detectors" id="tRr-pd-1PS">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="toggleAutomaticDataDetection:" target="Ady-hI-5gd" id="R1I-Nq-Kbl"/>
</connections>
</menuItem>
<menuItem title="Text Replacement" id="HFQ-gK-NFA">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="toggleAutomaticTextReplacement:" target="Ady-hI-5gd" id="DvP-Fe-Py6"/>
</connections>
</menuItem>
</items>
</menu>
</menuItem>
<menuItem title="Transformations" id="2oI-Rn-ZJC">
<modifierMask key="keyEquivalentModifierMask"/>
<menu key="submenu" title="Transformations" id="c8a-y6-VQd">
<items>
<menuItem title="Make Upper Case" id="vmV-6d-7jI">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="uppercaseWord:" target="Ady-hI-5gd" id="sPh-Tk-edu"/>
</connections>
</menuItem>
<menuItem title="Make Lower Case" id="d9M-CD-aMd">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="lowercaseWord:" target="Ady-hI-5gd" id="iUZ-b5-hil"/>
</connections>
</menuItem>
<menuItem title="Capitalize" id="UEZ-Bs-lqG">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="capitalizeWord:" target="Ady-hI-5gd" id="26H-TL-nsh"/>
</connections>
</menuItem>
</items>
</menu>
</menuItem>
<menuItem title="Speech" id="xrE-MZ-jX0">
<modifierMask key="keyEquivalentModifierMask"/>
<menu key="submenu" title="Speech" id="3rS-ZA-NoH">
<items>
<menuItem title="Start Speaking" id="Ynk-f8-cLZ">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="startSpeaking:" target="Ady-hI-5gd" id="654-Ng-kyl"/>
</connections>
</menuItem>
<menuItem title="Stop Speaking" id="Oyz-dy-DGm">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="stopSpeaking:" target="Ady-hI-5gd" id="dX8-6p-jy9"/>
</connections>
</menuItem>
</items>
</menu>
</menuItem>
</items>
</menu>
</menuItem>
<menuItem title="Format" id="jxT-CU-nIS">
<modifierMask key="keyEquivalentModifierMask"/>
<menu key="submenu" title="Format" id="GEO-Iw-cKr">
<items>
<menuItem title="Font" id="Gi5-1S-RQB">
<modifierMask key="keyEquivalentModifierMask"/>
<menu key="submenu" title="Font" systemMenu="font" id="aXa-aM-Jaq">
<items>
<menuItem title="Show Fonts" keyEquivalent="t" id="Q5e-8K-NDq"/>
<menuItem title="Bold" tag="2" keyEquivalent="b" id="GB9-OM-e27"/>
<menuItem title="Italic" tag="1" keyEquivalent="i" id="Vjx-xi-njq"/>
<menuItem title="Underline" keyEquivalent="u" id="WRG-CD-K1S">
<connections>
<action selector="underline:" target="Ady-hI-5gd" id="FYS-2b-JAY"/>
</connections>
</menuItem>
<menuItem isSeparatorItem="YES" id="5gT-KC-WSO"/>
<menuItem title="Bigger" tag="3" keyEquivalent="+" id="Ptp-SP-VEL"/>
<menuItem title="Smaller" tag="4" keyEquivalent="-" id="i1d-Er-qST"/>
<menuItem isSeparatorItem="YES" id="kx3-Dk-x3B"/>
<menuItem title="Kern" id="jBQ-r6-VK2">
<modifierMask key="keyEquivalentModifierMask"/>
<menu key="submenu" title="Kern" id="tlD-Oa-oAM">
<items>
<menuItem title="Use Default" id="GUa-eO-cwY">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="useStandardKerning:" target="Ady-hI-5gd" id="6dk-9l-Ckg"/>
</connections>
</menuItem>
<menuItem title="Use None" id="cDB-IK-hbR">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="turnOffKerning:" target="Ady-hI-5gd" id="U8a-gz-Maa"/>
</connections>
</menuItem>
<menuItem title="Tighten" id="46P-cB-AYj">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="tightenKerning:" target="Ady-hI-5gd" id="hr7-Nz-8ro"/>
</connections>
</menuItem>
<menuItem title="Loosen" id="ogc-rX-tC1">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="loosenKerning:" target="Ady-hI-5gd" id="8i4-f9-FKE"/>
</connections>
</menuItem>
</items>
</menu>
</menuItem>
<menuItem title="Ligatures" id="o6e-r0-MWq">
<modifierMask key="keyEquivalentModifierMask"/>
<menu key="submenu" title="Ligatures" id="w0m-vy-SC9">
<items>
<menuItem title="Use Default" id="agt-UL-0e3">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="useStandardLigatures:" target="Ady-hI-5gd" id="7uR-wd-Dx6"/>
</connections>
</menuItem>
<menuItem title="Use None" id="J7y-lM-qPV">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="turnOffLigatures:" target="Ady-hI-5gd" id="iX2-gA-Ilz"/>
</connections>
</menuItem>
<menuItem title="Use All" id="xQD-1f-W4t">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="useAllLigatures:" target="Ady-hI-5gd" id="KcB-kA-TuK"/>
</connections>
</menuItem>
</items>
</menu>
</menuItem>
<menuItem title="Baseline" id="OaQ-X3-Vso">
<modifierMask key="keyEquivalentModifierMask"/>
<menu key="submenu" title="Baseline" id="ijk-EB-dga">
<items>
<menuItem title="Use Default" id="3Om-Ey-2VK">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="unscript:" target="Ady-hI-5gd" id="0vZ-95-Ywn"/>
</connections>
</menuItem>
<menuItem title="Superscript" id="Rqc-34-cIF">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="superscript:" target="Ady-hI-5gd" id="3qV-fo-wpU"/>
</connections>
</menuItem>
<menuItem title="Subscript" id="I0S-gh-46l">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="subscript:" target="Ady-hI-5gd" id="Q6W-4W-IGz"/>
</connections>
</menuItem>
<menuItem title="Raise" id="2h7-ER-AoG">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="raiseBaseline:" target="Ady-hI-5gd" id="4sk-31-7Q9"/>
</connections>
</menuItem>
<menuItem title="Lower" id="1tx-W0-xDw">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="lowerBaseline:" target="Ady-hI-5gd" id="OF1-bc-KW4"/>
</connections>
</menuItem>
</items>
</menu>
</menuItem>
<menuItem isSeparatorItem="YES" id="Ndw-q3-faq"/>
<menuItem title="Show Colors" keyEquivalent="C" id="bgn-CT-cEk">
<connections>
<action selector="orderFrontColorPanel:" target="Ady-hI-5gd" id="mSX-Xz-DV3"/>
</connections>
</menuItem>
<menuItem isSeparatorItem="YES" id="iMs-zA-UFJ"/>
<menuItem title="Copy Style" keyEquivalent="c" id="5Vv-lz-BsD">
<modifierMask key="keyEquivalentModifierMask" option="YES" command="YES"/>
<connections>
<action selector="copyFont:" target="Ady-hI-5gd" id="GJO-xA-L4q"/>
</connections>
</menuItem>
<menuItem title="Paste Style" keyEquivalent="v" id="vKC-jM-MkH">
<modifierMask key="keyEquivalentModifierMask" option="YES" command="YES"/>
<connections>
<action selector="pasteFont:" target="Ady-hI-5gd" id="JfD-CL-leO"/>
</connections>
</menuItem>
</items>
</menu>
</menuItem>
<menuItem title="Text" id="Fal-I4-PZk">
<modifierMask key="keyEquivalentModifierMask"/>
<menu key="submenu" title="Text" id="d9c-me-L2H">
<items>
<menuItem title="Align Left" keyEquivalent="{" id="ZM1-6Q-yy1">
<connections>
<action selector="alignLeft:" target="Ady-hI-5gd" id="zUv-R1-uAa"/>
</connections>
</menuItem>
<menuItem title="Center" keyEquivalent="|" id="VIY-Ag-zcb">
<connections>
<action selector="alignCenter:" target="Ady-hI-5gd" id="spX-mk-kcS"/>
</connections>
</menuItem>
<menuItem title="Justify" id="J5U-5w-g23">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="alignJustified:" target="Ady-hI-5gd" id="ljL-7U-jND"/>
</connections>
</menuItem>
<menuItem title="Align Right" keyEquivalent="}" id="wb2-vD-lq4">
<connections>
<action selector="alignRight:" target="Ady-hI-5gd" id="r48-bG-YeY"/>
</connections>
</menuItem>
<menuItem isSeparatorItem="YES" id="4s2-GY-VfK"/>
<menuItem title="Writing Direction" id="H1b-Si-o9J">
<modifierMask key="keyEquivalentModifierMask"/>
<menu key="submenu" title="Writing Direction" id="8mr-sm-Yjd">
<items>
<menuItem title="Paragraph" enabled="NO" id="ZvO-Gk-QUH">
<modifierMask key="keyEquivalentModifierMask"/>
</menuItem>
<menuItem id="YGs-j5-SAR">
<string key="title"> Default</string>
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="makeBaseWritingDirectionNatural:" target="Ady-hI-5gd" id="qtV-5e-UBP"/>
</connections>
</menuItem>
<menuItem id="Lbh-J2-qVU">
<string key="title"> Left to Right</string>
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="makeBaseWritingDirectionLeftToRight:" target="Ady-hI-5gd" id="S0X-9S-QSf"/>
</connections>
</menuItem>
<menuItem id="jFq-tB-4Kx">
<string key="title"> Right to Left</string>
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="makeBaseWritingDirectionRightToLeft:" target="Ady-hI-5gd" id="5fk-qB-AqJ"/>
</connections>
</menuItem>
<menuItem isSeparatorItem="YES" id="swp-gr-a21"/>
<menuItem title="Selection" enabled="NO" id="cqv-fj-IhA">
<modifierMask key="keyEquivalentModifierMask"/>
</menuItem>
<menuItem id="Nop-cj-93Q">
<string key="title"> Default</string>
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="makeTextWritingDirectionNatural:" target="Ady-hI-5gd" id="lPI-Se-ZHp"/>
</connections>
</menuItem>
<menuItem id="BgM-ve-c93">
<string key="title"> Left to Right</string>
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="makeTextWritingDirectionLeftToRight:" target="Ady-hI-5gd" id="caW-Bv-w94"/>
</connections>
</menuItem>
<menuItem id="RB4-Sm-HuC">
<string key="title"> Right to Left</string>
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="makeTextWritingDirectionRightToLeft:" target="Ady-hI-5gd" id="EXD-6r-ZUu"/>
</connections>
</menuItem>
</items>
</menu>
</menuItem>
<menuItem isSeparatorItem="YES" id="fKy-g9-1gm"/>
<menuItem title="Show Ruler" id="vLm-3I-IUL">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="toggleRuler:" target="Ady-hI-5gd" id="FOx-HJ-KwY"/>
</connections>
</menuItem>
<menuItem title="Copy Ruler" keyEquivalent="c" id="MkV-Pr-PK5">
<modifierMask key="keyEquivalentModifierMask" control="YES" command="YES"/>
<connections>
<action selector="copyRuler:" target="Ady-hI-5gd" id="71i-fW-3W2"/>
</connections>
</menuItem>
<menuItem title="Paste Ruler" keyEquivalent="v" id="LVM-kO-fVI">
<modifierMask key="keyEquivalentModifierMask" control="YES" command="YES"/>
<connections>
<action selector="pasteRuler:" target="Ady-hI-5gd" id="cSh-wd-qM2"/>
</connections>
</menuItem>
</items>
</menu>
</menuItem>
</items>
</menu>
</menuItem>
<menuItem title="View" id="H8h-7b-M4v">
<modifierMask key="keyEquivalentModifierMask"/>
<menu key="submenu" title="View" id="HyV-fh-RgO">
<items>
<menuItem title="Show Toolbar" keyEquivalent="t" id="snW-S8-Cw5">
<modifierMask key="keyEquivalentModifierMask" option="YES" command="YES"/>
<connections>
<action selector="toggleToolbarShown:" target="Ady-hI-5gd" id="BXY-wc-z0C"/>
</connections>
</menuItem>
<menuItem title="Customize Toolbar…" id="1UK-8n-QPP">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="runToolbarCustomizationPalette:" target="Ady-hI-5gd" id="pQI-g3-MTW"/>
</connections>
</menuItem>
<menuItem isSeparatorItem="YES" id="hB3-LF-h0Y"/>
<menuItem title="Show Sidebar" keyEquivalent="s" id="kIP-vf-haE">
<modifierMask key="keyEquivalentModifierMask" control="YES" command="YES"/>
<connections>
<action selector="toggleSourceList:" target="Ady-hI-5gd" id="iwa-gc-5KM"/>
</connections>
</menuItem>
<menuItem title="Enter Full Screen" keyEquivalent="f" id="4J7-dP-txa">
<modifierMask key="keyEquivalentModifierMask" control="YES" command="YES"/>
<connections>
<action selector="toggleFullScreen:" target="Ady-hI-5gd" id="dU3-MA-1Rq"/>
</connections>
</menuItem>
</items>
</menu>
</menuItem>
<menuItem title="Window" id="aUF-d1-5bR">
<modifierMask key="keyEquivalentModifierMask"/>
<menu key="submenu" title="Window" systemMenu="window" id="Td7-aD-5lo">
<items>
<menuItem title="Minimize" keyEquivalent="m" id="OY7-WF-poV">
<connections>
<action selector="performMiniaturize:" target="Ady-hI-5gd" id="VwT-WD-YPe"/>
</connections>
</menuItem>
<menuItem title="Zoom" id="R4o-n2-Eq4">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="performZoom:" target="Ady-hI-5gd" id="DIl-cC-cCs"/>
</connections>
</menuItem>
<menuItem isSeparatorItem="YES" id="eu3-7i-yIM"/>
<menuItem title="Bring All to Front" id="LE2-aR-0XJ">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="arrangeInFront:" target="Ady-hI-5gd" id="DRN-fu-gQh"/>
</connections>
</menuItem>
</items>
</menu>
</menuItem>
<menuItem title="Help" id="wpr-3q-Mcd">
<modifierMask key="keyEquivalentModifierMask"/>
<menu key="submenu" title="Help" systemMenu="help" id="F2S-fz-NVQ">
<items>
<menuItem title="Example_macOS Help" keyEquivalent="?" id="FKE-Sm-Kum">
<connections>
<action selector="showHelp:" target="Ady-hI-5gd" id="y7X-2Q-9no"/>
</connections>
</menuItem>
</items>
</menu>
</menuItem>
</items>
</menu>
<connections>
<outlet property="delegate" destination="Voe-Tx-rLC" id="PrD-fu-P6m"/>
</connections>
</application>
<customObject id="Voe-Tx-rLC" customClass="AppDelegate" customModule="Example_macOS" customModuleProvider="target"/>
<customObject id="Ady-hI-5gd" userLabel="First Responder" customClass="NSResponder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="75" y="0.0"/>
</scene>
<!--Window Controller-->
<scene sceneID="R2V-B0-nI4">
<objects>
<windowController id="B8D-0N-5wS" sceneMemberID="viewController">
<window key="window" title="Window" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" oneShot="NO" releasedWhenClosed="NO" showsToolbarButton="NO" visibleAtLaunch="NO" animationBehavior="default" id="IQv-IB-iLA">
<windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES" resizable="YES"/>
<windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
<rect key="contentRect" x="196" y="240" width="300" height="120"/>
<rect key="screenRect" x="0.0" y="0.0" width="1680" height="1027"/>
</window>
<connections>
<segue destination="W5w-8N-xO8" kind="relationship" relationship="window.shadowedContentViewController" id="wIo-gL-brF"/>
</connections>
</windowController>
<customObject id="Oky-zY-oP4" userLabel="First Responder" customClass="NSResponder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="75" y="250"/>
</scene>
<!--Example View Controller-->
<scene sceneID="7lh-6R-wcX">
<objects>
<viewController id="W5w-8N-xO8" customClass="ExampleViewController" customModule="Example_macOS" customModuleProvider="target" sceneMemberID="viewController">
<view key="view" id="OWz-zu-i81">
<rect key="frame" x="0.0" y="0.0" width="860" height="228"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="Mhq-Nd-dQE">
<rect key="frame" x="0.0" y="98" width="860" height="120"/>
<constraints>
<constraint firstAttribute="width" constant="860" id="8yH-71-YAc"/>
<constraint firstAttribute="height" constant="120" id="dfp-kh-vBL"/>
</constraints>
<imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" id="cP9-DV-3Cb"/>
</imageView>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" fixedFrame="YES" allowsCharacterPickerTouchBarItem="NO" translatesAutoresizingMaskIntoConstraints="NO" id="6ek-L4-xGh">
<rect key="frame" x="5" y="55" width="84" height="17"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Nb :" id="O8h-0r-kMK">
<font key="font" metaFont="system"/>
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" fixedFrame="YES" allowsCharacterPickerTouchBarItem="NO" translatesAutoresizingMaskIntoConstraints="NO" id="iIR-C9-jtl">
<rect key="frame" x="93" y="32" width="204" height="17"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="0" id="Yhm-df-ia6">
<font key="font" metaFont="system"/>
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" fixedFrame="YES" allowsCharacterPickerTouchBarItem="NO" translatesAutoresizingMaskIntoConstraints="NO" id="fpp-Wh-yk8">
<rect key="frame" x="93" y="9" width="204" height="17"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="0" id="u6k-VT-i91">
<font key="font" metaFont="system"/>
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" fixedFrame="YES" allowsCharacterPickerTouchBarItem="NO" translatesAutoresizingMaskIntoConstraints="NO" id="cCr-t9-Yh2">
<rect key="frame" x="6" y="33" width="84" height="17"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Sampling :" id="sa0-ap-Mrf">
<font key="font" metaFont="system"/>
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" fixedFrame="YES" allowsCharacterPickerTouchBarItem="NO" translatesAutoresizingMaskIntoConstraints="NO" id="8MT-Om-LEF">
<rect key="frame" x="6" y="12" width="84" height="17"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Drawing : " id="SAa-S6-INL">
<font key="font" metaFont="system"/>
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<box verticalHuggingPriority="750" fixedFrame="YES" boxType="separator" translatesAutoresizingMaskIntoConstraints="NO" id="gJV-SG-RkM">
<rect key="frame" x="-1" y="84" width="863" height="5"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
</box>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" fixedFrame="YES" allowsCharacterPickerTouchBarItem="NO" translatesAutoresizingMaskIntoConstraints="NO" id="pGA-2Q-WWb">
<rect key="frame" x="93" y="55" width="204" height="17"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="0" id="Gub-1I-YO8">
<font key="font" metaFont="system"/>
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
</subviews>
<constraints>
<constraint firstItem="Mhq-Nd-dQE" firstAttribute="centerX" secondItem="OWz-zu-i81" secondAttribute="centerX" id="1mc-sL-LwX"/>
<constraint firstItem="Mhq-Nd-dQE" firstAttribute="top" secondItem="OWz-zu-i81" secondAttribute="top" constant="10" id="JFg-Hx-Uta"/>
</constraints>
</view>
<connections>
<outlet property="drawingDurationLabel" destination="fpp-Wh-yk8" id="es2-46-ggF"/>
<outlet property="nbLabel" destination="pGA-2Q-WWb" id="3nd-Va-86o"/>
<outlet property="samplingDurationLabel" destination="iIR-C9-jtl" id="kRE-JH-7q3"/>
<outlet property="waveFormView" destination="Mhq-Nd-dQE" id="fgI-tM-3u0"/>
</connections>
</viewController>
<customObject id="dYH-Xq-aK0" userLabel="First Responder" customClass="NSResponder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="112" y="704"/>
</scene>
</scenes>
</document>
================================================
FILE: Example_macOS/Info.plist
================================================
<?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>en</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIconFile</key>
<string></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>APPL</string>
<key>CFBundleShortVersionString</key>
<string>3.0</string>
<key>CFBundleVersion</key>
<string>2</string>
<key>LSMinimumSystemVersion</key>
<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2017 Pereira da Silva. All rights reserved.</string>
<key>NSMainStoryboardFile</key>
<string>Main</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
</dict>
</plist>
================================================
FILE: LICENSE
================================================
The MIT License (MIT)
Copyright (c) 2017 Benoit Pereira da Silva http://pereira-da-silva.com
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
================================================
FILE: Package.swift
================================================
// swift-tools-version:5.3
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "SoundWaveForm",
products: [
// Products define the executables and libraries a package produces, and make them visible to other packages.
.library(
name: "SoundWaveForm",
targets: ["SoundWaveForm"]),
],
dependencies: [
],
targets: [
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
// Targets can depend on other targets in this package, and on products in packages this package depends on.
.target(
name: "SoundWaveForm",
dependencies: []),
]
)
================================================
FILE: README.md
================================================
[](https://swift.org) [](https://developer.apple.com/platforms/) [](https://github.com/Carthage/Carthage)
# SoundWaveForm
Allows to extract sound samples from Video or Sounds files very efficiently (it relies on the Accelerate framework). SoundWaveForm expose an optimized cross platform drawing that renders the waveform into an Image.
## It supports
- macOS 10.11 & +
- iOS 8 & +
- swift 5.x
- if you need to support swift 4 use [v3.0.2](https://github.com/benoit-pereira-da-silva/SoundWaveForm/releases/tag/v3.0.2)
- if you need to support swift 3 use the [v2.0.1](https://github.com/benoit-pereira-da-silva/SoundWaveForm/releases/tag/v2.0.1)
# Screen Shots



# Usage sample
The framework is composed of a SamplesExtractor and a WaveFormDrawer.
```swift
// Configure the drawings
let configuration = WaveformConfiguration( size: waveFormView.bounds.size,
backgroundColor: WaveColor.lightGray,
color: WaveColor.red,
style: .striped,
position: .middle,
scale: 1)
// Extract the downsampled samples
// Proceed to extraction
SamplesExtractor.samples(audioTrack: track,
timeRange: nil,
desiredNumberOfSamples: 500,
onSuccess:{ samples, sampleMax, id in
// Let's display the waveform in a view
self.waveFormView.image = WaveFormDrawer.image(from: samples, with: configuration)
},
onFailure: { error, id in
... // Handle the error e.g: print("\(id ?? "") \(error)")
}
)
```
## How to extract sample from a specified timeRange?
You can define AVAssetReader.timeRange.
```swift
let asset = AVURLAsset(url: url)
let audioTracks:[AVAssetTrack] = asset.tracks(withMediaType: AVMediaTypeAudio)
if let track:AVAssetTrack = audioTracks.first{
// Define the timeRange from second 1 to second 10
let startTime = CMTime(seconds: 1, preferredTimescale: 1000)
let endTime = CMTime(seconds: 10, preferredTimescale: 1000)
let timeRange = CMTimeRangeMake(startTime, endTime)
// Proceed to extraction (refer to previous code)
SamplesExtractor.samples(audioTrack: track,
timeRange:timeRange,
desiredNumberOfSamples: 500,
onSuccess:{ samples, sampleMax, id in
... // Proceeed
},
onFailure: { error, id in
... // Handle the error
}
)
}
```
## Installation
- Via SPM: add `https://github.com/benoit-pereira-da-silva/SoundWaveForm`
- Via Carthage: Add to your Cartfile ` github "benoit-pereira-da-silva/SoundWaveForm"`
- Copy the two source files : `Sources/SoundWaveForm/`
## Inspiration
This project has been largely inspired by [FDWaveformView](https://github.com/fulldecent/FDWaveformView) and [DSWaveformImage](https://github.com/dmrschmidt/DSWaveformImage). Thanks to William aka [@fulldecent](https://github.com/fulldecent/) and Daniel [@dmrschmidt](https://github.com/dmrschmidt/).
================================================
FILE: Shared/ExampleViewController.swift
================================================
//
// ViewController.swift
// SoundWaveForm
//
// Created by Benoit Pereira da silva on 22/07/2017.
// Copyright © 2017 Pereira da Silva. All rights reserved.
//
import AVFoundation
import SoundWaveForm
#if os(OSX)
import AppKit
public typealias UniversalViewController = NSViewController
public typealias UniversalImageView = NSImageView
public typealias UniversalLabel = NSTextField
#elseif os(iOS)
import UIKit
public typealias UniversalViewController = UIViewController
public typealias UniversalImageView = UIImageView
public typealias UniversalLabel = UILabel
#endif
public class ExampleViewController: UniversalViewController {
@IBOutlet weak var waveFormView: UniversalImageView!
@IBOutlet weak var nbLabel: UniversalLabel!
@IBOutlet weak var samplingDurationLabel: UniversalLabel!
@IBOutlet weak var drawingDurationLabel: UniversalLabel!
override public func viewDidLoad() {
super.viewDidLoad()
let url = Bundle.main.url(forResource: "Beat110", withExtension: "mp3")!
let asset = AVAsset(url: url)
let audioTracks:[AVAssetTrack] = asset.tracks(withMediaType: AVMediaType.audio)
if let track:AVAssetTrack = audioTracks.first{
//let timeRange = CMTimeRangeMake(CMTime(seconds: 0, preferredTimescale: 1000), CMTime(seconds: 1, preferredTimescale: 1000))
let timeRange:CMTimeRange? = nil
let width = Int(self.waveFormView.bounds.width)
// Let's extract the downsampled samples
let samplingStartTime = CFAbsoluteTimeGetCurrent()
SamplesExtractor.samples(audioTrack: track,
timeRange: timeRange,
desiredNumberOfSamples: width,
onSuccess: { s, sMax, _ in
let sampling = (samples: s, sampleMax: sMax)
let samplingDuration = CFAbsoluteTimeGetCurrent() - samplingStartTime
// Image Drawing
// Let's draw the sample into an image.
let configuration = WaveformConfiguration(size: self.waveFormView.bounds.size,
color: WaveColor.red,
backgroundColor:WaveColor.clear,
style: .striped(period: 3),
position: .middle,
scale: 1,
borderWidth:0,
borderColor:WaveColor.red)
let drawingStartTime = CFAbsoluteTimeGetCurrent()
self.waveFormView.image = WaveFormDrawer.image(with: sampling, and: configuration)
let drawingDuration = CFAbsoluteTimeGetCurrent() - drawingStartTime
// Display the nb of samples, and the processing durations
#if os(OSX)
self.nbLabel.stringValue = "\(width)/\(sampling.samples.count)"
self.samplingDurationLabel.stringValue = String(format:"%.3f s",samplingDuration)
self.drawingDurationLabel.stringValue = String(format:"%.3f s",drawingDuration)
#elseif os(iOS)
self.nbLabel.text = "\(width)/\(sampling.samples.count)"
self.samplingDurationLabel.text = String(format:"%.3f s",samplingDuration)
self.drawingDurationLabel.text = String(format:"%.3f s",drawingDuration)
#endif
}, onFailure: { error, id in
print("\(id ?? "") \(error)")
})
}
}
}
================================================
FILE: SoundWaveForm/Info.plist
================================================
<?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>en</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>3.0.2</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2017 Pereira da Silva. All rights reserved.</string>
<key>NSPrincipalClass</key>
<string></string>
</dict>
</plist>
================================================
FILE: SoundWaveForm/SoundWaveForm.h
================================================
//
// SoundWaveForm.h
// SoundWaveForm
//
// Created by Benoit Pereira da silva on 22/07/2017.
// Copyright © 2017 Pereira da Silva. All rights reserved.
//
#import <Cocoa/Cocoa.h>
//! Project version number for SoundWaveForm.
FOUNDATION_EXPORT double SoundWaveFormVersionNumber;
//! Project version string for SoundWaveForm.
FOUNDATION_EXPORT const unsigned char SoundWaveFormVersionString[];
// In this header, you should import all the public headers of your framework using statements like #import <SoundWaveForm/PublicHeader.h>
================================================
FILE: SoundWaveForm.xcodeproj/project.pbxproj
================================================
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 46;
objects = {
/* Begin PBXBuildFile section */
E54A51C41F2729D400BDBD18 /* Taha.mp3 in Resources */ = {isa = PBXBuildFile; fileRef = E54A51C31F2729D400BDBD18 /* Taha.mp3 */; };
E54A51C51F2729D400BDBD18 /* Taha.mp3 in Resources */ = {isa = PBXBuildFile; fileRef = E54A51C31F2729D400BDBD18 /* Taha.mp3 */; };
E5732E2B1F25EA0A0077642B /* ExampleViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = E5732E281F25EA0A0077642B /* ExampleViewController.swift */; };
E58D2F201F273CF900C7D97F /* Beat110.mp3 in Resources */ = {isa = PBXBuildFile; fileRef = E58D2F1F1F273CF900C7D97F /* Beat110.mp3 */; };
E58D2F211F273CF900C7D97F /* Beat110.mp3 in Resources */ = {isa = PBXBuildFile; fileRef = E58D2F1F1F273CF900C7D97F /* Beat110.mp3 */; };
E5A0BF791F25F20B0024564C /* ExampleViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = E5732E281F25EA0A0077642B /* ExampleViewController.swift */; };
E5B0ECFC1F238A40005D1A58 /* SoundWaveForm.h in Headers */ = {isa = PBXBuildFile; fileRef = E5B0ECFA1F238A40005D1A58 /* SoundWaveForm.h */; settings = {ATTRIBUTES = (Public, ); }; };
E5B0ED5A1F238B6B005D1A58 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = E5B0ED591F238B6B005D1A58 /* AppDelegate.swift */; };
E5B0ED5E1F238B6B005D1A58 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = E5B0ED5D1F238B6B005D1A58 /* Assets.xcassets */; };
E5B0ED611F238B6B005D1A58 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = E5B0ED5F1F238B6B005D1A58 /* Main.storyboard */; };
E5B0ED6F1F238B9D005D1A58 /* SoundWaveFormTouch.h in Headers */ = {isa = PBXBuildFile; fileRef = E5B0ED6D1F238B9D005D1A58 /* SoundWaveFormTouch.h */; settings = {ATTRIBUTES = (Public, ); }; };
E5B0ED7A1F238BB2005D1A58 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = E5B0ED791F238BB2005D1A58 /* AppDelegate.swift */; };
E5B0ED7F1F238BB2005D1A58 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = E5B0ED7D1F238BB2005D1A58 /* Main.storyboard */; };
E5B0ED811F238BB2005D1A58 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = E5B0ED801F238BB2005D1A58 /* Assets.xcassets */; };
E5B0ED841F238BB2005D1A58 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = E5B0ED821F238BB2005D1A58 /* LaunchScreen.storyboard */; };
E5B0ED8B1F238C44005D1A58 /* SamplesExtractor.swift in Sources */ = {isa = PBXBuildFile; fileRef = E5B0ED8A1F238C44005D1A58 /* SamplesExtractor.swift */; };
E5B0ED8C1F238C44005D1A58 /* SamplesExtractor.swift in Sources */ = {isa = PBXBuildFile; fileRef = E5B0ED8A1F238C44005D1A58 /* SamplesExtractor.swift */; };
E5B0ED8F1F239050005D1A58 /* WaveFormDrawer.swift in Sources */ = {isa = PBXBuildFile; fileRef = E5B0ED8E1F239050005D1A58 /* WaveFormDrawer.swift */; };
E5B0ED901F239050005D1A58 /* WaveFormDrawer.swift in Sources */ = {isa = PBXBuildFile; fileRef = E5B0ED8E1F239050005D1A58 /* WaveFormDrawer.swift */; };
E5B0ED971F239D69005D1A58 /* SoundWaveForm.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E5B0ECF71F238A40005D1A58 /* SoundWaveForm.framework */; };
E5B0ED981F239D69005D1A58 /* SoundWaveForm.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = E5B0ECF71F238A40005D1A58 /* SoundWaveForm.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
E5DEEC8D2010EB7500ADAE3F /* SoundWaveForm.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E5B0ED6B1F238B9D005D1A58 /* SoundWaveForm.framework */; };
E5DEEC8E2010EB7500ADAE3F /* SoundWaveForm.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = E5B0ED6B1F238B9D005D1A58 /* SoundWaveForm.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
/* End PBXBuildFile section */
/* Begin PBXContainerItemProxy section */
E5B0ED991F239D69005D1A58 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = E5B0ECEE1F238A40005D1A58 /* Project object */;
proxyType = 1;
remoteGlobalIDString = E5B0ECF61F238A40005D1A58;
remoteInfo = SoundWaveForm;
};
E5DEEC8F2010EB7500ADAE3F /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = E5B0ECEE1F238A40005D1A58 /* Project object */;
proxyType = 1;
remoteGlobalIDString = E5B0ED6A1F238B9D005D1A58;
remoteInfo = SoundWaveFormTouch;
};
/* End PBXContainerItemProxy section */
/* Begin PBXCopyFilesBuildPhase section */
E5B0ED9B1F239D69005D1A58 /* Embed Frameworks */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
dstPath = "";
dstSubfolderSpec = 10;
files = (
E5B0ED981F239D69005D1A58 /* SoundWaveForm.framework in Embed Frameworks */,
);
name = "Embed Frameworks";
runOnlyForDeploymentPostprocessing = 0;
};
E5DEEC912010EB7500ADAE3F /* Embed Frameworks */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
dstPath = "";
dstSubfolderSpec = 10;
files = (
E5DEEC8E2010EB7500ADAE3F /* SoundWaveForm.framework in Embed Frameworks */,
);
name = "Embed Frameworks";
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXCopyFilesBuildPhase section */
/* Begin PBXFileReference section */
E54A51C31F2729D400BDBD18 /* Taha.mp3 */ = {isa = PBXFileReference; lastKnownFileType = audio.mp3; path = Taha.mp3; sourceTree = "<group>"; };
E5732E281F25EA0A0077642B /* ExampleViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ExampleViewController.swift; sourceTree = "<group>"; };
E58D2F1F1F273CF900C7D97F /* Beat110.mp3 */ = {isa = PBXFileReference; lastKnownFileType = audio.mp3; path = Beat110.mp3; sourceTree = "<group>"; };
E5B0ECF71F238A40005D1A58 /* SoundWaveForm.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = SoundWaveForm.framework; sourceTree = BUILT_PRODUCTS_DIR; };
E5B0ECFA1F238A40005D1A58 /* SoundWaveForm.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SoundWaveForm.h; sourceTree = "<group>"; };
E5B0ECFB1F238A40005D1A58 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
E5B0ED571F238B6B005D1A58 /* Example_macOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Example_macOS.app; sourceTree = BUILT_PRODUCTS_DIR; };
E5B0ED591F238B6B005D1A58 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
E5B0ED5D1F238B6B005D1A58 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
E5B0ED601F238B6B005D1A58 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
E5B0ED621F238B6B005D1A58 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
E5B0ED6B1F238B9D005D1A58 /* SoundWaveForm.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = SoundWaveForm.framework; sourceTree = BUILT_PRODUCTS_DIR; };
E5B0ED6D1F238B9D005D1A58 /* SoundWaveFormTouch.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SoundWaveFormTouch.h; sourceTree = "<group>"; };
E5B0ED6E1F238B9D005D1A58 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
E5B0ED771F238BB2005D1A58 /* Example_iOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Example_iOS.app; sourceTree = BUILT_PRODUCTS_DIR; };
E5B0ED791F238BB2005D1A58 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
E5B0ED7E1F238BB2005D1A58 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
E5B0ED801F238BB2005D1A58 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
E5B0ED831F238BB2005D1A58 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
E5B0ED851F238BB2005D1A58 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
E5B0ED8A1F238C44005D1A58 /* SamplesExtractor.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SamplesExtractor.swift; sourceTree = "<group>"; };
E5B0ED8E1F239050005D1A58 /* WaveFormDrawer.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = WaveFormDrawer.swift; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
E5B0ECF31F238A40005D1A58 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
E5B0ED541F238B6B005D1A58 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
E5B0ED971F239D69005D1A58 /* SoundWaveForm.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
E5B0ED671F238B9D005D1A58 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
E5B0ED741F238BB2005D1A58 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
E5DEEC8D2010EB7500ADAE3F /* SoundWaveForm.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
E5727E372549C48100387730 /* SoundWaveForm */ = {
isa = PBXGroup;
children = (
E5B0ED8A1F238C44005D1A58 /* SamplesExtractor.swift */,
E5B0ED8E1F239050005D1A58 /* WaveFormDrawer.swift */,
);
path = SoundWaveForm;
sourceTree = "<group>";
};
E5732E261F25EA0A0077642B /* Shared */ = {
isa = PBXGroup;
children = (
E58D2F1F1F273CF900C7D97F /* Beat110.mp3 */,
E54A51C31F2729D400BDBD18 /* Taha.mp3 */,
E5732E281F25EA0A0077642B /* ExampleViewController.swift */,
);
path = Shared;
sourceTree = "<group>";
};
E5B0ECED1F238A40005D1A58 = {
isa = PBXGroup;
children = (
E5732E261F25EA0A0077642B /* Shared */,
E5B0ED891F238C24005D1A58 /* Sources */,
E5B0ECF91F238A40005D1A58 /* SoundWaveForm */,
E5B0ED6C1F238B9D005D1A58 /* SoundWaveFormTouch */,
E5B0ED581F238B6B005D1A58 /* Example_macOS */,
E5B0ED781F238BB2005D1A58 /* Example_iOS */,
E5B0ECF81F238A40005D1A58 /* Products */,
);
sourceTree = "<group>";
};
E5B0ECF81F238A40005D1A58 /* Products */ = {
isa = PBXGroup;
children = (
E5B0ECF71F238A40005D1A58 /* SoundWaveForm.framework */,
E5B0ED571F238B6B005D1A58 /* Example_macOS.app */,
E5B0ED6B1F238B9D005D1A58 /* SoundWaveForm.framework */,
E5B0ED771F238BB2005D1A58 /* Example_iOS.app */,
);
name = Products;
sourceTree = "<group>";
};
E5B0ECF91F238A40005D1A58 /* SoundWaveForm */ = {
isa = PBXGroup;
children = (
E5B0ECFA1F238A40005D1A58 /* SoundWaveForm.h */,
E5B0ECFB1F238A40005D1A58 /* Info.plist */,
);
path = SoundWaveForm;
sourceTree = "<group>";
};
E5B0ED581F238B6B005D1A58 /* Example_macOS */ = {
isa = PBXGroup;
children = (
E5B0ED591F238B6B005D1A58 /* AppDelegate.swift */,
E5B0ED5D1F238B6B005D1A58 /* Assets.xcassets */,
E5B0ED5F1F238B6B005D1A58 /* Main.storyboard */,
E5B0ED621F238B6B005D1A58 /* Info.plist */,
);
path = Example_macOS;
sourceTree = "<group>";
};
E5B0ED6C1F238B9D005D1A58 /* SoundWaveFormTouch */ = {
isa = PBXGroup;
children = (
E5B0ED6D1F238B9D005D1A58 /* SoundWaveFormTouch.h */,
E5B0ED6E1F238B9D005D1A58 /* Info.plist */,
);
path = SoundWaveFormTouch;
sourceTree = SOURCE_ROOT;
};
E5B0ED781F238BB2005D1A58 /* Example_iOS */ = {
isa = PBXGroup;
children = (
E5B0ED791F238BB2005D1A58 /* AppDelegate.swift */,
E5B0ED7D1F238BB2005D1A58 /* Main.storyboard */,
E5B0ED801F238BB2005D1A58 /* Assets.xcassets */,
E5B0ED821F238BB2005D1A58 /* LaunchScreen.storyboard */,
E5B0ED851F238BB2005D1A58 /* Info.plist */,
);
path = Example_iOS;
sourceTree = "<group>";
};
E5B0ED891F238C24005D1A58 /* Sources */ = {
isa = PBXGroup;
children = (
E5727E372549C48100387730 /* SoundWaveForm */,
);
path = Sources;
sourceTree = "<group>";
};
/* End PBXGroup section */
/* Begin PBXHeadersBuildPhase section */
E5B0ECF41F238A40005D1A58 /* Headers */ = {
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
E5B0ECFC1F238A40005D1A58 /* SoundWaveForm.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
E5B0ED681F238B9D005D1A58 /* Headers */ = {
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
E5B0ED6F1F238B9D005D1A58 /* SoundWaveFormTouch.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXHeadersBuildPhase section */
/* Begin PBXNativeTarget section */
E5B0ECF61F238A40005D1A58 /* SoundWaveForm */ = {
isa = PBXNativeTarget;
buildConfigurationList = E5B0ECFF1F238A40005D1A58 /* Build configuration list for PBXNativeTarget "SoundWaveForm" */;
buildPhases = (
E5B0ECF21F238A40005D1A58 /* Sources */,
E5B0ECF31F238A40005D1A58 /* Frameworks */,
E5B0ECF41F238A40005D1A58 /* Headers */,
E5B0ECF51F238A40005D1A58 /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = SoundWaveForm;
productName = SoundWaveForm;
productReference = E5B0ECF71F238A40005D1A58 /* SoundWaveForm.framework */;
productType = "com.apple.product-type.framework";
};
E5B0ED561F238B6B005D1A58 /* Example_macOS */ = {
isa = PBXNativeTarget;
buildConfigurationList = E5B0ED631F238B6B005D1A58 /* Build configuration list for PBXNativeTarget "Example_macOS" */;
buildPhases = (
E5B0ED531F238B6B005D1A58 /* Sources */,
E5B0ED541F238B6B005D1A58 /* Frameworks */,
E5B0ED551F238B6B005D1A58 /* Resources */,
E5B0ED9B1F239D69005D1A58 /* Embed Frameworks */,
);
buildRules = (
);
dependencies = (
E5B0ED9A1F239D69005D1A58 /* PBXTargetDependency */,
);
name = Example_macOS;
productName = Example_macOS;
productReference = E5B0ED571F238B6B005D1A58 /* Example_macOS.app */;
productType = "com.apple.product-type.application";
};
E5B0ED6A1F238B9D005D1A58 /* SoundWaveFormTouch */ = {
isa = PBXNativeTarget;
buildConfigurationList = E5B0ED701F238B9D005D1A58 /* Build configuration list for PBXNativeTarget "SoundWaveFormTouch" */;
buildPhases = (
E5B0ED661F238B9D005D1A58 /* Sources */,
E5B0ED671F238B9D005D1A58 /* Frameworks */,
E5B0ED681F238B9D005D1A58 /* Headers */,
E5B0ED691F238B9D005D1A58 /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = SoundWaveFormTouch;
productName = SoundWaveFormTouch;
productReference = E5B0ED6B1F238B9D005D1A58 /* SoundWaveForm.framework */;
productType = "com.apple.product-type.framework";
};
E5B0ED761F238BB2005D1A58 /* Example_iOS */ = {
isa = PBXNativeTarget;
buildConfigurationList = E5B0ED861F238BB2005D1A58 /* Build configuration list for PBXNativeTarget "Example_iOS" */;
buildPhases = (
E5B0ED731F238BB2005D1A58 /* Sources */,
E5B0ED741F238BB2005D1A58 /* Frameworks */,
E5B0ED751F238BB2005D1A58 /* Resources */,
E5DEEC912010EB7500ADAE3F /* Embed Frameworks */,
);
buildRules = (
);
dependencies = (
E5DEEC902010EB7500ADAE3F /* PBXTargetDependency */,
);
name = Example_iOS;
productName = Example_iOS;
productReference = E5B0ED771F238BB2005D1A58 /* Example_iOS.app */;
productType = "com.apple.product-type.application";
};
/* End PBXNativeTarget section */
/* Begin PBXProject section */
E5B0ECEE1F238A40005D1A58 /* Project object */ = {
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 0830;
LastUpgradeCheck = 1210;
ORGANIZATIONNAME = "Pereira da Silva";
TargetAttributes = {
E5B0ECF61F238A40005D1A58 = {
CreatedOnToolsVersion = 8.3.3;
LastSwiftMigration = 0920;
ProvisioningStyle = Automatic;
};
E5B0ED561F238B6B005D1A58 = {
CreatedOnToolsVersion = 8.3.3;
DevelopmentTeam = LX7WHQV846;
LastSwiftMigration = 0920;
ProvisioningStyle = Automatic;
};
E5B0ED6A1F238B9D005D1A58 = {
CreatedOnToolsVersion = 8.3.3;
LastSwiftMigration = 1130;
ProvisioningStyle = Automatic;
};
E5B0ED761F238BB2005D1A58 = {
CreatedOnToolsVersion = 8.3.3;
DevelopmentTeam = LX7WHQV846;
LastSwiftMigration = 1130;
ProvisioningStyle = Automatic;
};
};
};
buildConfigurationList = E5B0ECF11F238A40005D1A58 /* Build configuration list for PBXProject "SoundWaveForm" */;
compatibilityVersion = "Xcode 3.2";
developmentRegion = en;
hasScannedForEncodings = 0;
knownRegions = (
en,
Base,
);
mainGroup = E5B0ECED1F238A40005D1A58;
productRefGroup = E5B0ECF81F238A40005D1A58 /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
E5B0ECF61F238A40005D1A58 /* SoundWaveForm */,
E5B0ED561F238B6B005D1A58 /* Example_macOS */,
E5B0ED6A1F238B9D005D1A58 /* SoundWaveFormTouch */,
E5B0ED761F238BB2005D1A58 /* Example_iOS */,
);
};
/* End PBXProject section */
/* Begin PBXResourcesBuildPhase section */
E5B0ECF51F238A40005D1A58 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
E5B0ED551F238B6B005D1A58 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
E54A51C41F2729D400BDBD18 /* Taha.mp3 in Resources */,
E5B0ED5E1F238B6B005D1A58 /* Assets.xcassets in Resources */,
E5B0ED611F238B6B005D1A58 /* Main.storyboard in Resources */,
E58D2F201F273CF900C7D97F /* Beat110.mp3 in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
E5B0ED691F238B9D005D1A58 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
E5B0ED751F238BB2005D1A58 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
E58D2F211F273CF900C7D97F /* Beat110.mp3 in Resources */,
E54A51C51F2729D400BDBD18 /* Taha.mp3 in Resources */,
E5B0ED841F238BB2005D1A58 /* LaunchScreen.storyboard in Resources */,
E5B0ED811F238BB2005D1A58 /* Assets.xcassets in Resources */,
E5B0ED7F1F238BB2005D1A58 /* Main.storyboard in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
E5B0ECF21F238A40005D1A58 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
E5B0ED8F1F239050005D1A58 /* WaveFormDrawer.swift in Sources */,
E5B0ED8B1F238C44005D1A58 /* SamplesExtractor.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
E5B0ED531F238B6B005D1A58 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
E5B0ED5A1F238B6B005D1A58 /* AppDelegate.swift in Sources */,
E5732E2B1F25EA0A0077642B /* ExampleViewController.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
E5B0ED661F238B9D005D1A58 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
E5B0ED901F239050005D1A58 /* WaveFormDrawer.swift in Sources */,
E5B0ED8C1F238C44005D1A58 /* SamplesExtractor.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
E5B0ED731F238BB2005D1A58 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
E5B0ED7A1F238BB2005D1A58 /* AppDelegate.swift in Sources */,
E5A0BF791F25F20B0024564C /* ExampleViewController.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
/* Begin PBXTargetDependency section */
E5B0ED9A1F239D69005D1A58 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = E5B0ECF61F238A40005D1A58 /* SoundWaveForm */;
targetProxy = E5B0ED991F239D69005D1A58 /* PBXContainerItemProxy */;
};
E5DEEC902010EB7500ADAE3F /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = E5B0ED6A1F238B9D005D1A58 /* SoundWaveFormTouch */;
targetProxy = E5DEEC8F2010EB7500ADAE3F /* PBXContainerItemProxy */;
};
/* End PBXTargetDependency section */
/* Begin PBXVariantGroup section */
E5B0ED5F1F238B6B005D1A58 /* Main.storyboard */ = {
isa = PBXVariantGroup;
children = (
E5B0ED601F238B6B005D1A58 /* Base */,
);
name = Main.storyboard;
sourceTree = "<group>";
};
E5B0ED7D1F238BB2005D1A58 /* Main.storyboard */ = {
isa = PBXVariantGroup;
children = (
E5B0ED7E1F238BB2005D1A58 /* Base */,
);
name = Main.storyboard;
sourceTree = "<group>";
};
E5B0ED821F238BB2005D1A58 /* LaunchScreen.storyboard */ = {
isa = PBXVariantGroup;
children = (
E5B0ED831F238BB2005D1A58 /* Base */,
);
name = LaunchScreen.storyboard;
sourceTree = "<group>";
};
/* End PBXVariantGroup section */
/* Begin XCBuildConfiguration section */
E5B0ECFD1F238A40005D1A58 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "-";
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 1;
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
);
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.12;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = macosx;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
name = Debug;
};
E5B0ECFE1F238A40005D1A58 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "-";
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 1;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.12;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = macosx;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
name = Release;
};
E5B0ED001F238A40005D1A58 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_IDENTITY = "";
COMBINE_HIDPI_IMAGES = YES;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = "";
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
FRAMEWORK_VERSION = A;
INFOPLIST_FILE = SoundWaveForm/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks";
MACOSX_DEPLOYMENT_TARGET = 10.11;
PRODUCT_BUNDLE_IDENTIFIER = "com.pereira-da-silva.SoundWaveForm";
PRODUCT_NAME = SoundWaveForm;
SKIP_INSTALL = YES;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_SWIFT3_OBJC_INFERENCE = Default;
SWIFT_VERSION = 4.0;
};
name = Debug;
};
E5B0ED011F238A40005D1A58 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_IDENTITY = "";
COMBINE_HIDPI_IMAGES = YES;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = "";
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
FRAMEWORK_VERSION = A;
INFOPLIST_FILE = SoundWaveForm/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks";
MACOSX_DEPLOYMENT_TARGET = 10.11;
PRODUCT_BUNDLE_IDENTIFIER = "com.pereira-da-silva.SoundWaveForm";
PRODUCT_NAME = SoundWaveForm;
SKIP_INSTALL = YES;
SWIFT_SWIFT3_OBJC_INFERENCE = Default;
SWIFT_VERSION = 4.0;
};
name = Release;
};
E5B0ED641F238B6B005D1A58 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_IDENTITY = "Mac Developer";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
DEVELOPMENT_TEAM = LX7WHQV846;
ENABLE_HARDENED_RUNTIME = YES;
INFOPLIST_FILE = Example_macOS/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
MACOSX_DEPLOYMENT_TARGET = 10.11;
PRODUCT_BUNDLE_IDENTIFIER = "com.pereira-da-silva.Example-macOS";
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
SWIFT_SWIFT3_OBJC_INFERENCE = Default;
SWIFT_VERSION = 4.0;
};
name = Debug;
};
E5B0ED651F238B6B005D1A58 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_IDENTITY = "Mac Developer";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
DEVELOPMENT_TEAM = LX7WHQV846;
ENABLE_HARDENED_RUNTIME = YES;
INFOPLIST_FILE = Example_macOS/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
MACOSX_DEPLOYMENT_TARGET = 10.11;
PRODUCT_BUNDLE_IDENTIFIER = "com.pereira-da-silva.Example-macOS";
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
SWIFT_SWIFT3_OBJC_INFERENCE = Default;
SWIFT_VERSION = 4.0;
};
name = Release;
};
E5B0ED711F238B9D005D1A58 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_IDENTITY = "";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = "";
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = SoundWaveFormTouch/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "com.pereira-da-silva.SoundWaveFormTouch";
PRODUCT_NAME = SoundWaveForm;
SDKROOT = iphoneos;
SKIP_INSTALL = YES;
SUPPORTS_MACCATALYST = NO;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_SWIFT3_OBJC_INFERENCE = Default;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
};
E5B0ED721F238B9D005D1A58 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_IDENTITY = "";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = "";
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = SoundWaveFormTouch/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "com.pereira-da-silva.SoundWaveFormTouch";
PRODUCT_NAME = SoundWaveForm;
SDKROOT = iphoneos;
SKIP_INSTALL = YES;
SUPPORTS_MACCATALYST = NO;
SWIFT_SWIFT3_OBJC_INFERENCE = Default;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
VALIDATE_PRODUCT = YES;
};
name = Release;
};
E5B0ED871F238BB2005D1A58 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = LX7WHQV846;
INFOPLIST_FILE = Example_iOS/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "com.pereira-da-silva.ExampleIOS";
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
SDKROOT = iphoneos;
SWIFT_SWIFT3_OBJC_INFERENCE = Default;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
};
E5B0ED881F238BB2005D1A58 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = LX7WHQV846;
INFOPLIST_FILE = Example_iOS/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "com.pereira-da-silva.ExampleIOS";
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
SDKROOT = iphoneos;
SWIFT_SWIFT3_OBJC_INFERENCE = Default;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
VALIDATE_PRODUCT = YES;
};
name = Release;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
E5B0ECF11F238A40005D1A58 /* Build configuration list for PBXProject "SoundWaveForm" */ = {
isa = XCConfigurationList;
buildConfigurations = (
E5B0ECFD1F238A40005D1A58 /* Debug */,
E5B0ECFE1F238A40005D1A58 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
E5B0ECFF1F238A40005D1A58 /* Build configuration list for PBXNativeTarget "SoundWaveForm" */ = {
isa = XCConfigurationList;
buildConfigurations = (
E5B0ED001F238A40005D1A58 /* Debug */,
E5B0ED011F238A40005D1A58 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
E5B0ED631F238B6B005D1A58 /* Build configuration list for PBXNativeTarget "Example_macOS" */ = {
isa = XCConfigurationList;
buildConfigurations = (
E5B0ED641F238B6B005D1A58 /* Debug */,
E5B0ED651F238B6B005D1A58 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
E5B0ED701F238B9D005D1A58 /* Build configuration list for PBXNativeTarget "SoundWaveFormTouch" */ = {
isa = XCConfigurationList;
buildConfigurations = (
E5B0ED711F238B9D005D1A58 /* Debug */,
E5B0ED721F238B9D005D1A58 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
E5B0ED861F238BB2005D1A58 /* Build configuration list for PBXNativeTarget "Example_iOS" */ = {
isa = XCConfigurationList;
buildConfigurations = (
E5B0ED871F238BB2005D1A58 /* Debug */,
E5B0ED881F238BB2005D1A58 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = E5B0ECEE1F238A40005D1A58 /* Project object */;
}
================================================
FILE: SoundWaveForm.xcodeproj/project.xcworkspace/contents.xcworkspacedata
================================================
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version = "1.0">
<FileRef
location = "self:SoundWaveForm.xcodeproj">
</FileRef>
</Workspace>
================================================
FILE: SoundWaveForm.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
================================================
<?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>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>
================================================
FILE: SoundWaveForm.xcodeproj/xcshareddata/xcschemes/SoundWaveForm.xcscheme
================================================
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1210"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "E5B0ECF61F238A40005D1A58"
BuildableName = "SoundWaveForm.framework"
BlueprintName = "SoundWaveForm"
ReferencedContainer = "container:SoundWaveForm.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "E5B0ECF61F238A40005D1A58"
BuildableName = "SoundWaveForm.framework"
BlueprintName = "SoundWaveForm"
ReferencedContainer = "container:SoundWaveForm.xcodeproj">
</BuildableReference>
</MacroExpansion>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "E5B0ECF61F238A40005D1A58"
BuildableName = "SoundWaveForm.framework"
BlueprintName = "SoundWaveForm"
ReferencedContainer = "container:SoundWaveForm.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
================================================
FILE: SoundWaveForm.xcodeproj/xcshareddata/xcschemes/SoundWaveFormTouch.xcscheme
================================================
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1210"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "E5B0ED6A1F238B9D005D1A58"
BuildableName = "SoundWaveForm.framework"
BlueprintName = "SoundWaveFormTouch"
ReferencedContainer = "container:SoundWaveForm.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "E5B0ED6A1F238B9D005D1A58"
BuildableName = "SoundWaveForm.framework"
BlueprintName = "SoundWaveFormTouch"
ReferencedContainer = "container:SoundWaveForm.xcodeproj">
</BuildableReference>
</MacroExpansion>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "E5B0ED6A1F238B9D005D1A58"
BuildableName = "SoundWaveForm.framework"
BlueprintName = "SoundWaveFormTouch"
ReferencedContainer = "container:SoundWaveForm.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
================================================
FILE: SoundWaveFormTouch/Info.plist
================================================
<?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>en</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>3.0.2</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
<string></string>
</dict>
</plist>
================================================
FILE: SoundWaveFormTouch/SoundWaveFormTouch.h
================================================
//
// SoundWaveFormTouch.h
// SoundWaveFormTouch
//
// Created by Benoit Pereira da silva on 22/07/2017.
// Copyright © 2017 Pereira da Silva. All rights reserved.
//
#import <UIKit/UIKit.h>
//! Project version number for SoundWaveFormTouch.
FOUNDATION_EXPORT double SoundWaveFormTouchVersionNumber;
//! Project version string for SoundWaveFormTouch.
FOUNDATION_EXPORT const unsigned char SoundWaveFormTouchVersionString[];
// In this header, you should import all the public headers of your framework using statements like #import <SoundWaveFormTouch/PublicHeader.h>
================================================
FILE: Sources/SoundWaveForm/SamplesExtractor.swift
================================================
//
// Extractor.swift
// SoundWaveForm
//
// I ve been writing This extractor after analyzing a bunch of existing frameworks
//
// https://github.com/fulldecent/FDWaveformView
// https://github.com/dmrschmidt/DSWaveformImage
// ...
//
// - added supports iOS & macOS
// - ability to setup a timeRange to restrict automatically the zone of interest.
// - improved performance
//
// Created by Benoit Pereira da silva on 22/07/2017. https://pereira-da-silva.com
// Copyright © 2017 Pereira da Silva. All rights reserved.
//
import Foundation
import Accelerate
import AVFoundation
public enum SamplesExtractorError: Error {
case assetNotFound
case audioTrackNotFound
case audioTrackMediaTypeMissMatch(mediatype: AVMediaType)
case readingError(message: String)
case extractionHasFailed
}
public struct SamplesExtractor{
public fileprivate(set) static var outputSettings: [String : Any] = [
AVFormatIDKey: kAudioFormatLinearPCM,
AVLinearPCMBitDepthKey: 16,
AVLinearPCMIsBigEndianKey: false,
AVLinearPCMIsFloatKey: false,
AVLinearPCMIsNonInterleaved: false
]
public static var noiseFloor: Float = -50.0 // everything below -X dB will be clipped
/// Samples a sound track
/// There is no guarantee you will obtain exactly the desired number of samples
/// You can compensate in your drawing logic
///
///
/// - Parameters:
/// - audioTrack: the audio track
/// - timeRange: the sampling timerange
/// - desiredNumberOfSamples: the desired number of samples
/// - onSuccess: the success handler with the samples and the sampleMax
/// - onFailure: the failure handler with a contextual error
/// - identifiedBy: an optional identifier to be used to support multiple consumers.
public static func samples( audioTrack: AVAssetTrack,
timeRange: CMTimeRange?,
desiredNumberOfSamples: Int = 100,
onSuccess: @escaping (_ samples: [Float], _ sampleMax: Float,_ identifier: String?)->(),
onFailure: @escaping (_ error:Error,_ identifier: String?)->(),
identifiedBy: String? = nil){
do{
guard let asset = audioTrack.asset else {
throw SamplesExtractorError.assetNotFound
}
let assetReader = try AVAssetReader(asset: asset)
if let timeRange = timeRange{
assetReader.timeRange = timeRange
}
guard audioTrack.mediaType == .audio else {
throw SamplesExtractorError.audioTrackMediaTypeMissMatch(mediatype: audioTrack.mediaType)
}
let trackOutput = AVAssetReaderTrackOutput(track: audioTrack, outputSettings: SamplesExtractor.outputSettings)
assetReader.add(trackOutput)
SamplesExtractor._extract( samplesFrom: assetReader,
asset: assetReader.asset,
track: audioTrack,
downsampledTo: desiredNumberOfSamples,
onSuccess: {samples, sampleMax in
switch assetReader.status {
case .completed:
onSuccess(self._normalize(samples), sampleMax, identifiedBy)
default:
onFailure(SamplesExtractorError.readingError(message:" reading waveform audio data has failed \(assetReader.status)"), identifiedBy)
}
}, onFailure: { error in
onFailure(error, identifiedBy)
})
}catch{
onFailure(error,identifiedBy)
}
}
fileprivate static func _extract( samplesFrom reader: AVAssetReader,
asset: AVAsset,
track:AVAssetTrack,
downsampledTo desiredNumberOfSamples: Int,
onSuccess: @escaping (_ samples: [Float], _ sampleMax: Float)->(),
onFailure: @escaping (_ error:Error)->()){
asset.loadValuesAsynchronously(forKeys: ["duration"]) {
var error: NSError?
let status = asset.statusOfValue(forKey: "duration", error: &error)
switch status {
case .loaded:
guard
let formatDescriptions = track.formatDescriptions as? [CMAudioFormatDescription],
let audioFormatDesc = formatDescriptions.first,
let asbd = CMAudioFormatDescriptionGetStreamBasicDescription(audioFormatDesc)
else { break }
var sampleMax:Float = -Float.infinity
#if os(OSX)
let positiveInfinity = kCMTimePositiveInfinity
#else
let positiveInfinity = CMTime.positiveInfinity
#endif
// By default the reader's timerange is set to CMTimeRangeMake(kCMTimeZero, kCMTimePositiveInfinity)
// So if duration == kCMTimePositiveInfinity we should use the asset duration
let duration:Double = (reader.timeRange.duration == positiveInfinity) ? Double(asset.duration.value) : Double(reader.timeRange.duration.value)
let timscale:Double = (reader.timeRange.duration == positiveInfinity) ? Double(asset.duration.timescale) :Double(reader.timeRange.start.timescale)
let numOfTotalSamples = (asbd.pointee.mSampleRate) * duration / timscale
var channelCount = 1
let formatDesc = track.formatDescriptions
for item in formatDesc {
guard let fmtDesc = CMAudioFormatDescriptionGetStreamBasicDescription(item as! CMAudioFormatDescription) else { continue }
channelCount = Int(fmtDesc.pointee.mChannelsPerFrame)
}
let samplesPerPixel = Int(max(1, Double(channelCount) * numOfTotalSamples / Double(desiredNumberOfSamples)))
let filter = [Float](repeating: 1.0 / Float(samplesPerPixel), count:samplesPerPixel)
var outputSamples = [Float]()
var sampleBuffer = Data()
// 16-bit samples
reader.startReading()
while reader.status == .reading {
guard let readSampleBuffer = reader.outputs[0].copyNextSampleBuffer(),
let readBuffer = CMSampleBufferGetDataBuffer(readSampleBuffer) else {
break
}
// Append audio sample buffer into our current sample buffer
var readBufferLength = 0
#if os(OSX)
var readBufferPointer: UnsafeMutablePointer<Int8>?
CMBlockBufferGetDataPointer(readBuffer, 0, &readBufferLength, nil, &readBufferPointer)
sampleBuffer.append(UnsafeBufferPointer(start: readBufferPointer, count: readBufferLength))
CMSampleBufferInvalidate(readSampleBuffer)
#else
var readBufferPointer: UnsafeMutablePointer<Int8>?
CMBlockBufferGetDataPointer(readBuffer, atOffset: 0, lengthAtOffsetOut: &readBufferLength, totalLengthOut: nil, dataPointerOut: &readBufferPointer)
sampleBuffer.append(UnsafeBufferPointer(start: readBufferPointer, count: readBufferLength))
CMSampleBufferInvalidate(readSampleBuffer)
#endif
let totalSamples = sampleBuffer.count / MemoryLayout<Int16>.size
let downSampledLength = (totalSamples / samplesPerPixel)
let samplesToProcess = downSampledLength * samplesPerPixel
guard samplesToProcess > 0 else { continue }
self._processSamples(fromData: &sampleBuffer,
sampleMax: &sampleMax,
outputSamples: &outputSamples,
samplesToProcess: samplesToProcess,
downSampledLength: downSampledLength,
samplesPerPixel: samplesPerPixel,
filter: filter)
}
// Process the remaining samples at the end which didn't fit into samplesPerPixel
let samplesToProcess = sampleBuffer.count / MemoryLayout<Int16>.size
if samplesToProcess > 0 {
let downSampledLength = 1
let samplesPerPixel = samplesToProcess
let filter = [Float](repeating: 1.0 / Float(samplesPerPixel), count: samplesPerPixel)
self._processSamples(fromData: &sampleBuffer,
sampleMax: &sampleMax,
outputSamples: &outputSamples,
samplesToProcess: samplesToProcess,
downSampledLength: downSampledLength,
samplesPerPixel: samplesPerPixel,
filter: filter)
}
DispatchQueue.main.async {
onSuccess(outputSamples, sampleMax)
}
return
case .failed, .cancelled, .loading, .unknown:
DispatchQueue.main.async {
onFailure(SamplesExtractorError.readingError(message: "could not load asset: \(error?.localizedDescription ?? "Unknown error" )"))
}
@unknown default:
DispatchQueue.main.async {
onFailure(SamplesExtractorError.readingError(message: "could not load asset unsupported error: \(error?.localizedDescription ?? "" )"))
}
}
}
}
private static func _processSamples( fromData sampleBuffer: inout Data,
sampleMax: inout Float,
outputSamples: inout [Float],
samplesToProcess: Int,
downSampledLength: Int,
samplesPerPixel: Int,
filter: [Float]){
sampleBuffer.withUnsafeBytes { (samples: UnsafePointer<Int16>) in
var processingBuffer = [Float](repeating: 0.0, count: samplesToProcess)
let sampleCount = vDSP_Length(samplesToProcess)
//Convert 16bit int samples to floats
vDSP_vflt16(samples, 1, &processingBuffer, 1, sampleCount)
//Take the absolute values to get amplitude
vDSP_vabs(processingBuffer, 1, &processingBuffer, 1, sampleCount)
//Convert to dB
var zero: Float = 32768.0
vDSP_vdbcon(processingBuffer, 1, &zero, &processingBuffer, 1, sampleCount, 1)
//Clip to [noiseFloor, 0]
var ceil: Float = 0.0
var noiseFloorFloat = SamplesExtractor.noiseFloor
vDSP_vclip(processingBuffer, 1, &noiseFloorFloat, &ceil, &processingBuffer, 1, sampleCount)
//Downsample and average
var downSampledData = [Float](repeating: 0.0, count: downSampledLength)
vDSP_desamp(processingBuffer,
vDSP_Stride(samplesPerPixel),
filter, &downSampledData,
vDSP_Length(downSampledLength),
vDSP_Length(samplesPerPixel))
for element in downSampledData{
if element > sampleMax { sampleMax = element }
}
// Remove processed samples
sampleBuffer.removeFirst(samplesToProcess * MemoryLayout<Int16>.size)
outputSamples += downSampledData
}
}
fileprivate static func _normalize(_ samples: [Float]) -> [Float] {
let noiseFloor = SamplesExtractor.noiseFloor
return samples.map { $0 / noiseFloor }
}
}
================================================
FILE: Sources/SoundWaveForm/WaveFormDrawer.swift
================================================
//
// WaveFormDrawer.swift
// SoundWaveForm
// Drawing method was extracted from by https://github.com/dmrschmidt/DSWaveformImage
// I ve added macOS support and fixed and refactored.
// Created by Benoit Pereira da silva on 22/07/2017.
// Copyright © 2017 Pereira da Silva. All rights reserved.
//
import Foundation
import AVFoundation
// MARK : - OSX & iOS compatibilty
#if os(OSX)
import AppKit
public typealias WaveImage = NSImage
public typealias WaveColor = NSColor
public var mainScreenScale:CGFloat = 1
#elseif os(iOS)
import UIKit
public typealias WaveImage = UIImage
public typealias WaveColor = UIColor
public var mainScreenScale = UIScreen.main.scale
extension WaveColor {
// Cocoa Touch to Cocoa adaptation
func highlight(withLevel: CGFloat) -> WaveColor? {
var hue: CGFloat = 0.0, saturation: CGFloat = 0.0, brightness: CGFloat = 0.0, alpha: CGFloat = 0.0
self.getHue(&hue, saturation: &saturation, brightness: &brightness, alpha: &alpha)
let brightnessAdjustment: CGFloat = withLevel
let adjustmentModifier: CGFloat = brightness < brightnessAdjustment ? 1 : -1
let newBrightness = brightness + brightnessAdjustment * adjustmentModifier
return WaveColor(hue: hue, saturation: saturation, brightness: newBrightness, alpha: alpha)
}
}
#endif
// MARK : - Enums
/**
Position of the drawn waveform:
- **top**: Draws the waveform at the top of the image, such that only the bottom 50% are visible.
- **top**: Draws the waveform in the middle the image, such that the entire waveform is visible.
- **bottom**: Draws the waveform at the bottom of the image, such that only the top 50% are visible.
*/
public enum WaveformPosition: Int {
case top = -1
case middle = 0
case bottom = 1
}
/**
Style of the waveform which is used during drawing:
- **filled**: Use solid color for the waveform.
- **gradient**: Use gradient based on color for the waveform.
- **striped**: Use striped filling based on color for the waveform.
*/
public enum WaveformStyle{
case filled
case gradient
case striped(period:Int)
}
// MARK : - WaveformConfiguration
/// Allows customization of the waveform output image.
public struct WaveformConfiguration {
/// Desired output size of the waveform image, works together with scale.
let size: CGSize
/// Color of the waveform, defaults to black.
let color: WaveColor
/// Background color of the waveform, defaults to clear.
let backgroundColor: WaveColor
/// Waveform drawing style, defaults to .gradient.
let style: WaveformStyle
/// Waveform drawing position, defaults to .middle.
let position: WaveformPosition
/// Scale to be applied to the image, defaults to main screen's scale.
let scale: CGFloat
// Should we draw a border. If borderWidth == the border is ignored
let borderWidth:CGFloat
// Border color
let borderColor:WaveColor
/// Optional padding or vertical shrinking factor for the waveform.
let paddingFactor: CGFloat?
// Draw a central line (used to represent the current time position)
public var drawCentraLine: Bool = false
public var centralLineWidth: CGFloat = 2 // The width of the central line
public var centralLineColor: WaveColor = WaveColor.red // Its color
public init(size: CGSize,
color: WaveColor = WaveColor.red,
backgroundColor: WaveColor = WaveColor.clear,
style: WaveformStyle = .gradient,
position: WaveformPosition = .middle,
scale: CGFloat = mainScreenScale,
borderWidth:CGFloat = 0,
borderColor:WaveColor = WaveColor.white,
paddingFactor: CGFloat? = nil
) {
self.color = color
self.backgroundColor = backgroundColor
self.style = style
self.position = position
self.size = size
self.scale = scale
self.borderWidth = borderWidth
self.borderColor = borderColor
self.paddingFactor = paddingFactor
}
}
// MARK : - WaveFormDrawer
open class WaveFormDrawer {
public static func image(with sampling:(samples: [Float], sampleMax: Float) , and configuration: WaveformConfiguration) -> WaveImage? {
#if os(OSX)
if let context = NSGraphicsContext.current{
// Let's use an Image
let image = NSImage(size: configuration.size)
image.lockFocus()
context.shouldAntialias = true
self._drawBackground(on: context.cgContext, with: configuration)
self._drawGraph(from: sampling, on: context.cgContext, with: configuration)
if configuration.borderWidth > 0 {
self._drawBorder(on: context.cgContext, with: configuration)
}
self._drawTheCentralLine(on: context.cgContext, with: configuration)
return image
}else{
// Let's draw Off screen
NSGraphicsContext.saveGraphicsState()
if let rep = NSBitmapImageRep(bitmapDataPlanes: nil,
pixelsWide: Int(configuration.size.width),
pixelsHigh: Int(configuration.size.height),
bitsPerSample: 8,
samplesPerPixel: 4,
hasAlpha: true,
isPlanar: false,
colorSpaceName: NSColorSpaceName.calibratedRGB,
bytesPerRow: 4 * Int(configuration.size.width),
bitsPerPixel: 32){
NSGraphicsContext.current = NSGraphicsContext(bitmapImageRep: rep)
let context = NSGraphicsContext.current!
context.shouldAntialias = true
self._drawBackground(on: context.cgContext, with: configuration)
context.saveGraphicsState()
self._drawGraph(from: sampling, on: context.cgContext, with: configuration)
context.restoreGraphicsState()
if configuration.borderWidth > 0 {
self._drawBorder(on: context.cgContext, with: configuration)
}
self._drawTheCentralLine(on: context.cgContext, with: configuration)
let image = NSImage(size: configuration.size)
image.addRepresentation(rep)
NSGraphicsContext.restoreGraphicsState()
return image
}
return nil
}
#elseif os(iOS)
UIGraphicsBeginImageContextWithOptions(configuration.size, false, configuration.scale)
if let context = UIGraphicsGetCurrentContext(){
context.setAllowsAntialiasing(true)
context.setShouldAntialias(true)
self._drawBackground(on: context, with: configuration)
context.saveGState()
self._drawGraph(from: sampling, on: context, with: configuration)
context.restoreGState()
if configuration.borderWidth > 0 {
self._drawBorder(on: context, with: configuration)
}
self._drawTheCentralLine(on: context, with: configuration)
let graphImage = UIGraphicsGetImageFromCurrentImageContext()
UIGraphicsEndImageContext()
return graphImage
}
return nil
#endif
}
private static func _drawBackground(on context: CGContext, with configuration: WaveformConfiguration) {
context.setFillColor(configuration.backgroundColor.cgColor)
context.fill(CGRect(origin: CGPoint.zero, size: configuration.size))
}
private static func _drawBorder(on context: CGContext, with configuration: WaveformConfiguration) {
let path = CGMutablePath()
let radius:CGFloat = 0
let rect = CGRect(origin: CGPoint.zero, size: configuration.size)
context.setStrokeColor(configuration.borderColor.cgColor)
context.setLineWidth(configuration.borderWidth)
path.move(to:CGPoint(x: rect.minX, y: rect.maxY))
path.addArc(tangent1End: CGPoint(x: rect.minX, y: rect.minY), tangent2End: CGPoint(x: rect.midX, y: rect.minY), radius: radius)
path.addArc(tangent1End: CGPoint(x: rect.maxX, y: rect.minY), tangent2End: CGPoint(x: rect.maxX, y: rect.midY), radius: radius)
path.addArc(tangent1End: CGPoint(x: rect.maxX, y: rect.maxY), tangent2End: CGPoint(x: rect.midX, y: rect.maxY), radius: radius)
path.addArc(tangent1End: CGPoint(x: rect.minX, y: rect.maxY), tangent2End: CGPoint(x: rect.minX, y: rect.midY), radius: radius)
context.addPath(path)
context.drawPath(using: CGPathDrawingMode.stroke)
}
private static func _drawTheCentralLine(on context: CGContext, with configuration: WaveformConfiguration){
guard configuration.drawCentraLine else { return }
let path = CGMutablePath()
let startingPoint = CGPoint(x: (CGFloat(context.width) / 2) - configuration.centralLineWidth, y: 0)
let endPoint = CGPoint(x: startingPoint.x , y: CGFloat(context.height))
context.setStrokeColor(configuration.centralLineColor.cgColor)
context.setLineWidth(configuration.centralLineWidth)
path.move(to: startingPoint)
path.addLine(to: endPoint)
context.addPath(path)
context.drawPath(using: CGPathDrawingMode.stroke)
}
private static func _drawGraph(from sampling:(samples: [Float], sampleMax: Float),
on context: CGContext,
with configuration: WaveformConfiguration) {
let graphRect = CGRect(origin: CGPoint.zero, size: configuration.size)
let graphCenter = graphRect.size.height / 2.0
let positionAdjustedGraphCenter = graphCenter + CGFloat(configuration.position.rawValue) * graphCenter
let verticalPaddingDivisor = configuration.paddingFactor ?? CGFloat(configuration.position == .middle ? 2.5 : 1.5)
let drawMappingFactor = graphRect.size.height / verticalPaddingDivisor
let minimumGraphAmplitude: CGFloat = 2 // we want to see at least a 1pt line for silence
let path = CGMutablePath()
var maxAmplitude: CGFloat = CGFloat(sampling.sampleMax / SamplesExtractor.noiseFloor ) // we know 1 is our max in normalized data, but we keep it 'generic'
context.setLineWidth(1.0 / configuration.scale)
for (x, sample) in sampling.samples.enumerated() {
let xPos = CGFloat(x) / configuration.scale
let invertedDbSample = 1 - CGFloat(sample) // sample is in dB, linearly normalized to [0, 1] (1 -> -50 dB)
let drawingAmplitude = max(minimumGraphAmplitude, invertedDbSample * drawMappingFactor)
let drawingAmplitudeUp = positionAdjustedGraphCenter - drawingAmplitude
let drawingAmplitudeDown = positionAdjustedGraphCenter + drawingAmplitude
maxAmplitude = max(drawingAmplitude, maxAmplitude)
switch configuration.style {
case .striped(let period):
if (Int(xPos) % period == 0) {
path.move(to: CGPoint(x: xPos, y: drawingAmplitudeUp))
path.addLine(to: CGPoint(x: xPos, y: drawingAmplitudeDown))
}
default:
path.move(to: CGPoint(x: xPos, y: drawingAmplitudeUp))
path.addLine(to: CGPoint(x: xPos, y: drawingAmplitudeDown))
}
}
context.addPath(path)
switch configuration.style {
case .filled, .striped:
context.setStrokeColor(configuration.color.cgColor)
context.strokePath()
case .gradient:
context.replacePathWithStrokedPath()
context.clip()
let highlightedColor = configuration.color.highlight(withLevel: 0.5) ?? WaveColor.lightGray
let colors = NSArray(array: [
configuration.color.cgColor,
highlightedColor.cgColor
]) as CFArray
let colorSpace = CGColorSpaceCreateDeviceRGB()
let gradient = CGGradient(colorsSpace: colorSpace, colors: colors, locations: nil)!
context.drawLinearGradient(gradient,
start: CGPoint(x: 0, y: positionAdjustedGraphCenter - maxAmplitude),
end: CGPoint(x: 0, y: positionAdjustedGraphCenter + maxAmplitude),
options: .drawsAfterEndLocation)
}
}
}
gitextract_c_cb9q34/
├── .gitignore
├── Example_iOS/
│ ├── AppDelegate.swift
│ ├── Assets.xcassets/
│ │ └── AppIcon.appiconset/
│ │ └── Contents.json
│ ├── Base.lproj/
│ │ ├── LaunchScreen.storyboard
│ │ └── Main.storyboard
│ └── Info.plist
├── Example_macOS/
│ ├── AppDelegate.swift
│ ├── Assets.xcassets/
│ │ └── AppIcon.appiconset/
│ │ └── Contents.json
│ ├── Base.lproj/
│ │ └── Main.storyboard
│ └── Info.plist
├── LICENSE
├── Package.swift
├── README.md
├── Shared/
│ └── ExampleViewController.swift
├── SoundWaveForm/
│ ├── Info.plist
│ └── SoundWaveForm.h
├── SoundWaveForm.xcodeproj/
│ ├── project.pbxproj
│ ├── project.xcworkspace/
│ │ ├── contents.xcworkspacedata
│ │ └── xcshareddata/
│ │ └── IDEWorkspaceChecks.plist
│ └── xcshareddata/
│ └── xcschemes/
│ ├── SoundWaveForm.xcscheme
│ └── SoundWaveFormTouch.xcscheme
├── SoundWaveFormTouch/
│ ├── Info.plist
│ └── SoundWaveFormTouch.h
└── Sources/
└── SoundWaveForm/
├── SamplesExtractor.swift
└── WaveFormDrawer.swift
Condensed preview — 25 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (176K chars).
[
{
"path": "Example_iOS/AppDelegate.swift",
"chars": 2195,
"preview": "//\n// AppDelegate.swift\n// Example_iOS\n//\n// Created by Benoit Pereira da silva on 22/07/2017.\n// Copyright © 2017 P"
},
{
"path": "Example_iOS/Assets.xcassets/AppIcon.appiconset/Contents.json",
"chars": 1077,
"preview": "{\n \"images\" : [\n {\n \"idiom\" : \"iphone\",\n \"size\" : \"29x29\",\n \"scale\" : \"2x\"\n },\n {\n \"idiom\""
},
{
"path": "Example_iOS/Base.lproj/LaunchScreen.storyboard",
"chars": 1740,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard"
},
{
"path": "Example_iOS/Base.lproj/Main.storyboard",
"chars": 9723,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB\" version=\"3"
},
{
"path": "Example_iOS/Info.plist",
"chars": 1442,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/P"
},
{
"path": "Example_macOS/AppDelegate.swift",
"chars": 527,
"preview": "//\n// AppDelegate.swift\n// Example_macOS\n//\n// Created by Benoit Pereira da silva on 22/07/2017.\n// Copyright © 2017"
},
{
"path": "Example_macOS/Assets.xcassets/AppIcon.appiconset/Contents.json",
"chars": 903,
"preview": "{\n \"images\" : [\n {\n \"idiom\" : \"mac\",\n \"size\" : \"16x16\",\n \"scale\" : \"1x\"\n },\n {\n \"idiom\" : "
},
{
"path": "Example_macOS/Base.lproj/Main.storyboard",
"chars": 67058,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<document type=\"com.apple.InterfaceBuilder3.Cocoa.Storyboard.XIB\" version=\"3.0\" t"
},
{
"path": "Example_macOS/Info.plist",
"chars": 1037,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/P"
},
{
"path": "LICENSE",
"chars": 1118,
"preview": "The MIT License (MIT)\n\nCopyright (c) 2017 Benoit Pereira da Silva http://pereira-da-silva.com\n\nPermission is hereby gran"
},
{
"path": "Package.swift",
"chars": 797,
"preview": "// swift-tools-version:5.3\n// The swift-tools-version declares the minimum version of Swift required to build this packa"
},
{
"path": "README.md",
"chars": 3254,
"preview": "\n[](https://swift.org) [
About this extraction
This page contains the full source code of the benoit-pereira-da-silva/SoundWaveForm GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 25 files (160.5 KB), approximately 37.6k tokens. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.
Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.