Critizz
Aktives Mitglied
Thread Starter
- Dabei seit
- 28.05.2012
- Beiträge
- 1.136
- Reaktionspunkte
- 22
Hallöchen Community ,
Wir ihr bereits sieht bin ich neu hier und bin gerade dabei Objective - C zu lernen.
So kommen wir zu meinem Problem...
Ich hab vorhin auf GitHub dieses " Framework " gefunden ( Ich weiß nicht ob man soetwas Framework nennt ).
Hab halt bissl. damit rumgespielt und auch versucht es in meinen eigenen Projekt einzubinden.
Leider ohne Erfolg.
Das " Framework " : https://github.com/alskipp/ASProgressPopUpView
Hier erstmal der Code : .M Datei :
.H Datei - Kaum was drin :
So ich habe zwar keine Fehlermeldung doch wenn ich das Projekt im iOS Simulator starte, stürzt die App direkt an und ich kriege folgende Meldung in der Console :
Kann mir jmd. sagen was ich falsch gemacht habe ?
Wir ihr bereits sieht bin ich neu hier und bin gerade dabei Objective - C zu lernen.
So kommen wir zu meinem Problem...
Ich hab vorhin auf GitHub dieses " Framework " gefunden ( Ich weiß nicht ob man soetwas Framework nennt ).
Hab halt bissl. damit rumgespielt und auch versucht es in meinen eigenen Projekt einzubinden.
Leider ohne Erfolg.
Das " Framework " : https://github.com/alskipp/ASProgressPopUpView
Hier erstmal der Code : .M Datei :
Code:
//
// ViewController.m
// Progress
//
// Created by Critizz on 30.04.14.
// Copyright (c) 2014 Critizz. All rights reserved.
//
#import "ViewController.h"
#import "ASProgressPopUpView.h"
@interface ViewController ()
@property (weak, nonatomic) IBOutlet ASProgressPopUpView *progressView;
@end
@implementation ViewController
- (void)viewDidLoad
{
[super viewDidLoad];
self.progressView.font = [UIFont fontWithName:@"Futura-CondensedExtraBold" size:26];
self.progressView.font = [UIFont fontWithName:@"Futura-CondensedExtraBold" size:26];
self.progressView.popUpViewAnimatedColors = @[[UIColor redColor], [UIColor orangeColor], [UIColor greenColor]];
}
- (void)didReceiveMemoryWarning
{
[super didReceiveMemoryWarning];
// Dispose of any resources that can be recreated.
}
@end
.H Datei - Kaum was drin :
Code:
//
// ViewController.h
// Progress
//
// Created by Critizz on 30.04.14.
// Copyright (c) 2014 Critizz. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ViewController : UIViewController
@end
So ich habe zwar keine Fehlermeldung doch wenn ich das Projekt im iOS Simulator starte, stürzt die App direkt an und ich kriege folgende Meldung in der Console :
Code:
2014-04-30 21:30:00.863 Progress[1746:60b] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<ViewController 0x10921eef0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key ASProgressPopUpView.'
*** First throw call stack:
(
0 CoreFoundation 0x0000000101bb3495 __exceptionPreprocess + 165
1 libobjc.A.dylib 0x00000001016b399e objc_exception_throw + 43
2 CoreFoundation 0x0000000101c37919 -[NSException raise] + 9
3 Foundation 0x0000000101294530 -[NSObject(NSKeyValueCoding) setValue:forKey:] + 259
4 CoreFoundation 0x0000000101baf400 -[NSArray makeObjectsPerformSelector:] + 224
5 UIKit 0x00000001004bb8a6 -[UINib instantiateWithOwner:options:] + 1131
6 UIKit 0x0000000100355b0c -[UIViewController _loadViewFromNibNamed:bundle:] + 245
7 UIKit 0x0000000100356149 -[UIViewController loadView] + 112
8 UIKit 0x00000001003563b7 -[UIViewController loadViewIfRequired] + 75
9 UIKit 0x0000000100356777 -[UIViewController view] + 29
10 UIKit 0x000000010029696b -[UIWindow addRootViewControllerViewIfPossible] + 58
11 UIKit 0x0000000100296c70 -[UIWindow _setHidden:forced:] + 282
12 UIKit 0x000000010029fffa -[UIWindow makeKeyAndVisible] + 51
13 UIKit 0x000000010025bc98 -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1788
14 UIKit 0x000000010025fa0c -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 660
15 UIKit 0x0000000100270d4c -[UIApplication handleEvent:withNewEvent:] + 3189
16 UIKit 0x0000000100271216 -[UIApplication sendEvent:] + 79
17 UIKit 0x0000000100261086 _UIApplicationHandleEvent + 578
18 GraphicsServices 0x0000000103d2b71a _PurpleEventCallback + 762
19 GraphicsServices 0x0000000103d2b1e1 PurpleEventCallback + 35
20 CoreFoundation 0x0000000101b35679 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 41
21 CoreFoundation 0x0000000101b3544e __CFRunLoopDoSource1 + 478
22 CoreFoundation 0x0000000101b5e903 __CFRunLoopRun + 1939
23 CoreFoundation 0x0000000101b5dd83 CFRunLoopRunSpecific + 467
24 UIKit 0x000000010025f2e1 -[UIApplication _run] + 609
25 UIKit 0x0000000100260e33 UIApplicationMain + 1010
26 Progress 0x0000000100004283 main + 115
27 libdyld.dylib 0x000000010224b5fd start + 1
28 ??? 0x0000000000000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)
Kann mir jmd. sagen was ich falsch gemacht habe ?