Coder Social home page Coder Social logo

Comments (13)

Xazen avatar Xazen commented on June 26, 2024

Have look at my pull request.

from fontreplacer.

deni2s avatar deni2s commented on June 26, 2024

@Xazen thanks, works perfectly. I tried to submit app to Apple App Store and I got warning about using of undocumented fontWithName:size:traits: method. Will it be rejected because of that?

from fontreplacer.

ashtondsa avatar ashtondsa commented on June 26, 2024

I have received the same warning when submitting app to the store. Any workaround to this? Did Apple get back to you with anything?

from fontreplacer.

deni2s avatar deni2s commented on June 26, 2024

My workaround around warning was using NSSelectorFromString() instead of @selector(). So you have to change one line to this:
Method fontWithName_size_traits_ = class_getClassMethod([UIFont class], NSSelectorFromString(@"fontWithName:size:traits:"));

I'm still waiting for app store review.

from fontreplacer.

ashtondsa avatar ashtondsa commented on June 26, 2024

@deni2s thanks for your response.

from fontreplacer.

danielphillips avatar danielphillips commented on June 26, 2024

Did you get approved yet? I didn't. Posted a bug #7

from fontreplacer.

deni2s avatar deni2s commented on June 26, 2024

Not yet. Submitted just yesterday, so it could take some time. Can you post rejection explanation from apple? Would be interesting if they rejected just by looking at warning or they are inspecting it deeper.

from fontreplacer.

ashtondsa avatar ashtondsa commented on June 26, 2024

I'm also waiting for review from apple. Please do post here with details once you get a reply from apple.

from fontreplacer.

cerupcat avatar cerupcat commented on June 26, 2024

Did your apps get approved? Do we have a final iOS7 version somewhere?

from fontreplacer.

deni2s avatar deni2s commented on June 26, 2024

cerupcat check out https://github.com/deni2s/IBCustomFonts

from fontreplacer.

cerupcat avatar cerupcat commented on June 26, 2024

@deni2s thanks! However, I just submitted an app yesterday with FontReplacer. It passed validation using NSSelectorFromString as mentioned above, but it would be nice to know if Apple is going to reject it. Did anyone else submit with this and get approved?

from fontreplacer.

deni2s avatar deni2s commented on June 26, 2024

With NSSelectorFromString should be approved.

from fontreplacer.

0xced avatar 0xced commented on June 26, 2024

FontReplacer has been discontinued. If you want to work with custom fonts directly in Interface Builder, I suggest you to use MoarFonts which is much better since:

  1. It works on iOS 7
  2. It’s WYSIWYG (what you see is what you get)
  3. It doesn’t use any private API
  4. It has zero overhead as it doesn’t use any runtime hackery

from fontreplacer.

Related Issues (5)

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.