Create cocoapod from existing project hosted Github (and locally) - objective-c

Some weeks ago I've created an interactive transition in Objective-C.I've created a repository on GitHub and I've hosted a project which contains the transition classes and the example code to handle it.
My routine is the following:
Make changes locally in Xcode
Commit them
Push them to the remote repository on GitHub
Review Pull request
Now many user ask me to integrate the transition with CocoaPods.Personally I love CocoaPods and I integrate it in all my project, but I don't have made any cocoapod yet.I've read the official guide and tutorial like this one, but these are about project from scratch.
I'm wondering how to integrate the cocoapods template (Example + pod) with my existing project on GitHub (and locally).I know there is the command pod lib create COCOAPOD_NAME , but it create a template (Example + pod) from the scratch that it is not sync with the repository on GitHub.
I''ve also read this Stackoverflow answer, but this is not clear to me.

If you want create pod from existing project it's very simple :-)
I also make it the other day.
Firstly you need create podspec and fill with your information (also don't forget add license, it's very important).
Secondly just follow the instructions like this
After your podspec will be success you need push it all in trunk (it's very simple)
Maybe you help my lib (.travis don't need in start)
SimpleKit

Related

How make changes on vue project in hosting

I have vue project which published on Digital Ocean. The main problem is when i make some changes on FileZilla it is not affect on website. How can i solve this issue?
This is not an issue per-se. This is just the way how modern web development works. Vue.js (but also Nuxt) is using a bundler right now (Webpack, Vite are the most common), hence to go to production it needs to be bundled each time you push something to it.
If you upload something via FTP or SSH and edit some source code, a bundle step will be required in order to get any changes on the actual webapp.
Backend languages may not need that, for example you could SSH into a server and change some .php file, if you F5 the page it will be updated in real time. But this is not how frontend JS code works, it needs to be optimised.
Another thing, sending code via SSH/FTP is not really a good workflow because it is not easily trackable, no version-controlled, will not trigger any build flags in case of an error etc...
The best approach is to have a git repo + some build step included in some CI.
A common platform for it is Netlify, you connect a Github repo, you tell which command to use to build the project and each time you push some code, it may do some checks/tests/optimizations/etc... via Github Actions before being released automatically to production (updated on your webapp).
This workflow have a lot of benefits as one may tell but is also de-facto, the official/regular approach for modern Web development on the frontend.

What is the best practice to override pod file methods in objective-c or swift?

I've recently begun to use third party frameworks that are open source within my own projects because it could cut my development time in half. While doing this I've noticed that when I manipulate the implementation files that come from doing a pod install then another developer who downloads the project doesn't have access to my unique changes because they will do a pod install on their own computer therefore my changes aren't shown. What is the best practice to achieve the override? I'm thinking that I should create a file within the project which overrides methods from doing a pod install such as a category and/or extension? Is this a feasible process or should I consider another approach?
Fork (clone) the project, make the changes and push it to your repo. Other users can than use your code changes. Never make code changes directly in the source files that are located in the pod folder, as you will lose every change when you update that pod.
Alternatively create your own pod, add the pod you want to modify as a dependency and extend it in the development pod, than push it to your repo.

Compiling Titanium Modules from GitHub

After a few days of failure I realize I need more insight than google can deliver.
I am attempting to include a module in my otherwise working fine Titanium project but am not having any luck. The module in question is Ti.MapPlus, a fork of the standard Ti.Map module that I am already using. The GitHub repository does not have a compiled release, and it is not available via Gitt.io.
I have tried to create a new Mobile Module Project without success; but suspect that this is the best route.
Can anybody walk me through the steps of getting the module working globally?
There are some releases here: https://github.com/AppWerft/Ti.MapPlus/releases

I want virtocommerce in my own local repository.(include storefront, platform and modules). How to setup all of these in my solutions?

I want virtocommerce in my own local repository.
storefront is a solution that will configure it according to the following link:
Storefront Source Code Getting Started
And it works.
But I want to have a solution For platforms and modules,
Like the link below:
vc-integrations
But I need the platform and modules to be connected to the github for the latest changes.
I've studied the link below:
Source Code Getting Started
but I do not understand how should I configure for my goals (one solution for platfrom and modules and fork, clone ,upstream for all for get latest versions of them)
We've used to have a single repository and single solution for Virto Commerce Manager and modules (vc-integrations). It was difficult to maintain and release often. That's why the single repository was split into many "1 module per repository" pieces.
We consider that in most cases having only Virto Commerce Manager configured should be sufficient. What's your scenario? Check "Manual module installation from source code" section in Source Code Getting Started to get started.

Do I need to pay for a github account in order to download the Tapku Library?

I need a good looking calender for my iOS application, and I heard Tapku was the best option. However, it looked like I had to pay for a github account to even load the Tapku library.
Also, if it is not necessary for me to pay anything, then how exactly do I download it and put it into my xcode project.
**I have in fact seen the instructions for downloading the library but they made no sense to me.
Github accounts are free unless you want to host private git repositories. But you don't need a github account to clone or download a public github repo. Just click the "zip" link to download a zip or use git to clone the repository like this:
git clone https://github.com/devinross/tapkulibrary.git
(you need to have git installed in order to use git from the command line).