View swift-doc-issue-158.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1>Types</h1> | |
<ul> | |
<li><a href="./DeclarationCollector">DeclarationCollector</a>: | |
A Swift syntax visitor that collects declarations.</li> | |
<li><a href="./AssociatedType">AssociatedType</a>: | |
An associated type declaration.</li> | |
<li><a href="./Class">Class</a>: | |
A class declaration.</li> | |
<li><a href="./ConditionalCompilationBlock">ConditionalCompilationBlock</a>: | |
A conditional compilation block declaration.</li> |
View registry.bash
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -o errexit | |
set -o pipefail | |
set -o nounset | |
# Returns the SHA-256 checksum of a string or file | |
function checksum() { | |
if [ -f "$1" ]; then | |
shasum -a 256 "$1" | cut -d ' ' -f1 |
View Rakefile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'benchmark' | |
require 'tmpdir' | |
require 'json' | |
include Benchmark | |
namespace :benchmark do | |
task all: %i[full_clone shallow_clone curl_unzip] | |
task full_clone: ['packages.json'] do |
View CTExposureDetectionSession+Extensions.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import ContactTracing | |
extension CTExposureDetectionSession { | |
func addPositiveDiagnosisKeys(batching keys: [CTDailyTracingKey], completion: CTErrorHandler) { | |
if keys.isEmpty { | |
completion(nil) | |
} else { | |
let cursor = keys.index(keys.startIndex, offsetBy: maxKeyCount, limitedBy: keys.endIndex) ?? keys.endIndex | |
let batch = Array(keys.prefix(upTo: cursor)) | |
let remaining = Array(keys.suffix(from: cursor)) |
View cc.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@font-face { | |
font-family: "Creative Commons Symbols"; | |
src: url(font_path("CreativeCommonsSymbols.woff2")) format("woff2"), | |
url(font_path("CreativeCommonsSymbols.woff")) format("woff"); | |
font-weight: normal; | |
font-style: normal; | |
unicode-range: U+1F10D-1F10F, U+1F16D-1F16F; | |
} | |
i { |
View localizedCurrencySymbol.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Foundation | |
extension Locale { | |
func localizedCurrencySymbol(forCurrencyCode currencyCode: String) -> String? { | |
guard let languageCode = languageCode, let regionCode = regionCode else { return nil } | |
/* | |
Each currency can have a symbol ($, £, ¥), | |
but those symbols may be shared with other currencies. | |
For example, in Canadian and American locales, |
View main.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import NaturalLanguage | |
let languages: [NLLanguage] = [ | |
.amharic, .arabic, .armenian, .bengali, .bulgarian, | |
.burmese, .catalan, .cherokee, .croatian, .czech, | |
.danish, .dutch, .english, .finnish, .french, | |
.georgian, .german, .greek, .gujarati, .hebrew, | |
.hindi, .hungarian, .icelandic, .indonesian, .italian, | |
.japanese, .kannada, .khmer, .korean, .lao, | |
.malay, .malayalam, .marathi, .mongolian, .norwegian, |
View swift-802.0.31.3.json
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"files" : [ | |
{ | |
"enumerations" : [ | |
{ | |
"documentation" : [], | |
"declaration" : { | |
"attributes" : [], | |
"modifiers" : [ | |
{ |
View Alamofire.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"/Users/mattt/Desktop/Alamofire.swift" : { | |
"deinitializers" : [], | |
"functions" : [ | |
{ | |
"declaration" : { | |
"name" : "request", | |
"genericRequirements" : [], | |
"signature" : { | |
"output" : "DataRequest", |
View undocumented-symbol-urls-2019-09-20.txt
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"https://developer.apple.com/documentation/accelerate/vimagecvimageformat/chromasiting/3241430" | |
"https://developer.apple.com/documentation/accelerate/vdsp/dcttransformtype/3240713" | |
"https://developer.apple.com/documentation/accelerate/vdsp/dfttransformtype/3240728" | |
"https://developer.apple.com/documentation/accelerate/vimage/error/3241360" | |
"https://developer.apple.com/documentation/accelerate/quadrature/error/3240672" | |
"https://developer.apple.com/documentation/accelerate/vimagecvimageformat/format/3241442" | |
"https://developer.apple.com/documentation/accelerate/vdsp/fouriertransformdirection/3240744" | |
"https://developer.apple.com/documentation/accelerate/vdsp/integrationrule/3240753" | |
"https://developer.apple.com/documentation/accelerate/vimage/options/3241388" | |
"https://developer.apple.com/documentation/accelerate/vdsp/radix/3240761" |
NewerOlder