User Tools

Site Tools

Creating directory /kunden/homepages/20/d423760527/htdocs/cpp/data/meta/quickstats/10_2021 failed
Writing /kunden/homepages/20/d423760527/htdocs/cpp/data/meta/quickstats/10_2021/qs_data.ser failed

Sidebar

Programming Reference/Librarys

Question & Answer

Q&A is closed







objective-c:foundation.framework:nsnumber.h:initwithbool

initWithBool

 
- (id)initWithBool:(BOOL)value;
 

ObjC Sourcecode Example

    BOOL myBool = NO;
 
    //******************** Initializing NSNumber Objects *************************
 
    //** NSNumbers need to be released, if you`re not working with ARC! **
 
    NSNumber *myBoolNumber = [[NSNumber alloc]initWithBool:myBool];
 
    NSLog(@"myBoolNumber: %@", myBoolNumber);
 
 

Output for this example code

2012-05-20 19:26:47.796 NSNumberSample[818:f803] myBoolNumber: 0
advertising
objective-c/foundation.framework/nsnumber.h/initwithbool.txt · Last modified: 2012/12/20 12:24 (external edit)

Impressum Datenschutz

Creating directory /kunden/homepages/20/d423760527/htdocs/cpp/data/meta/quickstats/10_2021 failed
Writing /kunden/homepages/20/d423760527/htdocs/cpp/data/meta/quickstats/10_2021/misc_data.ser failed
Creating directory /kunden/homepages/20/d423760527/htdocs/cpp/data/meta/quickstats/10_2021 failed
Writing /kunden/homepages/20/d423760527/htdocs/cpp/data/meta/quickstats/10_2021/ip.ser failed
Creating directory /kunden/homepages/20/d423760527/htdocs/cpp/data/meta/quickstats/10_2021 failed
Writing /kunden/homepages/20/d423760527/htdocs/cpp/data/meta/quickstats/10_2021/pages.ser failed
Creating directory /kunden/homepages/20/d423760527/htdocs/cpp/data/meta/quickstats/10_2021 failed
Writing /kunden/homepages/20/d423760527/htdocs/cpp/data/meta/quickstats/10_2021/ua.ser failed
Creating directory /kunden/homepages/20/d423760527/htdocs/cpp/data/meta/quickstats/10_2021 failed
Writing /kunden/homepages/20/d423760527/htdocs/cpp/data/meta/quickstats/10_2021/page_users.ser failed