Coder Social home page Coder Social logo

swiftuimindblowing's Introduction

SwiftUIMindBlowing

SwiftUIMindBlowing is a SwiftUI sample application that shows how to integrate Tealeaf SDK following docs.

Getting Started

Prerequisites

You need to have recent cocoapods version install on your Mac OS. Current version is 1.10.1. Please refer to cocoapods website for the details.

For SDK prerequisites and documentation, please refer to the SDK documentation here

Installing

Clone the sample app code from git hub location

git clone https://github.com/acoustic-analytics/SwiftUIMindBlowing.git

Go to the sample app location

cd SwiftUIMindBlowing

Open Podfile in a text editor of your choice and note the following lines in the Podfile

Note that use_frameworks is uncommented

use_frameworks!

In the respective targets for your project in the Podfile add the following line if you want to use Tealeaf SDK's release version

pod 'Tealeaf'

In the respective targets for your project in the Podfile add the following line if you want to use Tealeaf SDK's debug version

pod 'TealeafDebug'

You will notice that by default the sample application uses pod 'TealeafDebug'

Note that you can use only one of pod 'Tealeaf' or pod 'TealeafDebug'. Do not use both at the same time.

Now you need to install the pods by running one of the following commands.

pod install

or to update

pod update

Above pod command (install or update) should complete with no errors. If you do see errors run the same command with --verbose option and share the error log with us.

Open SwiftUIMindBlowing.xcworkspace file and not the SwiftUIMindBlowing.xcodeproj file. Once you open the workspace file, please use target CXA to build the sample app and run it. There are multiple targets in the project however the only one that serves for this example is the SwiftUIMindBlowing target.

Troubleshooting

If you are using Debug version of Tealeaf SDK. i.e. pod 'TealeafDebug' , then you may edit your project's scheme in XCode and add environmental variable EODebug and set its value to 1; also add environmental variable TLF_DEBUG and set its value to 1. This will make the SDK to start writing debug logs to your xcode console window. If and when you want to report issues, the Tealeaf support engineers will ask you for these logs.

Step 1


Taken original code from SwiftUIMindBlowing

SwiftUI MindBlowing ๐Ÿคฏ

License License License License

Collections of mind-blowing SwiftUI snippets and projects.

Why another awesome-swiftui?

SwiftUI has come with a blast during and after WWDC 2019. The technology is so exciting so that the Swift Community has quickly come up with different tutorials, sample projects and experiments showing the potential of it.

Since I am a big fan of learning by doing and from the others, I create this app for my own learning and the app serves as my effort to contribute to the community, to consolidate as many tips & tricks from the community as possible, from basic to advanced SwiftUI usages, and also to showcase many cool ๐Ÿคฏ projects, experiments from other developers.

The app is organized in 5 main sections:

  • Basic: showing how to use primitive elements SwiftUI.

Screenshot

  • Animation: showing how to make basic animations with SwiftUI.
  • MindBlowing: super cool, mind-blowing experiments from the community.
  • Projects: full-blown simple to advanced projects using SwiftUI (and Combine).
  • More: some miscellaneous stuffs related to SwiftUI (SFSymbols, Tips & Tricks ...).

Open and Community-driven

As SwiftUI is new and is still evolving very fast, I would welcome everyone to join me to make the app more useful to the community. PRs/New ideas are warmly welcome.

๐Ÿ‘‰ Currently, I need some help to design a logo and a banner for the repo, if you have some basic design knowledge, please don't hesitate to contact me.

Requirements

  • macOS 15 (optional to view previews)
  • Xcode 11.1
  • iOS 13.1+

License

I try to integrate only MIT license friendly code. The code are copyrighted by their respective authors. I always attach the links to the original repos alongside the code.

The app itself is also licensed under MIT license as stated in LICENSE

swiftuimindblowing's People

Contributors

ohernandezibm avatar

Stargazers

 avatar

Watchers

 avatar

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.