IOS Code is correct and working but program don't do anything
===

After asking questions I learn how to send orders from one viewcontroleler to another and managed to write the code its working but nothing happens...

In my project I have two view controllers named as sayfa1 and sayfa23.When a button at sayfa1 is clicked it will open up sayfa23 and write on a label (random hello see the code below) but its not happening.On simulator that button only opens up the sayfa23 and thats it nothing happening to label.If you look at the code you can understand it better.

sayfa1.h

    #import <UIKit/UIKit.h>
    
    @protocol sayfa1Delegate <NSObject>
    
    - (void)dealWithButton1;
    
    @end
    
    
    @interface sayfa1 : UIViewController
    
    @property(nonatomic,assign) id<sayfa1Delegate> delegate;
    
    @end

sayfa2.m

    #import "sayfa1.h"
    
    @interface sayfa1 ()
    
    @end
    
    @implementation sayfa1
    
    @synthesize delegate;
    
    -(IBAction)button
    {
        [delegate dealWithButton1];
    }
    
    @end

sayfa23.h


    #import <UIKit/UIKit.h>
    #import "sayfa1.h"
    
    @interface sayfa23 : UIViewController <sayfa1Delegate> 
    
    
    
    {
    
        IBOutlet UILabel *label;
        sayfa1 *vc1 ;
    }
    
    
    @end

sayfa23.m

    #import "sayfa23.h"
    #import "sayfa1.h"
    
    @interface sayfa23 ()
    
    @end
    
    @implementation sayfa23
    
    
    
    - (void)dealWithButton1
    
    {
        vc1.delegate = self;    
        int random_num;
        random_num = (arc4random() % 5 - 1) + 1;
        if (random_num == 1)
        { 
            label.text = @"hello1";    
        }
        else if (random_num == 2)
            label.text = @"hello2";
        else if (random_num == 3)
            label.text = @"hello3";
        else if (random_num == 4)
            label.text = @"hello4";
    }
    
    
    @end

After writing this code I connected the button to sayfa 23 so it will open the new page also I connected that button to sayfa1 to receive button actions and I connected label(on sayfa23) to sayfa23 receive label orders.But as I say nothing happens no errors and no hello what I am doing wrong ?I imported sayfa1.h or sayfa23.h at the top of some of my h files cause Xcode give me an error about not defined and solved that problem but is it my mistake or something else.


Example of I want.

User opens the app

sayfa1 shown on screen

User clicks the button and sayfa23 is shown the label text on sayfa 23 is changed by the button which is at sayfa 1 it write random hello1..2..3 etc...

What I am doing wrong ?