Git Product home page Git Product logo

Comments (1)

nmdias avatar nmdias commented on May 22, 2024

Hi @Supertecnoboff

Sorry for the late reply. So I did a quick look, and from what I gathered, I would have to make all that I expose in FeedKit, attributed with an @objc. That by it self would force me to inherit from an NSObject, and thus, exposing dozens of methods and properties from Obj-C. This is something I would not like to do with FeedKit.

However,

Give it a run and see if it fits your needs. Create a new Obj-C project. Name it FeedKitObjC and add a Podfile:

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
use_frameworks!

target 'FeedKitObjC' do
  pod 'FeedKit', '~> 5.0'
end

Run pod installin you project folder. Then import FeedKit like so:

#import <FeedKit/FeedKit-Swift.h>

Now, prefix everything that you need to publicly access. For example:

// This
open class FeedParser { }

// would become this:
@objc open class FeedParser: NSObject { } 

Change the sources directly under the Pods/FeedKit folder, just to give you a taste. Force Unlock the files if it complaints about changing the source code. We just want to try it out.

If it works for you, I would recommend forking the project, and then update the Podfile to your fork directly.

Cheers and best of luck

from feedkit.

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.