Giter Club home page Giter Club logo

Comments (8)

markrickert avatar markrickert commented on July 29, 2024

Easy: http://stackoverflow.com/questions/6646052/how-can-i-disable-arc-for-a-single-file-in-a-project

from fppopover.

mikezang avatar mikezang commented on July 29, 2024

I found the compile warning is not for ARC, they are from static analyzer, can you check this thread?
http://forums.macrumors.com/showthread.php?t=1379825&goto=newpost

Sent from my iPhone4S

On 2012/06/04, at 23:24, Mark [email protected] wrote:

Easy: http://stackoverflow.com/questions/6646052/how-can-i-disable-arc-for-a-single-file-in-a-project


Reply to this email directly or view it on GitHub:
#2 (comment)

from fppopover.

markrickert avatar markrickert commented on July 29, 2024

I've submitted a pull request. #3

There's not a huge issue here, it was just the static analyzer complaining about the function names that returned retained objects.

For now, you can use my branch that fixes this if you'd like: markrickert/FPPopover@12a097aee05dd1980d900b345b63db3ce187d95b

from fppopover.

mikezang avatar mikezang commented on July 29, 2024

I found that you used a lot of IVAR directly, why don't you use property?
for example,
[_window release];
[_parentView release];
_parentView=nil;

from fppopover.

markrickert avatar markrickert commented on July 29, 2024

@mikezang,

You'd need to ask the library creator (not me). I'm guessing it's just personal coding style/preferences.

from fppopover.

alvises avatar alvises commented on July 29, 2024

hi @mikezang,

I have used iVar directly because this is what it has to do when we don't want to expose the iVars like _window. If you use properties you will expose the ivars outside the instance.

Thanks

from fppopover.

alvises avatar alvises commented on July 29, 2024

@mikezang : thanks to @markrickert now static analyzer giving warnings

from fppopover.

mikezang avatar mikezang commented on July 29, 2024

Thanks for your reply, Alvise.

I think you can put property in implement file so that you don't need worry about expose to outside.

Sent from my iPhone4S

On 2012/06/08, at 0:13, Alvise [email protected] wrote:

hi @mikezang,

I have used iVar directly because this is what it has to do when we don't want to expose the iVars like _window. If you use properties you will expose the ivars outside the instance.

Thanks


Reply to this email directly or view it on GitHub:
#2 (comment)

from fppopover.

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.