Giter Site home page Giter Site logo

Objective C support ? about imagepicker HOT 11 CLOSED

hyperoslo avatar hyperoslo commented on August 20, 2024
Objective C support ?

from imagepicker.

Comments (11)

richardtop avatar richardtop commented on August 20, 2024 4

@manupeco, to install forked version, just specify other git repository in the podfile:

pod 'ImagePicker',  :git => 'https://github.com/ItamarM/ImagePicker.git'

from imagepicker.

zenangst avatar zenangst commented on August 20, 2024

Hey @chlebta, right now, we don't intend to support Objective-C out-of-the-box as it adds some restriction to how we implement things. But you could try something like this; https://github.com/hyperoslo/Whisper/wiki/Using-Whisper-in-Objective-C

Don't know if that will work for delegates but I hope it will, let us know how it goes.

from imagepicker.

ItamarM avatar ItamarM commented on August 20, 2024

@chlebta i've made a fork that supports that
https://github.com/ItamarM/ImagePicker

from imagepicker.

richardtop avatar richardtop commented on August 20, 2024

@ItamarM as I can see, the only difference with master repo is addition of @objc keyword to protocol declaration. If so, I guess, it can be added to master repo as it won't break anything in Picker's internal implementation.

from imagepicker.

ItamarM avatar ItamarM commented on August 20, 2024

@richardoti 👍 looking forward.

from imagepicker.

chlebta avatar chlebta commented on August 20, 2024

@ItamarM Thank you.
@richardoti If I found any issue I will notify you.

from imagepicker.

zenangst avatar zenangst commented on August 20, 2024

Hey guys, we prefer to not have @objc annotations in our implementation because it screws with Swift compiler optimisation. This is our current stance on having "native" Objective-C support for ImagePicker.

Hope you guys understand and can live with the workaround that you guys have to do to make it work.
If the need for Objective-C support becomes mainstream (as we don't think it is right now), then we will definitely reconsider changing this.

Hope you guys understand our position on this and thanks for supporting ImagePicker.
You guys are awesome!

from imagepicker.

ItamarM avatar ItamarM commented on August 20, 2024

sure thing @zenangst
Long live Swift (& ImagePicker) :)

from imagepicker.

manupeco avatar manupeco commented on August 20, 2024

Hi @ItamarM ,
could you please explain how we can install your forked version in a project?

from imagepicker.

manupeco avatar manupeco commented on August 20, 2024

Thanks a lot @richardoti

from imagepicker.

FreudGit avatar FreudGit commented on August 20, 2024

Possible to update this fork to 1.3.0? ;)

from imagepicker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.