Giter VIP home page Giter VIP logo

Comments (12)

edwardmp avatar edwardmp commented on August 16, 2024

I noticed this too in Xcode 6 and I've fixed it in my fork and created a pull request.
See #68

from chcsvparser.

philosopherdog avatar philosopherdog commented on August 16, 2024

Hopefully it gets merged in!

from chcsvparser.

edwardmp avatar edwardmp commented on August 16, 2024

I hope so too, but the warnings are pretty harmless but nonetheless annoying.

from chcsvparser.

rhummelmose avatar rhummelmose commented on August 16, 2024

Yeh, please merge this. Quite an aggressive warning by X-Code though.

from chcsvparser.

yoasha avatar yoasha commented on August 16, 2024

Not a big issue.. but I would love to see it fixed!

from chcsvparser.

jomnius avatar jomnius commented on August 16, 2024

Bumb. I believe in zero-warnings code policy.

from chcsvparser.

philosopherdog avatar philosopherdog commented on August 16, 2024

I'm just looking this problem over again. The issue is that - (instancetype)initWithObjects:(const id [])objects forKeys:(const id [])keys count:(NSUInteger)cnt is the designated initializer in the superclass and this subclass overrides this method and calls an overridden convenience initializer from this overridden designated initializer. So, we've switched the designated initializer from that found in the superclass to the subclass. I'm not entirely sure how to solve this, but one workaround is to override this method with an NSAssert to prevent it from being called directly from CHCSVParser. You could just comment out this overridden designated initializer but then I suppose it's possible that somebody could call this method from CHCSVParser and generate an unexpected result. Please let me know your thoughts, if that seems like a reasonable approach I'll do a pull request with the solution.

from chcsvparser.

edwardmp avatar edwardmp commented on August 16, 2024

I am no longer seeing warnings in Xcode 6, so I guess this issue can be closed @davedelong.

from chcsvparser.

philosopherdog avatar philosopherdog commented on August 16, 2024

I'm still seeing it in the release version of Xcode 6.

from chcsvparser.

edwardmp avatar edwardmp commented on August 16, 2024

You are right; my dependency manager still used my own fixed branch. It seems @davedelong has implemented a fix, however CocoaPods.spec is still set to the tag 2.1.0 of July 2014 so any commits after that are not included. If @davedelong would release a new tag, the warnings would disappear.

from chcsvparser.

edwardmp avatar edwardmp commented on August 16, 2024

As a workaround you could temporarily use this in your Podfile:
pod 'CHCSVParser', :git => 'https://github.com/davedelong/CHCSVParser.git'

This just uses the master branch instead of tags

from chcsvparser.

philosopherdog avatar philosopherdog commented on August 16, 2024

Ok, cool. @edwardmp thanx for the info.

from chcsvparser.

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.