Comments (4)
@gaming-hacker @tkirby the default version of the code that was written for the pod is for iOS 6 Set it to the current version and you will be able to use the same again in the latest version.
Also you may face the same issue since the code is been written in Obj-C and what you are using now is Swift so there may be a problem with the bridging of the files as you imported them.
for this:
Select the APP NAME under the project root in the Project Navigator (press Command-1 if it’s not showing), select File\New\File… from the menu, and then select iOS\Source\Header File. Click Next, name the file APP NAME-Bridging-Header.h and click Create.
Replace the contents of the new file with the following:
#import "FBShimmering.h"
#import "FBShimmeringLayer.h"
#import "FBShimmeringView.h"
Next, select the project root in the Project Navigator, and then select the APP_NAME target.
Choose the Build Settings tab, and find the Swift Compiler – Code Generation\Objective-C Bridging Header item. As a shortcut, you can type bridging in the search field at the top of the settings to find the item quickly.
Double-click the value field to the right of the Objective-C Bridging Header label and enter the location of the bridging header that you just created: APP_NAME/APP_NAME-Bridging-Header.h.
also for further reference and visual understanding you may visit:
https://www.raywenderlich.com/93138/using-facebook-shimmer-swift
this may be helpful
from shimmer.
Try #import <Shimmer/FBShimmeringView.h>
in your NAME-Bridging-Header.h file.
from shimmer.
+1.
I added the code to my project and nothing happens. No error, no shimmer. The example project doesn't work in latest Xcode:
"Compiling IB documents for earlier than iOS 7 is no longer supported."
from shimmer.
@tkirby The example project has target version of iOS set to 6, change it to something more recent and it will work :)
from shimmer.
Related Issues (20)
- Updates please! HOT 1
- shimmer diagonal animation
- updating the pod to Swift4.0 version
- What happened with this repo? HOT 5
- Unable to add Shimmer Framework manually in custom swift Framework
- Carthage support for Shimmer HOT 1
- Is there any user data that is either being collected or Tracked by the Shimmer
- .
- Assigning to 'id<CALayerDelegate> _Nullable' from incompatible type 'FBShimmeringLayer *const __strong'
- Facebook>Chat panel HOT 1
- Missing Android Support HOT 1
- SIGSEGV when deallocating view controller HOT 1
- ShimmerView does NOT work with Constraints HOT 4
- Tag a new release ? HOT 2
- Issues when used with views inside of UIStackView HOT 1
- Shimmer crashes EarlGrey
- Xcode 8.3 warning HOT 3
- Mask angle/tilt HOT 2
- Please update the CocoaPod!
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shimmer.