This commit is contained in:
Matthew Podwysocki 2020-08-04 15:24:55 -04:00 коммит произвёл GitHub
Родитель 85faa428f2
Коммит a8e3e37328
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
23 изменённых файлов: 1125 добавлений и 2 удалений

5
.gitignore поставляемый
Просмотреть файл

@ -2,10 +2,15 @@
#
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
# App Code
**/.idea/
**/.idea/**
## Build generated
build/
DerivedData/
WindowsAzureMessaging-SDK-Apple
Documentation/**/Generated
## Various settings
*.pbxuser

Просмотреть файл

@ -0,0 +1,63 @@
/* Credit to https://gist.github.com/wataru420/2048287 */
.highlight {
.c { color: #999988; font-style: italic } /* Comment */
.err { color: #a61717; background-color: #e3d2d2 } /* Error */
.k { color: #000000; font-weight: bold } /* Keyword */
.o { color: #000000; font-weight: bold } /* Operator */
.cm { color: #999988; font-style: italic } /* Comment.Multiline */
.cp { color: #999999; font-weight: bold } /* Comment.Preproc */
.c1 { color: #999988; font-style: italic } /* Comment.Single */
.cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */
.gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
.gd .x { color: #000000; background-color: #ffaaaa } /* Generic.Deleted.Specific */
.ge { color: #000000; font-style: italic } /* Generic.Emph */
.gr { color: #aa0000 } /* Generic.Error */
.gh { color: #999999 } /* Generic.Heading */
.gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
.gi .x { color: #000000; background-color: #aaffaa } /* Generic.Inserted.Specific */
.go { color: #888888 } /* Generic.Output */
.gp { color: #555555 } /* Generic.Prompt */
.gs { font-weight: bold } /* Generic.Strong */
.gu { color: #aaaaaa } /* Generic.Subheading */
.gt { color: #aa0000 } /* Generic.Traceback */
.kc { color: #000000; font-weight: bold } /* Keyword.Constant */
.kd { color: #000000; font-weight: bold } /* Keyword.Declaration */
.kp { color: #000000; font-weight: bold } /* Keyword.Pseudo */
.kr { color: #000000; font-weight: bold } /* Keyword.Reserved */
.kt { color: #445588; } /* Keyword.Type */
.m { color: #009999 } /* Literal.Number */
.s { color: #d14 } /* Literal.String */
.na { color: #008080 } /* Name.Attribute */
.nb { color: #0086B3 } /* Name.Builtin */
.nc { color: #445588; font-weight: bold } /* Name.Class */
.no { color: #008080 } /* Name.Constant */
.ni { color: #800080 } /* Name.Entity */
.ne { color: #990000; font-weight: bold } /* Name.Exception */
.nf { color: #990000; } /* Name.Function */
.nn { color: #555555 } /* Name.Namespace */
.nt { color: #000080 } /* Name.Tag */
.nv { color: #008080 } /* Name.Variable */
.ow { color: #000000; font-weight: bold } /* Operator.Word */
.w { color: #bbbbbb } /* Text.Whitespace */
.mf { color: #009999 } /* Literal.Number.Float */
.mh { color: #009999 } /* Literal.Number.Hex */
.mi { color: #009999 } /* Literal.Number.Integer */
.mo { color: #009999 } /* Literal.Number.Oct */
.sb { color: #d14 } /* Literal.String.Backtick */
.sc { color: #d14 } /* Literal.String.Char */
.sd { color: #d14 } /* Literal.String.Doc */
.s2 { color: #d14 } /* Literal.String.Double */
.se { color: #d14 } /* Literal.String.Escape */
.sh { color: #d14 } /* Literal.String.Heredoc */
.si { color: #d14 } /* Literal.String.Interpol */
.sx { color: #d14 } /* Literal.String.Other */
.sr { color: #009926 } /* Literal.String.Regex */
.s1 { color: #d14 } /* Literal.String.Single */
.ss { color: #990073 } /* Literal.String.Symbol */
.bp { color: #999999 } /* Name.Builtin.Pseudo */
.vc { color: #008080 } /* Name.Variable.Class */
.vg { color: #008080 } /* Name.Variable.Global */
.vi { color: #008080 } /* Name.Variable.Instance */
.il { color: #009999 } /* Literal.Number.Integer.Long */
}

Просмотреть файл

@ -0,0 +1,480 @@
////////////////////////////////
// Constants
////////////////////////////////
$bg_color: #414141;
$doc_coverage_color: #999;
$code_color: #777;
$code_bg_color: #eee;
$link_color: #0088cc;
$white_color: #fff;
$light_gray_bg_color: #f2f2f2;
$declaration_bg_color: #f9f9f9;
$sidebar_bg_color: #f9f9f9;
$declaration_title_language_color: #4b8afb;
$sidebar_width: 230px;
$content_wrapper_width: 980px;
$content_top_offset: 70px;
$content_body_margin: 16px;
$content_body_left_offset: $sidebar_width + $content_body_margin;
$header_height: 26px;
$breadcrumb_padding_top: 17px;
$code_font: 0.95em Menlo, monospace;
$gray_border: 1px solid #e2e2e2;
$declaration_language_border: 5px solid #cde9f4;
$aside_color: #aaa;
$aside_border: 5px solid lighten($aside_color, 20%);
$aside_warning_color: #ff0000;
$aside_warning_border: 5px solid lighten($aside_warning_color, 20%);
////////////////////////////////
// Reset
////////////////////////////////
html, body, div, span, h1, h3, h4, p, a, code, em, img, ul, li, table, tbody, tr, td {
background: transparent;
border: 0;
margin: 0;
outline: 0;
padding: 0;
vertical-align: baseline;
}
////////////////////////////////
// Global
////////////////////////////////
body {
background-color: $light_gray_bg_color;
font-family: Helvetica, freesans, Arial, sans-serif;
font-size: 14px;
-webkit-font-smoothing: subpixel-antialiased;
word-wrap: break-word;
}
// Headers
h1, h2, h3 {
margin-top: 0.8em;
margin-bottom: 0.3em;
font-weight: 100;
color: black;
}
h1 {
font-size: 2.5em;
}
h2 {
font-size: 2em;
border-bottom: $gray_border;
}
h4 {
font-size: 13px;
line-height: 1.5;
margin-top: 21px;
}
h5 {
font-size: 1.1em;
}
h6 {
font-size: 1.1em;
color: $code_color;
}
.section-name {
color: rgba(128,128,128,1);
display: block;
font-family: Helvetica;
font-size: 22px;
font-weight: 100;
margin-bottom: 15px;
}
// Code
pre, code {
font: $code_font;
color: $code_color;
word-wrap: normal;
}
p code, li code {
background-color: $code_bg_color;
padding: 2px 4px;
border-radius: 4px;
}
// Links
a {
color: $link_color;
text-decoration: none;
}
// Lists
ul {
padding-left: 15px;
}
li {
line-height: 1.8em;
}
// Images
img {
max-width: 100%;
}
// Blockquotes
blockquote {
margin-left: 0;
padding: 0 10px;
border-left: 4px solid #ccc;
}
// General Content Wrapper
.content-wrapper {
margin: 0 auto;
width: $content_wrapper_width;
}
////////////////////////////////
// Header & Top Breadcrumbs
////////////////////////////////
header {
font-size: 0.85em;
line-height: $header_height;
background-color: $bg_color;
position: fixed;
width: 100%;
z-index: 1;
img {
padding-right: 6px;
vertical-align: -4px;
height: 16px;
}
a {
color: $white_color;
}
p {
float: left;
color: $doc_coverage_color;
}
.header-right {
float: right;
margin-left: 16px;
}
}
#breadcrumbs {
background-color: $light_gray_bg_color;
height: $content_top_offset - $header_height - $breadcrumb_padding_top;
padding-top: $breadcrumb_padding_top;
position: fixed;
width: 100%;
z-index: 1;
margin-top: $header_height;
#carat {
height: 10px;
margin: 0 5px;
}
}
////////////////////////////////
// Side Navigation
////////////////////////////////
.sidebar {
background-color: $sidebar_bg_color;
border: $gray_border;
overflow-y: auto;
overflow-x: hidden;
position: fixed;
top: $content_top_offset;
bottom: 0;
width: $sidebar_width;
word-wrap: normal;
}
.nav-groups {
list-style-type: none;
background: $white_color;
padding-left: 0;
}
.nav-group-name {
border-bottom: $gray_border;
font-size: 1.1em;
font-weight: 100;
padding: 15px 0 15px 20px;
> a {
color: #333;
}
}
.nav-group-tasks {
margin-top: 5px;
}
.nav-group-task {
font-size: 0.9em;
list-style-type: none;
white-space: nowrap;
a {
color: #888;
}
}
////////////////////////////////
// Main Content
////////////////////////////////
.main-content {
background-color: $white_color;
border: $gray_border;
margin-left: $content_body_left_offset;
position: absolute;
overflow: hidden;
padding-bottom: 60px;
top: $content_top_offset;
width: $content_wrapper_width - $content_body_left_offset;
p, a, code, em, ul, table, blockquote {
margin-bottom: 1em;
}
p {
line-height: 1.8em;
}
section {
.section:first-child {
margin-top: 0;
padding-top: 0;
}
.task-group-section .task-group:first-of-type {
padding-top: 10px;
.section-name {
padding-top: 15px;
}
}
}
}
.section {
padding: 0 25px;
}
.highlight {
background-color: $code_bg_color;
padding: 10px 12px;
border: $gray_border;
border-radius: 4px;
overflow-x: auto;
}
.declaration .highlight {
overflow-x: initial; // This allows the scrollbar to show up inside declarations
padding: 0 40px 40px 0;
margin-bottom: -25px;
background-color: transparent;
border: none;
}
.section-name {
margin: 0;
margin-left: 18px;
}
.task-group-section {
padding-left: 6px;
border-top: $gray_border;
}
.task-group {
padding-top: 0px;
}
.task-name-container {
a[name] {
&:before {
content: "";
display: block;
padding-top: $content_top_offset;
margin: -$content_top_offset 0 0;
}
}
}
.item {
padding-top: 8px;
width: 100%;
list-style-type: none;
a[name] {
&:before {
content: "";
display: block;
padding-top: $content_top_offset;
margin: -$content_top_offset 0 0;
}
}
code {
background-color: transparent;
padding: 0;
}
.token {
padding-left: 3px;
margin-left: 15px;
font-size: 11.9px;
}
.declaration-note {
font-size: .85em;
color: rgba(128,128,128,1);
font-style: italic;
}
}
.pointer-container {
border-bottom: $gray_border;
left: -23px;
padding-bottom: 13px;
position: relative;
width: 110%;
}
.pointer {
background: $declaration_bg_color;
border-left: $gray_border;
border-top: $gray_border;
height: 12px;
left: 21px;
top: -7px;
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-o-transform: rotate(45deg);
transform: rotate(45deg);
position: absolute;
width: 12px;
}
.height-container {
display: none;
left: -25px;
padding: 0 25px;
position: relative;
width: 100%;
overflow: hidden;
.section {
background: $declaration_bg_color;
border-bottom: $gray_border;
left: -25px;
position: relative;
width: 100%;
padding-top: 10px;
padding-bottom: 5px;
}
}
.aside, .language {
padding: 6px 12px;
margin: 12px 0;
border-left: $aside_border;
overflow-y: hidden;
.aside-title {
font-size: 9px;
letter-spacing: 2px;
text-transform: uppercase;
padding-bottom: 0;
margin: 0;
color: $aside_color;
-webkit-user-select: none;
}
p:last-child {
margin-bottom: 0;
}
}
.language {
border-left: $declaration_language_border;
.aside-title {
color: $declaration_title_language_color;
}
}
.aside-warning {
border-left: $aside_warning_border;
.aside-title {
color: $aside_warning_color;
}
}
.graybox {
border-collapse: collapse;
width: 100%;
p {
margin: 0;
word-break: break-word;
min-width: 50px;
}
td {
border: $gray_border;
padding: 5px 25px 5px 10px;
vertical-align: middle;
}
tr td:first-of-type {
text-align: right;
padding: 7px;
vertical-align: top;
word-break: normal;
width: 40px;
}
}
.slightly-smaller {
font-size: 0.9em;
}
#footer {
position: absolute;
bottom: 10px;
margin-left: 25px;
p {
margin: 0;
color: #aaa;
font-size: 0.8em;
}
}
////////////////////////////////
// Dash
////////////////////////////////
html.dash {
header, #breadcrumbs, .sidebar {
display: none;
}
.main-content {
width: $content_wrapper_width;
margin-left: 0;
border: none;
width: 100%;
top: 0;
padding-bottom: 0;
}
.height-container {
display: block;
}
.item .token {
margin-left: 0;
}
.content-wrapper {
width: auto;
}
#footer {
position: static;
}
}

Двоичные данные
Documentation/Themes/apple/assets/img/carat.png Executable file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 274 B

Двоичные данные
Documentation/Themes/apple/assets/img/dash.png Executable file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 1.3 KiB

Двоичные данные
Documentation/Themes/apple/assets/img/gh.png Executable file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 1.5 KiB

Просмотреть файл

@ -0,0 +1,40 @@
window.jazzy = {'docset': false}
if (typeof window.dash != 'undefined') {
document.documentElement.className += ' dash'
window.jazzy.docset = true
}
if (navigator.userAgent.match(/xcode/i)) {
document.documentElement.className += ' xcode'
window.jazzy.docset = true
}
// On doc load, toggle the URL hash discussion if present
$(document).ready(function() {
if (!window.jazzy.docset) {
var linkToHash = $('a[href="' + window.location.hash +'"]');
linkToHash.trigger("click");
}
});
// On token click, toggle its discussion and animate token.marginLeft
$(".token").click(function(event) {
if (window.jazzy.docset) {
return;
}
var link = $(this);
var animationDuration = 300;
var tokenOffset = "15px";
var original = link.css('marginLeft') == tokenOffset;
link.animate({'margin-left':original ? "0px" : tokenOffset}, animationDuration);
$content = link.parent().parent().next();
$content.slideToggle(animationDuration);
// Keeps the document from jumping to the hash.
var href = $(this).attr('href');
if (history.pushState) {
history.pushState({}, '', href);
} else {
location.hash = href;
}
event.preventDefault();
});

4
Documentation/Themes/apple/assets/js/jquery.min.js поставляемый Executable file

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Просмотреть файл

@ -0,0 +1,47 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>{{name}} {{kind}} Reference</title>
<link rel="stylesheet" type="text/css" href="{{path_to_root}}css/jazzy.css" />
<link rel="stylesheet" type="text/css" href="{{path_to_root}}css/highlight.css" />
<meta charset='utf-8'>
<script src="{{path_to_root}}js/jquery.min.js" defer></script>
<script src="{{path_to_root}}js/jazzy.js" defer></script>
{{{custom_head}}}
</head>
<body>
{{#dash_type}}
<a name="//apple_ref/{{language_stub}}/{{dash_type}}/{{name}}" class="dashAnchor"></a>
{{/dash_type}}
<a title="{{name}} {{kind}} Reference"></a>
{{> header}}
<div class="content-wrapper">
<p id="breadcrumbs">
<a href="{{path_to_root}}index.html">{{module_name}} Reference</a>
<img id="carat" src="{{path_to_root}}img/carat.png" />
{{name}} {{kind}} Reference
</p>
</div>
<div class="content-wrapper">
{{> nav}}
<article class="main-content">
<section>
<section class="section">
{{^hide_name}}<h1>{{name}}</h1>{{/hide_name}}
{{#declaration}}
<div class="declaration">
<div class="language">
{{{declaration}}}
</div>
</div>
{{/declaration}}
{{{overview}}}
</section>
{{> tasks}}
</section>
{{> footer}}
</article>
</div>
</body>
</div>
</html>

Просмотреть файл

@ -0,0 +1,4 @@
<section id="footer">
{{{copyright}}}
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v{{jazzy_version}}</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
</section>

Просмотреть файл

@ -0,0 +1,11 @@
<header>
<div class="content-wrapper">
<p><a href="{{path_to_root}}index.html">{{module_name}} Docs</a>{{#doc_coverage}} ({{doc_coverage}}% documented){{/doc_coverage}}</p>
{{#github_url}}
<p class="header-right"><a href="{{github_url}}"><img src="{{path_to_root}}img/gh.png"/>View on GitHub</a></p>
{{/github_url}}
{{#dash_url}}
<p class="header-right"><a href="{{dash_url}}"><img src="{{path_to_root}}img/dash.png"/>Install in Dash</a></p>
{{/dash_url}}
</div>
</header>

Просмотреть файл

@ -0,0 +1,16 @@
<nav class="sidebar">
<ul class="nav-groups">
{{#structure}}
<li class="nav-group-name">
<a href="{{path_to_root}}{{section}}.html">{{section}}</a>
<ul class="nav-group-tasks">
{{#children}}
<li class="nav-group-task">
<a href="{{path_to_root}}{{url}}">{{name}}</a>
</li>
{{/children}}
</ul>
</li>
{{/structure}}
</ul>
</nav>

Просмотреть файл

@ -0,0 +1,12 @@
<tr>
<td>
<code>
<em>{{name}}</em>
</code>
</td>
<td>
<div>
{{{discussion}}}
</div>
</td>
</tr>

Просмотреть файл

@ -0,0 +1,92 @@
<div class="task-group">
{{#name}}
<div class="task-name-container">
<a name="/{{uid}}"></a>
<a name="//apple_ref/{{language_stub}}/Section/{{name}}" class="dashAnchor"></a>
<a href="#/{{uid}}">
<h3 class="section-name">{{name}}</h3>
</a>
</div>
{{/name}}
<ul>
{{#items}}
<li class="item">
<div>
<code>
<a name="/{{usr}}"></a>
<a name="//apple_ref/{{language_stub}}/{{dash_type}}/{{name}}" class="dashAnchor"></a>
<a class="token" href="#/{{usr}}">{{name}}</a>
</code>
{{#default_impl_abstract}}
<span class="declaration-note">
Default implementation
</span>
{{/default_impl_abstract}}
{{#from_protocol_extension}}
<span class="declaration-note">
Extension method
</span>
{{/from_protocol_extension}}
</div>
<div class="height-container">
<div class="pointer-container"></div>
<section class="section">
<div class="pointer"></div>
{{#abstract}}
<div class="abstract">
{{{abstract}}}
{{#url}}
<a href="{{{path_to_root}}}{{{url}}}" class="slightly-smaller">See more</a>
{{/url}}
</div>
{{/abstract}}
{{#default_impl_abstract}}
<h4>Default Implementation</h4>
<div class="default_impl abstract">
{{{default_impl_abstract}}}
</div>
{{/default_impl_abstract}}
{{#declaration}}
<div class="declaration">
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">{{language}}</p>
{{{declaration}}}
</div>
{{#other_language_declaration}}
<div class="language">
<p class="aside-title">Swift</p>
{{{other_language_declaration}}}
</div>
{{/other_language_declaration}}
</div>
{{/declaration}}
{{#parameters.count}}
<div>
<h4>Parameters</h4>
<table class="graybox">
<tbody>
{{#parameters}}
{{> parameter}}
{{/parameters}}
</tbody>
</table>
</div>
{{/parameters.count}}
{{#return}}
<div>
<h4>Return Value</h4>
{{{return}}}
</div>
{{/return}}
{{#github_token_url}}
<div class="slightly-smaller">
<a href="{{{github_token_url}}}">Show on GitHub</a>
</div>
{{/github_token_url}}
</section>
</div>
</li>
{{/items}}
</ul>
</div>

Просмотреть файл

@ -0,0 +1,7 @@
{{#tasks.count}}
<section class="section task-group-section">
{{#tasks}}
{{> task}}
{{/tasks}}
</section>
{{/tasks.count}}

Просмотреть файл

@ -0,0 +1,23 @@
objc: true
clean: true
sdk: iphonesimulator
theme: ../../Themes/apple
module: WindowsAzureMessaging
module_version: 3.0.0
author: Microsoft Corp
author_url: http://www.microsoft.com
readme: ../../../README.md
umbrella_header: ../../../WindowsAzureMessaging-SDK-Apple/iOS/WindowsAzureMessaging.framework/Headers/WindowsAzureMessaging.h
framework_root: ../../../WindowsAzureMessaging-SDK-Apple/iOS/
root_url: https://docs.microsoft.com/en-us/azure/notification-hubs/ios
github_url: https://github.com/Azure/azure-notificationhubs-ios
github_file_prefix: "https://github.com/Azure/azure-notificationhubs-ios"
skip_undocumented: false
output: Generated/

Просмотреть файл

@ -0,0 +1,23 @@
objc: true
clean: true
sdk: macosx
theme: ../../Themes/apple
module: WindowsAzureMessaging
module_version: 3.0.0
author: Microsoft Corp
author_url: http://www.microsoft.com
readme: ../../../README.md
umbrella_header: ../../../WindowsAzureMessaging-SDK-Apple/macOS/WindowsAzureMessaging.framework/Headers/WindowsAzureMessaging.h
framework_root: ../../../WindowsAzureMessaging-SDK-Apple/macOS/
root_url: https://docs.microsoft.com/en-us/azure/notification-hubs/ios
github_url: https://github.com/Azure/azure-notificationhubs-ios
github_file_prefix: "https://github.com/Azure/azure-notificationhubs-ios"
skip_undocumented: false
output: Generated/

Просмотреть файл

@ -0,0 +1,23 @@
objc: true
clean: true
sdk: appletvsimulator
theme: ../../Themes/apple
module: WindowsAzureMessaging
module_version: 3.0.0
author: Microsoft Corp
author_url: http://www.microsoft.com
readme: ../../../README.md
umbrella_header: ../../../WindowsAzureMessaging-SDK-Apple/tvOS/WindowsAzureMessaging.framework/Headers/WindowsAzureMessaging.h
framework_root: ../../../WindowsAzureMessaging-SDK-Apple/tvOS/
root_url: https://docs.microsoft.com/en-us/azure/notification-hubs/ios
github_url: https://github.com/Azure/azure-notificationhubs-ios
github_file_prefix: "https://github.com/Azure/azure-notificationhubs-ios"
skip_undocumented: false
output: Generated/

Просмотреть файл

@ -9,7 +9,6 @@
/* Begin PBXBuildFile section */
4CB623C424D899DF001C0309 /* Splash.png in Resources */ = {isa = PBXBuildFile; fileRef = 4CB623C324D899DE001C0309 /* Splash.png */; };
64234F4524D802DB00CFA10D /* ObservableInstallation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 64234F4424D802DB00CFA10D /* ObservableInstallation.swift */; };
64234F4A24D80D5E00CFA10D /* SampleNHAppSwiftUI.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 64234F4924D80D5E00CFA10D /* SampleNHAppSwiftUI.xcconfig */; };
6485C78E24D2B1F10026E41F /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6485C78D24D2B1F10026E41F /* AppDelegate.swift */; };
6485C79024D2B1F10026E41F /* SceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6485C78F24D2B1F10026E41F /* SceneDelegate.swift */; };
6485C79224D2B1F10026E41F /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6485C79124D2B1F10026E41F /* ContentView.swift */; };
@ -181,7 +180,6 @@
6485C79A24D2B1F20026E41F /* LaunchScreen.storyboard in Resources */,
6485C79424D2B1F20026E41F /* Assets.xcassets in Resources */,
4CB623C424D899DF001C0309 /* Splash.png in Resources */,
64234F4A24D80D5E00CFA10D /* SampleNHAppSwiftUI.xcconfig in Resources */,
6485C7A824D2B37A0026E41F /* DevSettings.plist in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
@ -224,6 +222,7 @@
isa = XCBuildConfiguration;
baseConfigurationReference = 64234F4924D80D5E00CFA10D /* SampleNHAppSwiftUI.xcconfig */;
buildSettings = {
ENABLE_TESTABILITY = YES;
};
name = Debug;
};

28
Scripts/build-docs.sh Executable file
Просмотреть файл

@ -0,0 +1,28 @@
#!/bin/sh
# Copyright (c) Microsoft Corporation. All rights reserved.
# Generates the documentation for the project.
# Usage: build-docs.sh <os-name>
# Note: it must be run from Xcode.
OS_NAME=$1
PRODUCTS_DIR="${SRCROOT}/../WindowsAzureMessaging-SDK-Apple/${OS_NAME}"
INSTALL_DIR="${PRODUCTS_DIR}/${PROJECT_NAME}.framework"
DOCUMENTATION_DIR="${PRODUCTS_DIR}/Documentation/${PROJECT_NAME}"
# Check if jazzy installed.
if [ ! -x "$(command -v jazzy)" ]; then
echo "Couldn't find jazzy. Install jazzy before building frameworks"
exit 1
fi
jazzy --config "${SRCROOT}/../Documentation/${OS_NAME}/${PROJECT_NAME}/.jazzy.yaml"
# Create Documentation directory within folder.
if [ ! -d "${DOCUMENTATION_DIR}" ]; then
mkdir -p "${DOCUMENTATION_DIR}"
fi
# Copy generated documentation into the documentation folder.
cp -R "${SRCROOT}/../Documentation/${OS_NAME}/${PROJECT_NAME}/Generated/" "${DOCUMENTATION_DIR}"

0
Scripts/publish-pod.sh Normal file → Executable file
Просмотреть файл

Просмотреть файл

@ -20,6 +20,48 @@
ReferencedContainer = "container:WindowsAzureMessaging/WindowsAzureMessaging.xcodeproj">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "4C5C0B9424D9E13600DB2CDD"
BuildableName = "WindowsAzureMessaging iOS Documentation"
BlueprintName = "WindowsAzureMessaging iOS Documentation"
ReferencedContainer = "container:WindowsAzureMessaging/WindowsAzureMessaging.xcodeproj">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "4C5C0BA324D9E22B00DB2CDD"
BuildableName = "WindowsAzureMessaging macOS Documentation"
BlueprintName = "WindowsAzureMessaging macOS Documentation"
ReferencedContainer = "container:WindowsAzureMessaging/WindowsAzureMessaging.xcodeproj">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "4C5C0BAA24D9E3A200DB2CDD"
BuildableName = "WindowsAzureMessaging tvOS Documentation"
BlueprintName = "WindowsAzureMessaging tvOS Documentation"
ReferencedContainer = "container:WindowsAzureMessaging/WindowsAzureMessaging.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction

Просмотреть файл

@ -33,6 +33,42 @@
name = "WindowsAzureMessaging tvOS Fat Framework";
productName = "WindowsAzureMessaging tvOS Fat Framework";
};
4C5C0B9424D9E13600DB2CDD /* WindowsAzureMessaging iOS Documentation */ = {
isa = PBXAggregateTarget;
buildConfigurationList = 4C5C0B9F24D9E13600DB2CDD /* Build configuration list for PBXAggregateTarget "WindowsAzureMessaging iOS Documentation" */;
buildPhases = (
4C5C0BA224D9E15200DB2CDD /* Build Documentation */,
);
dependencies = (
4C5C0BA124D9E14700DB2CDD /* PBXTargetDependency */,
);
name = "WindowsAzureMessaging iOS Documentation";
productName = "WindowsAzureMessaging iOS Documentation";
};
4C5C0BA324D9E22B00DB2CDD /* WindowsAzureMessaging macOS Documentation */ = {
isa = PBXAggregateTarget;
buildConfigurationList = 4C5C0BA424D9E22B00DB2CDD /* Build configuration list for PBXAggregateTarget "WindowsAzureMessaging macOS Documentation" */;
buildPhases = (
4C5C0BA924D9E27A00DB2CDD /* Build Documentation */,
);
dependencies = (
4C5C0BA824D9E25A00DB2CDD /* PBXTargetDependency */,
);
name = "WindowsAzureMessaging macOS Documentation";
productName = "WindowsAzureMessaging macOS Documentation";
};
4C5C0BAA24D9E3A200DB2CDD /* WindowsAzureMessaging tvOS Documentation */ = {
isa = PBXAggregateTarget;
buildConfigurationList = 4C5C0BAB24D9E3A200DB2CDD /* Build configuration list for PBXAggregateTarget "WindowsAzureMessaging tvOS Documentation" */;
buildPhases = (
4C5C0BB024D9E3BE00DB2CDD /* Build Documentation */,
);
dependencies = (
4C5C0BAF24D9E3B800DB2CDD /* PBXTargetDependency */,
);
name = "WindowsAzureMessaging tvOS Documentation";
productName = "WindowsAzureMessaging tvOS Documentation";
};
4CA7312B24A15A63006AC99D /* WindowsAzureMessaging iOS Fat Framework */ = {
isa = PBXAggregateTarget;
buildConfigurationList = 4CA7312C24A15A63006AC99D /* Build configuration list for PBXAggregateTarget "WindowsAzureMessaging iOS Fat Framework" */;
@ -392,6 +428,27 @@
remoteGlobalIDString = 817EB1151BD765130047E85A;
remoteInfo = "OCMock tvOS";
};
4C5C0BA024D9E14700DB2CDD /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 4CA730D624A14FF2006AC99D /* Project object */;
proxyType = 1;
remoteGlobalIDString = 4CA7312B24A15A63006AC99D;
remoteInfo = "WindowsAzureMessaging iOS Fat Framework";
};
4C5C0BA724D9E25A00DB2CDD /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 4CA730D624A14FF2006AC99D /* Project object */;
proxyType = 1;
remoteGlobalIDString = 4CA7312F24A15A74006AC99D;
remoteInfo = "WindowsAzureMessaging macOS Fat Framework";
};
4C5C0BAE24D9E3B800DB2CDD /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 4CA730D624A14FF2006AC99D /* Project object */;
proxyType = 1;
remoteGlobalIDString = 4C3EEB7424C8B73A0096C133;
remoteInfo = "WindowsAzureMessaging tvOS Fat Framework";
};
4C8C05AD24CBB1EF00927E36 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 4CA730D624A14FF2006AC99D /* Project object */;
@ -1385,6 +1442,15 @@
4C3EEB7424C8B73A0096C133 = {
CreatedOnToolsVersion = 11.6;
};
4C5C0B9424D9E13600DB2CDD = {
CreatedOnToolsVersion = 11.6;
};
4C5C0BA324D9E22B00DB2CDD = {
CreatedOnToolsVersion = 11.6;
};
4C5C0BAA24D9E3A200DB2CDD = {
CreatedOnToolsVersion = 11.6;
};
4CA730DE24A14FF2006AC99D = {
CreatedOnToolsVersion = 11.5;
};
@ -1422,12 +1488,15 @@
4CA730DE24A14FF2006AC99D /* WindowsAzureMessaging iOS Framework */,
4CA730E724A14FF2006AC99D /* WindowsAzureMessaging iOS Tests */,
4CA7312B24A15A63006AC99D /* WindowsAzureMessaging iOS Fat Framework */,
4C5C0B9424D9E13600DB2CDD /* WindowsAzureMessaging iOS Documentation */,
4CA7312124A15A25006AC99D /* WindowsAzureMessaging macOS Framework */,
4CA7311424A15A1F006AC99D /* WindowsAzureMessaging macOS Tests */,
4CA7312F24A15A74006AC99D /* WindowsAzureMessaging macOS Fat Framework */,
4C5C0BA324D9E22B00DB2CDD /* WindowsAzureMessaging macOS Documentation */,
4C3EEADC24C8AAD70096C133 /* WindowsAzureMessaging tvOS Framework */,
4C3EEAE424C8AAD80096C133 /* WindowsAzureMessaging tvOS Tests */,
4C3EEB7424C8B73A0096C133 /* WindowsAzureMessaging tvOS Fat Framework */,
4C5C0BAA24D9E3A200DB2CDD /* WindowsAzureMessaging tvOS Documentation */,
4C1047B124AAA0C600FA339E /* WindowsAzureMessaging XCFramework */,
);
};
@ -1656,6 +1725,63 @@
shellScript = "\"${SRCROOT}/../Scripts/build-tvos-framework.sh\"\n";
showEnvVarsInLog = 0;
};
4C5C0BA224D9E15200DB2CDD /* Build Documentation */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
);
name = "Build Documentation";
outputFileListPaths = (
);
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${SRCROOT}/../Scripts/build-docs.sh\" iOS\n";
showEnvVarsInLog = 0;
};
4C5C0BA924D9E27A00DB2CDD /* Build Documentation */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
);
name = "Build Documentation";
outputFileListPaths = (
);
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${SRCROOT}/../Scripts/build-docs.sh\" macOS\n";
showEnvVarsInLog = 0;
};
4C5C0BB024D9E3BE00DB2CDD /* Build Documentation */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
);
name = "Build Documentation";
outputFileListPaths = (
);
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${SRCROOT}/../Scripts/build-docs.sh\" tvOS\n";
showEnvVarsInLog = 0;
};
4CA7313D24A15FF6006AC99D /* Verify No Build Settings */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
@ -1934,6 +2060,21 @@
name = "OCMock tvOS";
targetProxy = 4C3EEB7A24C8B7880096C133 /* PBXContainerItemProxy */;
};
4C5C0BA124D9E14700DB2CDD /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = 4CA7312B24A15A63006AC99D /* WindowsAzureMessaging iOS Fat Framework */;
targetProxy = 4C5C0BA024D9E14700DB2CDD /* PBXContainerItemProxy */;
};
4C5C0BA824D9E25A00DB2CDD /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = 4CA7312F24A15A74006AC99D /* WindowsAzureMessaging macOS Fat Framework */;
targetProxy = 4C5C0BA724D9E25A00DB2CDD /* PBXContainerItemProxy */;
};
4C5C0BAF24D9E3B800DB2CDD /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = 4C3EEB7424C8B73A0096C133 /* WindowsAzureMessaging tvOS Fat Framework */;
targetProxy = 4C5C0BAE24D9E3B800DB2CDD /* PBXContainerItemProxy */;
};
4C8C05AE24CBB1EF00927E36 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = 4C3EEB7424C8B73A0096C133 /* WindowsAzureMessaging tvOS Fat Framework */;
@ -2031,6 +2172,42 @@
};
name = Release;
};
4C5C0B9524D9E13600DB2CDD /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
};
name = Debug;
};
4C5C0B9624D9E13600DB2CDD /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
};
name = Release;
};
4C5C0BA524D9E22B00DB2CDD /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
};
name = Debug;
};
4C5C0BA624D9E22B00DB2CDD /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
};
name = Release;
};
4C5C0BAC24D9E3A200DB2CDD /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
};
name = Debug;
};
4C5C0BAD24D9E3A200DB2CDD /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
};
name = Release;
};
4CA730F124A14FF2006AC99D /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 4CA7310824A155FB006AC99D /* WindowsAzureMessaging Debug.xcconfig */;
@ -2168,6 +2345,33 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
4C5C0B9F24D9E13600DB2CDD /* Build configuration list for PBXAggregateTarget "WindowsAzureMessaging iOS Documentation" */ = {
isa = XCConfigurationList;
buildConfigurations = (
4C5C0B9524D9E13600DB2CDD /* Debug */,
4C5C0B9624D9E13600DB2CDD /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
4C5C0BA424D9E22B00DB2CDD /* Build configuration list for PBXAggregateTarget "WindowsAzureMessaging macOS Documentation" */ = {
isa = XCConfigurationList;
buildConfigurations = (
4C5C0BA524D9E22B00DB2CDD /* Debug */,
4C5C0BA624D9E22B00DB2CDD /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
4C5C0BAB24D9E3A200DB2CDD /* Build configuration list for PBXAggregateTarget "WindowsAzureMessaging tvOS Documentation" */ = {
isa = XCConfigurationList;
buildConfigurations = (
4C5C0BAC24D9E3A200DB2CDD /* Debug */,
4C5C0BAD24D9E3A200DB2CDD /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
4CA730D924A14FF2006AC99D /* Build configuration list for PBXProject "WindowsAzureMessaging" */ = {
isa = XCConfigurationList;
buildConfigurations = (