Skip to content
Guest Big Announcement

SCLAlertView Style troubles/errors

Featured Replies

Solved by Pro

if you mean CFLAGS = -w in makefile ?

Yeah

  • Replies 27
  • Views 5.3k
  • Created
  • Last Reply

Top Posters In This Topic

  • Author

Yeah

 

tks mr shmo. but I still find the same error. :( . If mr shmoo kindly provide SCLAlertview tutorial style from scratch? Such incredible tweak you. Just SCLAlertview. :)

  • Author

Seeing this, I felt like trying to use it again. I now have 10 errors :p

 

I also several times been viewed 10 error :(. so, what is the solution?

Updated by pxcex

tks mr shmo. but I still find the same error. :( . If mr shmoo kindly provide SCLAlertview tutorial style from scratch? Such incredible tweak you. Just SCLAlertview. :)

Yeah I'll give you my headers :p -w usually solves type errors for me

  • Author

Yeah I'll give you my headers :p -w usually solves type errors for me

 

please provide headers for me..

please provide headers for me..

In your Makefile, on the CFLAGS line, add pxcex_ to the beggining of it:

pxcex_CFLAGS = -w -fobjc-arc

Never mind, don't do that. I thought this fixed it for me, but then I fixed another error, only yo get where you are xD

Updated by Pro

  • Author

I remember having this issue myself, I cannot remember how I solved it. :p

 

Dida, I managed to implement it I change like this __weak typeof (self) weakSelf = self; with __weak __typeof __ (self) weakSelf = self; in SCLAlertView.m and managed.
 
but when I press the exit button, no response. What is wrong? 
 
 
Tweak.xm :
 
%hook BBMAppDelegate
- (BOOL)application:(id)fp8 didFinishLaunchingWithOptions:(id)fp12 { // Popup only once at each launch of the app.
 
    SCLAlertView *alert = [[sCLAlertView alloc] initWithNewWindow];
 
    [alert showSuccess: @"Title here"// Success, Error, Notice, Warning, Info, Edit, Custom, Waiting
              subTitle: @"Subtitle here"
      closeButtonTitle: @"Close button"
              duration: 0.0f];
return %orig;
}
%end

Updated by pxcex

Dida, I managed to implement it I change like this __weak typeof (self) weakSelf = self; with __weak __typeof __ (self) weakSelf = self; in SCLAlertView.m and managed.

 

but when I press the exit button, no response. What is wrong? 

 

 

Tweak.xm :

 

%hook BBMAppDelegate

- (BOOL)application:(id)fp8 didFinishLaunchingWithOptions:(id)fp12 { // Popup only once at each launch of the app.

 

    SCLAlertView *alert = [[sCLAlertView alloc] initWithNewWindow];

 

    [alert showSuccess: @"Title here"// Success, Error, Notice, Warning, Info, Edit, Custom, Waiting

              subTitle: @"Subtitle here"

      closeButtonTitle: @"Close button"

              duration: 0.0f];

return %orig;

}

%end

Try some old headers. The newest ones freeze

  • Author

Try some old headers. The newest ones freeze

 

May I use the header has Dida? or link suggested? tks Dida

Create an account or sign in to comment

Featured Content

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.