ViewController2.m 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  1. //
  2. // ViewController2.m
  3. // Appcircle
  4. //
  5. // Created by Dogan Ekici on 5.11.2019.
  6. // Copyright © 2019 Dogan Ekici. All rights reserved.
  7. //
  8. #import "ViewController2.h"
  9. @interface ViewController2 ()
  10. @end
  11. @implementation ViewController2
  12. - (void)viewDidLoad {
  13. [super viewDidLoad];
  14. self.lblVersion.text = [NSString stringWithFormat:@"v%@",[[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleShortVersionString"]];
  15. self.lblApi.text = [NSString stringWithFormat:@"Api URL: %@\nApi KEY: %@",[[NSBundle mainBundle] objectForInfoDictionaryKey:@"API_URL"],[[NSBundle mainBundle] objectForInfoDictionaryKey:@"API_KEY"]];
  16. // Do any additional setup after loading the view.
  17. }
  18. /*
  19. #pragma mark - Navigation
  20. // In a storyboard-based application, you will often want to do a little preparation before navigation
  21. - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
  22. // Get the new view controller using [segue destinationViewController].
  23. // Pass the selected object to the new view controller.
  24. }
  25. */
  26. @end