cezarywojcik / CWStatusBarNotification

A library that allows you to easily create text-based notifications that appear on the status bar.
MIT License
2.03k stars 260 forks source link

Xcode 8 beta 2 error #90

Closed alirp88 closed 8 years ago

alirp88 commented 8 years ago

I get an error on latest pod, on line 111 CWStatusBarNotification.m (return _preferredStatusBarStyle) it says "undeclared identifier _preferredStatusBarStyle"

kimimaro commented 8 years ago

Same to me, when I change to self.preferredStatusBarStyle to fix it but when will the official update will fix this issues?

zhonghuiwen commented 8 years ago

i synthesised the property to fix it

@implementation CWViewController
@synthesize preferredStatusBarStyle = _preferredStatusBarStyle;

- (UIStatusBarStyle)preferredStatusBarStyle
{
    return _preferredStatusBarStyle;
}
alirp88 commented 8 years ago

@zhonghuiwen Did you add a PR for it?

narlei commented 8 years ago

Just need update cocoapods version. Thanks

benguild commented 8 years ago

Hi, it'd be great to get a push of this change :)

alirp88 commented 8 years ago

When pod gonna update?

akkrat commented 8 years ago

When pod gonna update?

romk1n commented 8 years ago

GM has been released today please update the pod

cerupcat commented 8 years ago

In the meantime you can use the following in your podfile

pod 'CWStatusBarNotification', :git => 'https://github.com/cezarywojcik/CWStatusBarNotification', :commit => '029ba79'

cezarywojcik commented 8 years ago

2.3.5 is pushed.