CustomPod Example Axon With Swift

Overview

CustomPod_Example_Axon

CI Status Version License Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

CustomPod_Example_Axon is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'CustomPod_Example_Axon'

Author

Zhenya-Petrovskyi-Axon, [email protected]

How to make you're own custom cocoa pod and publish it

  1. Set up new project
XCode -> File -> New -> Project -> FrameWork/Library
- include unit tests also
- implement functionality
- cover with unit tests
  1. if you want to make a pod from the framework in you're existing project
    • Create folder in "Documents" specifically for you're pod
    • Run Terminal and follow this path
cd <folder>
pod lib create <name of the pod> (make sure the name is free by visiting https://cocoapods.org)
- answer questions:
What platform do you want to use?? [ iOS / macOS ]
 > iOS

What language do you want to use?? [ Swift / ObjC ]
 > Swift

Would you like to include a demo application with your library? [ Yes / No ]
 > Yes

Which testing frameworks will you use? [ Quick / None ]
 > None

Would you like to do view based testing? [ Yes / No ]
 > No
create new folder or drag files in" - Set up basic implementation in example View Controller, so users can see how to use you're pod - Drag and drop you're unit test file to File "Tests" ">
- Set up Pod target with all the files you need for you're pod - just drag and drop them to the folder you want to have you're files to locate, "DevelopmentPods -> create new folder or drag files in"
- Set up basic implementation in example View Controller, so users can see how to use you're pod
- Drag and drop you're unit test file to File "Tests"
  1. Set up project on github
    • Run Terminal and follow this steps
git push -u origin master ">
cd <project root folder>
git init
git add -A
git commit -m "commit description"
git remote add origin <RemoteUrl.git>
git push -u origin master
- Navigate back to you're project in XCode or open ProjectName.xcworkspace
    - find a a file ".podspec" and set up it by this example or read comments for each section
Pod::Spec.new do |s|
 s.name             = 'CustomPod_Example_Axon'
 s.version          = '1.0.1'
 s.summary          = 'Simple class to perform basic math methods.'
 
 s.description      = 'Practicing with implementation of custom cocoa pod'

 s.homepage         = 'https://github.com/Zhenya-Petrovskyi-Axon/CustomPod_Example_Axon'
 s.license          = { :type => 'MIT', :file => 'LICENSE' }
 
 s.author           = { 'Zhenya-Petrovskyi-Axon' => '[email protected]' }
 
 s.source           = { :git => 'https://github.com/Zhenya-Petrovskyi-Axon/CustomPod_Example_Axon.git', :tag => s.version.to_s }

 s.ios.deployment_target = '12.0'
 
 s.swift_version = '5.0'
 s.platforms = {
     "ios": "12.0"
 }
 
 s.source_files = 'Source/**/*.swift'
 
 // MARK: - you can set up dependencies here, commented code will be included
 
end
- push to remote
"commit" ">
Source Controll -> "commit" or option+command+c -> "commit"
- open terminal and check if file is ok and fix it if needed
cd <project root folder>

pod spec lint <name>.podspec
s.version - publish - open terminal and follow nest steps ">
- if everything is πŸ‘
    - go to remote git project and navigate to "Publish you're first release"
    - make a tag that is the same version as .podspec -> s.version
    - publish
- open terminal and follow nest steps
cd <project root folder>

pod trunk register <you're e-mail address>

pod lib lint

pod trunk push <podspec file name>.podspec
- you should see following message saying that you're pod is ready for use
--------------------------------------------------------------------------------
 πŸŽ‰  Congrats

 πŸš€  <you're pod name> (1.0.1) successfully published
 πŸ“…  November 2nd, 12:13
 🌎  https://cocoapods.org/pods/
   re pod name>
 πŸ‘  Tell your friends!
--------------------------------------------------------------------------------

Testing

License

CustomPod_Example_Axon is available under the MIT license. See the LICENSE file for more info.

You might also like...
Example App for playing around with
Example App for playing around with

BookStore πŸ‘‰ ν•œκΈ€ 버전 See new releases and search for programming books from IT Bookstore API This is a sample app to practice using Result type, stubbin

Here there is a simple example using watchOS and SwiftUI
Here there is a simple example using watchOS and SwiftUI

A Simple Demonstration Project using WatchOS + SwiftUI Description This project is a simple demonstration about how to create a WatchOS App using Swif

MVVM example app with RxSwift & RxDataSources & Dependency Injection & UnitTests

Hi there, This is MVVM example app with RxSwift & RxDataSources & Dependency Injection & UnitTests and more πŸ‘‹ MVVM with RxSwift Example Features: Rea

Todolist-swiftui - An example of using SwiftUI with CoreData

todolist-swiftui An example of using SwiftUI with CoreData Installation Install

SwiftUI + Combine + MVVM - Book search example
SwiftUI + Combine + MVVM - Book search example

CombineBookSearch SwiftUI + Combine + MVVM Example project of SwiftUI and Combine using MVVM architecture pattern.

SwiftUI Todo app example using a React/Redux monolithic state store with flux like dispatch/reduce actions
SwiftUI Todo app example using a React/Redux monolithic state store with flux like dispatch/reduce actions

SwiftUI-Todo-Redux SwiftUI Todo Redux app example using a React/Redux monolithic state store with flux like dispatch/reduce actions Background SwiftUI

ReactorKit karrotFlex example
ReactorKit karrotFlex example

reactorKit-karrotFlex-example πŸŽ‰ ReactorKit + KarrotFlex 예제 μž‘μ„±μ„ μœ„ν•΄μ„œ λ§Œλ“€μ–΄μ§„ ν”„λ‘œμ νŠΈλ‘œ r

SwiftUI Navigation example app

SwiftUINavigationExample SwiftUI Navigation example app. Navigation is managed by a single class called NavSwitches. This contains all the booleans th

An example of using the GPU on M1 arm64 Macs for basic compute functions

M1-GPU-Compute Using Swift and Apple's Metal API to utilize the GPUs on M1 equipped Macs Adding Two Arrays CPUs perform computations sequentially, wai

Releases(1.0.1)
Owner
null
Example app source code developed by swift language from apple

AboutMe Example app source code developed by swift language from apple. Display data from a central source in multiple views. Welcome to the About Me

yuezht 0 Mar 29, 2022
Advanced Catalyst Example with sidebar, list view, SwiftUI detail view, toolbar & AppKit bundle

Advanced Catalyst Example This is an example of a Catalyst app using a three-column layout, with a primary toolbar. It includes topics such as: Drag &

Steven Troughton-Smith 219 Dec 8, 2022
Example on how to print a NSTableView from your app but then also add text to the print-out.

NSTableView Printing Test This is a demo project so you can check out how printing a table could work. The goal here is to show tabular data on screen

Clean Cocoa 3 Mar 29, 2022
Example for RxFeedback

RxFeedback Sample This is a repository for the RxFeedback code sample. Running Install bazel (This project is tested with Bazel 4.0.0) bazel run //App

Snorlax 4 Oct 8, 2021
An example app with using ShazamKit

ShazamKitExample An example app with using ShazamKit. Check out a live demo on Twitter. Related Resources Introducing ShazamKit WWDC21 β€” Explore Shaza

Artem Novichkov 10 May 25, 2022
An example project of using the new Character Controller component in RealityKit 2.0

CharacterController in RealityKit 2.0 An example project of using the new Character Controller component in RealityKit 2.0. Demo Tweet Usage Install a

Sai Kambampati 8 Nov 13, 2022
Example project guide you schedules multiple thread for network requests in RxSwift, which is optimize your app's performance better.

RxSwift-Multi-Threading-Example Example project guide you schedules multiple thread for network requests in RxSwift, which is optimize your app's perf

Huy Trinh Duc 6 Nov 4, 2022
This is example project for my presentation in iOSDC JAPAN 2021

Swift PM Project Example This is example project for my presentation in iOSDC JAPAN 2021. Package.swift based project management Multi Modules Multi P

Daiki Matsudate 28 Nov 11, 2022
An example of adding a faux notch using AppKit + SwiftUI

faux-notch An example of adding a faux notch using AppKit + SwiftUI What is this? It's a bare-bones example that renders a fake MacBook notch in macOS

Tanner Stokes 2 Nov 14, 2021
A repository of example plugins for Delta Client

Example Plugins for Delta Client This repository contains a few example plugins to help developers get a practical understanding of how to use the plu

null 0 Oct 30, 2021