peter-iakovlev / Telegram

Telegram Messenger for iOS
3.23k stars 858 forks source link

No visible @interface for 'SAtomic' #135

Open hamid-hassani opened 7 years ago

hamid-hassani commented 7 years ago

Hello, After changing '../../config.h' to 'config.h' with adding api to this file, I get this error

/Users/AAA/Telegram/Telegraph/TGCallSession.mm:232:36: No visible @interface for 'SAtomic' declares the selector 'initWithValue:recursive:'

Any solution? Thanks

gerchicov-bp commented 7 years ago

I have the same issue

mludi commented 7 years ago

Change it to _controller = [[SAtomic alloc] initWithValue:nil];