Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Git support in iOS app

Tags:

git

ios

I would like to build an iOS app that includes some basic Git functionality. I basically only need pull, commit, and push capabilities. I'm new to iOS development so I am not aware of any frameworks or libraries that could provide these capabilities. I'm not sure if GitHub has an API for these features but that would suffice too.

like image 837
Andrew Avatar asked Apr 13 '26 09:04

Andrew


2 Answers

Let me answer this old question with libgit2 library and their ObjectiveGit wrapper.

libgit2 is a portable, pure C implementation of the Git core methods provided as a re-entrant linkable library with a solid API, allowing you to write native speed custom Git applications in any language which supports C bindings.

ObjectiveGit provides Cocoa bindings to the libgit2 library. Even their licenses allow you to build closed-source software.

like image 92
Tricertops Avatar answered Apr 15 '26 23:04

Tricertops


Found a random guide to making a commit with the API, no clue how accurate/useful it is.

like image 42
ellotheth Avatar answered Apr 15 '26 21:04

ellotheth



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!