Code Monkey home page Code Monkey logo

flare-swift's People

Contributors

artur-ios-dev avatar umberto-sonnino avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

flare-swift's Issues

How to use with SwiftUI

I am new to the whole iOS ecosystem. Sorry if this is a basic question. But how do you use Flare within SwiftUI? The example sadly doesn't use SwiftUI.

Animation drawing is not sharp

Hi,

I'm checking the examples provided in the repo, building the app on a real device (iPhone XS) but the the rendered animation quality doesn't look good, it's not sharp. Instead, it looks like a raster image. This happens on a custom simple drawing I did (just a circle with a border):
Custom animation
And also in the example .flr file provided:
Example animation

Is there something I have to configure to have a better or higher quality/resolution on the displayed animation?

Thank you!

Background color is always gray

Hi!
I'm having a problem displaying animation with transparent background.
Even when I test with your resource 'Switch.flr' included in Example project, same thing happens.

Something I have to configure to make background transparent?

스크린샷 2020-10-06 오후 8 03 44

File is not showing properly....

let frame = UIScreen.main.bounds
 let flareView = FlareSkView(frame: CGRect(x: 0, y: 100, width: frame.size.width, height: frame.size.height-200))
 flareView.backgroundColor = .clear
flareView.filename = "Switch.flr"
view.addSubview(flareView)

IMG_0208

sk_canvas.h' file not found

Getting error

  1. Flare-Swift-master/FlareSwift/FlareSkia/Skia/Skia.h:1:10: 'src/include/c/sk_canvas.h' file not found
  2. /FlareSwift/FlareSkia/Fills/flare_sk_color_fill.swift:10:8: Could not build Objective-C module 'Skia'

Cocoapods support

First of all, great work!! Greatly appreciate you guys making flare available for swift! Do you guys intend to support cocoapods I. The future? Couldn’t find anything. Would really streamline the process of integrating flare into the projects. Thanks in advance for your answer and keep up the good work :)

How to use with SwiftUI

I am new to the whole iOS ecosystem. Sorry if this is a basic question. But how do you use Flare within SwiftUI? The example sadly doesn't use SwiftUI.

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.