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

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Binary file added Lesson11.zip
Binary file not shown.
1 change: 1 addition & 0 deletions Lesson12/Cartfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
github "Alamofire/Alamofire" "5.0.0-rc.3"
1 change: 1 addition & 0 deletions Lesson12/Cartfile.resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
github "Alamofire/Alamofire" "5.0.0-rc.3"
33 changes: 33 additions & 0 deletions Lesson12/Carthage/Checkouts/Alamofire/.github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
> ℹ Please fill out this template when filing an issue.
> All lines beginning with an ℹ symbol instruct you with what info we expect. You can delete those lines once you've filled in the info.
>
> Per our [*CONTRIBUTING guidelines](https://github.com/Alamofire/Alamofire/blob/master/CONTRIBUTING.md), we use GitHub for
> bugs and feature requests, not general support. Other issues should be opened on Stack Overflow with the tag `alamofire`.
>
> Please remove this line and everything above it before submitting.

* [ ] I've read, understood, and done my best to follow the [*CONTRIBUTING guidelines](https://github.com/Alamofire/Alamofire/blob/master/CONTRIBUTING.md).

## What did you do?

ℹ Please replace this with what you did.

## What did you expect to happen?

ℹ Please replace this with what you expected to happen.

## What happened instead?

ℹ Please replace this with of what happened instead.

## Alamofire Environment

**Alamofire version:**
**Xcode version:**
**Swift version:**
**Platform(s) running Alamofire:**
**macOS version running Xcode:**

## Demo Project

ℹ Please link to or upload a project we can download that reproduces the issue.
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
### Issue Link :link:
<!-- What issue does this fix? If an issue doesn't exist, remove this section. -->

### Goals :soccer:
<!-- List the high-level objectives of this pull request. -->
<!-- Include any relevant context. -->

### Implementation Details :construction:
<!-- Explain the reasoning behind any architectural changes. -->
<!-- Highlight any new functionality. -->

### Testing Details :mag:
<!-- Describe what tests you've added for your changes. -->
67 changes: 67 additions & 0 deletions Lesson12/Carthage/Checkouts/Alamofire/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
name: "Alamofire CI"

on:
push:
branches:
- master
- hotfix
pull_request:
branches:
- master
- hotfix

jobs:
macOS:
name: Test macOS
runs-on: macOS-latest
env:
DEVELOPER_DIR: /Applications/Xcode_11.1.app/Contents/Developer
steps:
- uses: actions/checkout@v1
- name: macOS
run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -project "Alamofire.xcodeproj" -scheme "Alamofire macOS" -destination "platform=macOS" clean test | xcpretty
iOS:
name: Test iOS
runs-on: macOS-latest
env:
DEVELOPER_DIR: /Applications/Xcode_11.1.app/Contents/Developer
strategy:
matrix:
destination: ["OS=13.1,name=iPhone 11 Pro"] #, "OS=12.4,name=iPhone XS", "OS=11.4,name=iPhone X", "OS=10.3.1,name=iPhone SE"]
steps:
- uses: actions/checkout@v1
- name: iOS - ${{ matrix.destination }}
run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -project "Alamofire.xcodeproj" -scheme "Alamofire iOS" -destination "${{ matrix.destination }}" clean test | xcpretty
tvOS:
name: Test tvOS
runs-on: macOS-latest
env:
DEVELOPER_DIR: /Applications/Xcode_11.1.app/Contents/Developer
strategy:
matrix:
destination: ["OS=13.0,name=Apple TV 4K"] #, "OS=11.4,name=Apple TV 4K", "OS=10.2,name=Apple TV 1080p"]
steps:
- uses: actions/checkout@v1
- name: tvOS - ${{ matrix.destination }}
run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -project "Alamofire.xcodeproj" -scheme "Alamofire tvOS" -destination "${{ matrix.destination }}" clean test | xcpretty
watchOS:
name: Build watchOS
runs-on: macOS-latest
env:
DEVELOPER_DIR: /Applications/Xcode_11.1.app/Contents/Developer
strategy:
matrix:
destination: ["OS=6.0,name=Apple Watch Series 5 - 44mm"] #, "OS=4.2,name=Apple Watch Series 3 - 42mm", "OS=3.2,name=Apple Watch Series 2 - 42mm"]
steps:
- uses: actions/checkout@v1
- name: watchOS - ${{ matrix.destination }}
run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -project "Alamofire.xcodeproj" -scheme "Alamofire watchOS" -destination "${{ matrix.destination }}" clean build | xcpretty
spm:
name: Test SPM Integration
runs-on: macOS-latest
needs: [macOS]
steps:
- uses: actions/checkout@v1
- name: SPM Build
run: swift build

39 changes: 39 additions & 0 deletions Lesson12/Carthage/Checkouts/Alamofire/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Mac OS X
.DS_Store

# Xcode

## Build generated
build/
DerivedData

## Various settings
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata

## Other
*.xccheckout
*.moved-aside
*.xcuserstate
*.xcscmblueprint

## Obj-C/Swift specific
*.hmap
*.ipa

## Playgrounds
timeline.xctimeline
playground.xcworkspace

# Swift Package Manager
.build/

# Carthage
Carthage/Build
8 changes: 8 additions & 0 deletions Lesson12/Carthage/Checkouts/Alamofire/.jazzy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
author: Alamofire Software Foundation
author_url: http://alamofire.org/
github_url: https://github.com/Alamofire/Alamofire
root_url: https://alamofire.github.io/Alamofire/
module: Alamofire
output: docs
theme: fullwidth
xcodebuild_arguments: [-workspace, 'Alamofire.xcworkspace', -scheme, 'Alamofire iOS']
1 change: 1 addition & 0 deletions Lesson12/Carthage/Checkouts/Alamofire/.ruby-gemset
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Alamofire
1 change: 1 addition & 0 deletions Lesson12/Carthage/Checkouts/Alamofire/.ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2.6.3
25 changes: 25 additions & 0 deletions Lesson12/Carthage/Checkouts/Alamofire/.swiftformat
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# file options

--symlinks ignore
--swiftversion 5

# rules
--disable andOperator

# format options

--closingparen same-line
--commas inline
--comments indent
--decimalgrouping 3,5
--exponentcase lowercase
--exponentgrouping disabled
--fractiongrouping disabled
--ifdef outdent
--importgrouping testable-top
--operatorfunc no-space
--ranges no-space
--selfrequired validate
--stripunusedargs closure-only
--wraparguments after-first
--wrapcollections after-first
21 changes: 21 additions & 0 deletions Lesson12/Carthage/Checkouts/Alamofire/Alamofire.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
Pod::Spec.new do |s|
s.name = 'Alamofire'
s.version = '5.0.0-rc.3'
s.license = 'MIT'
s.summary = 'Elegant HTTP Networking in Swift'
s.homepage = 'https://github.com/Alamofire/Alamofire'
s.authors = { 'Alamofire Software Foundation' => 'info@alamofire.org' }
s.source = { :git => 'https://github.com/Alamofire/Alamofire.git', :tag => s.version }
s.documentation_url = 'https://alamofire.github.io/Alamofire/'

s.ios.deployment_target = '10.0'
s.osx.deployment_target = '10.12'
s.tvos.deployment_target = '10.0'
s.watchos.deployment_target = '3.0'

s.swift_versions = ['5.0', '5.1']

s.source_files = 'Source/*.swift'

s.frameworks = 'CFNetwork'
end
Loading