<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="https://code-reference.com/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://code-reference.com/feed.php">
        <title>Programming | Library | Reference - Code-Reference.com</title>
        <description></description>
        <link>https://code-reference.com/</link>
        <image rdf:resource="https://code-reference.com/ttps://code-reference.com/lib/tpl/dokuwiki/images/favicon.ico" />
       <dc:date>2026-04-22T10:57:50+02:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://code-reference.com/objective-c/foundation.framework/nsstring.h?rev=1708041981&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/objective-c/examples/uiwebview_using_local_resources?rev=1408407926&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/objective-c/foundation.framework/nsstring.h/stringwithformat?rev=1708042344&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/objective-c/foundation.framework/nsstring.h/stringbyappendingstring?rev=1708042344&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/objective-c/foundation.framework/nsstring.h/isequaltostring?rev=1708042344&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/objective-c/foundation.framework/nsstring.h/stringbyappendingformat?rev=1708042344&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/objective-c/foundation.framework/nsstring.h/caseinsensitivecompare?rev=1708042344&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/objective-c/foundation.framework/nsstring.h/uppercasestring?rev=1708042344&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/objective-c/foundation.framework/nsstring.h/lowercasestring?rev=1708042344&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/objective-c/foundation.framework?rev=1401473290&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/objective-c/foundation.framework/nsnumber.h/descriptionwithlocale?rev=1708042347&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/objective-c/foundation.framework/nsdictionary.h/initwithobjectsandkeys?rev=1401479513&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/objective-c/foundation.framework/nsarray.h/initwithobjects?rev=1708042341&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/objective-c/control_structures/if?rev=1708041977&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://code-reference.com/ttps://code-reference.com/lib/tpl/dokuwiki/images/favicon.ico">
        <title>Programming | Library | Reference - Code-Reference.com</title>
        <link>https://code-reference.com/</link>
        <url>https://code-reference.com/ttps://code-reference.com/lib/tpl/dokuwiki/images/favicon.ico</url>
    </image>
    <item rdf:about="https://code-reference.com/objective-c/foundation.framework/nsstring.h?rev=1708041981&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:06:21+02:00</dc:date>
        <title>NSString</title>
        <link>https://code-reference.com/objective-c/foundation.framework/nsstring.h?rev=1708041981&amp;do=diff</link>
        <description>NSString

The NSString class declares the programmatic interface for an object that manages immutable strings.

NSString is implemented to represent an array of Unicode characters, in other words, a text string.


caseinsensitivecompare

isequaltostring

lowercasestring

stringbyappendingformat

stringbyappendingstring

stringwithformat

uppercasestring</description>
    </item>
    <item rdf:about="https://code-reference.com/objective-c/examples/uiwebview_using_local_resources?rev=1408407926&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2014-08-19T02:25:26+02:00</dc:date>
        <title>UIWebView using local resources</title>
        <link>https://code-reference.com/objective-c/examples/uiwebview_using_local_resources?rev=1408407926&amp;do=diff</link>
        <description>Sometimes you need or want to load a UIWebView displaying content provided with an app. If there is more then one site it might make sense to have an external .css or .js file for all your html content. Whatever, I was facing this problem currently and decided to provide my solution to you.</description>
    </item>
    <item rdf:about="https://code-reference.com/objective-c/foundation.framework/nsstring.h/stringwithformat?rev=1708042344&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:12:24+02:00</dc:date>
        <title>stringWithFormat</title>
        <link>https://code-reference.com/objective-c/foundation.framework/nsstring.h/stringwithformat?rev=1708042344&amp;do=diff</link>
        <description>stringWithFormat

    
    + (id)stringWithFormat:(NSString *)format, ...    


Returns a string created by using a given format string as a template into which the remaining argument values are substituted

ObjC Sourcecode Example

     
    int a= 42;
        
        // string composed of single varable
       
        NSString *myString=[NSString stringWithFormat:@&quot;the answer to life the universe and everything is %i&quot;, a];
        
        NSLog(@&quot;MyString: %@&quot;, myString);
        
       
 …</description>
    </item>
    <item rdf:about="https://code-reference.com/objective-c/foundation.framework/nsstring.h/stringbyappendingstring?rev=1708042344&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:12:24+02:00</dc:date>
        <title>stringByAppendingString</title>
        <link>https://code-reference.com/objective-c/foundation.framework/nsstring.h/stringbyappendingstring?rev=1708042344&amp;do=diff</link>
        <description>stringByAppendingString

    
    -(NSString *)stringByAppendingString:(NSString *)aString;    


Returns a new string made by appending a given string to the receiver.

ObjC Sourcecode Example

     
  NSString *cycle=@&quot;Pass&quot;;
        
        for(int a=0; a&lt;5; a++)
        {

            NSString *intValue=[NSString stringWithFormat:@&quot;%i&quot;, a];
            
            cycle=[cycle stringByAppendingString:intValue];
            
            NSLog(@&quot;%@&quot;, cycle);

        }</description>
    </item>
    <item rdf:about="https://code-reference.com/objective-c/foundation.framework/nsstring.h/isequaltostring?rev=1708042344&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:12:24+02:00</dc:date>
        <title>isEqualToString</title>
        <link>https://code-reference.com/objective-c/foundation.framework/nsstring.h/isequaltostring?rev=1708042344&amp;do=diff</link>
        <description>isEqualToString

    
   - (BOOL)isEqualToString:(NSString *)aString;   


Returns a Boolean value that indicates whether a given string is equal to the receiver using an literal Unicode-based comparison.

ObjC Sourcecode Example

 
    NSString *myString1=@&quot;Hello World&quot;;
    NSString *myString2=@&quot;Hello World&quot;;
          
        if([myString1 isEqualToString:myString2]){
        
            NSLog(@&quot;similar&quot;);
        }
        else{
        
            NSLog(@&quot;dissimilar&quot;);
        }
        …</description>
    </item>
    <item rdf:about="https://code-reference.com/objective-c/foundation.framework/nsstring.h/stringbyappendingformat?rev=1708042344&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:12:24+02:00</dc:date>
        <title>stringByAppendingFormat</title>
        <link>https://code-reference.com/objective-c/foundation.framework/nsstring.h/stringbyappendingformat?rev=1708042344&amp;do=diff</link>
        <description>- (NSString *)stringByAppendingFormat:(NSString *)format, …   


Returns a string made by appending to the receiver a string constructed from a given format string and the following arguments.

ObjC Sourcecode Example

  
    for(int a=0; a&lt;5; a++)
        { 
	    NSString *cycle=@&quot;Pass&quot;;
            
            cycle=[cycle stringByAppendingFormat:@&quot;%i&quot;, a];
            
            NSLog(@&quot;%@&quot;, cycle);
        }</description>
    </item>
    <item rdf:about="https://code-reference.com/objective-c/foundation.framework/nsstring.h/caseinsensitivecompare?rev=1708042344&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:12:24+02:00</dc:date>
        <title>caseInsensitiveCompare</title>
        <link>https://code-reference.com/objective-c/foundation.framework/nsstring.h/caseinsensitivecompare?rev=1708042344&amp;do=diff</link>
        <description>-(NSComparisonResult)caseInsensitiveCompare:(NSString *)string;  


Returns the result of invoking compare:options: with NSCaseInsensitiveSearch as the only option.

ObjC Sourcecode Example

  
    NSString *myString1=@&quot;HELLO WORLD&quot;;
    NSString *myString2=@&quot;hello world&quot;;
        
    if([myString1 caseInsensitiveCompare:myString2]==NSOrderedSame){
            
            NSLog(@&quot;similar&quot;);  
        }
    else{
            
            NSLog(@&quot;dissimilar&quot;);          
        }

      /* 
    …</description>
    </item>
    <item rdf:about="https://code-reference.com/objective-c/foundation.framework/nsstring.h/uppercasestring?rev=1708042344&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:12:24+02:00</dc:date>
        <title>uppercaseString</title>
        <link>https://code-reference.com/objective-c/foundation.framework/nsstring.h/uppercasestring?rev=1708042344&amp;do=diff</link>
        <description>uppercaseString

    
    -(NSString *)uppercaseString;   


Returns an uppercased representation of the receiver.

ObjC Sourcecode Example

  
	NSString *myString=@&quot;hello world&quot;;
        
        myString=[myString uppercaseString];
        
        NSLog(@&quot;%@&quot;,myString);</description>
    </item>
    <item rdf:about="https://code-reference.com/objective-c/foundation.framework/nsstring.h/lowercasestring?rev=1708042344&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:12:24+02:00</dc:date>
        <title>lowercaseString</title>
        <link>https://code-reference.com/objective-c/foundation.framework/nsstring.h/lowercasestring?rev=1708042344&amp;do=diff</link>
        <description>lowercaseString

    
   -(NSString *)lowercaseString;    


Returns lowercased representation of the receiver.

ObjC Sourcecode Example

 
        NSString *myString=@&quot;HELLO WORLD&quot;;
        
        myString=[myString lowercaseString];
        
        NSLog(@&quot;%@&quot;,myString);</description>
    </item>
    <item rdf:about="https://code-reference.com/objective-c/foundation.framework?rev=1401473290&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2014-05-30T20:08:10+02:00</dc:date>
        <title>foundation.framework</title>
        <link>https://code-reference.com/objective-c/foundation.framework?rev=1401473290&amp;do=diff</link>
        <description>foundation.framework

nsstring.h

nsnumber.h

nsvalue.h

nsarray.h

nsmutablearray.h

nsfilemanager.h

nsdictionary.h</description>
    </item>
    <item rdf:about="https://code-reference.com/objective-c/foundation.framework/nsnumber.h/descriptionwithlocale?rev=1708042347&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:12:27+02:00</dc:date>
        <title>descriptionWithLocale</title>
        <link>https://code-reference.com/objective-c/foundation.framework/nsnumber.h/descriptionwithlocale?rev=1708042347&amp;do=diff</link>
        <description>descriptionWithLocale

    

- (NSString *)descriptionWithLocale:(id)aLocale
 


Returns a string that represents the contents of the receiver for a given locale.

ObjC Sourcecode Example



    //** Sample Datatypes **
    int myInt= 1000000;
    double myDouble = 3.14;
    float myFloat = 1.123456f;
    char myChar = 'w';
    
    //** Initializing NSNumber Objects **
    NSNumber *myIntNumber = [[NSNumber alloc]initWithInt:myInt];
    NSNumber *myDoubleNumber = [[NSNumber alloc]initWithDouble…</description>
    </item>
    <item rdf:about="https://code-reference.com/objective-c/foundation.framework/nsdictionary.h/initwithobjectsandkeys?rev=1401479513&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2014-05-30T21:51:53+02:00</dc:date>
        <title>initWithObjectsAndKeys</title>
        <link>https://code-reference.com/objective-c/foundation.framework/nsdictionary.h/initwithobjectsandkeys?rev=1401479513&amp;do=diff</link>
        <description>initWithObjectsAndKeys

    

- (instancetype)initWithObjectsAndKeys:(id)firstObject, (NSString*)firstKey, ...
 


Initializes a newly allocated dictionary with entries constructed from the specified set of values and keys.

Return Value
- NSDictionary</description>
    </item>
    <item rdf:about="https://code-reference.com/objective-c/foundation.framework/nsarray.h/initwithobjects?rev=1708042341&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:12:21+02:00</dc:date>
        <title>initWithObjects</title>
        <link>https://code-reference.com/objective-c/foundation.framework/nsarray.h/initwithobjects?rev=1708042341&amp;do=diff</link>
        <description>initWithObjects

    

- (id)initWithObjects:(id)firstObj, ... NS_REQUIRES_NIL_TERMINATION;
 


Parameters
firstObj, secondObj...
Comma-separated objects ending with nil.

Return Value

An array initialized to include the parameters objects.

After an immutable array has been initialized in this way, it can’t be modified.</description>
    </item>
    <item rdf:about="https://code-reference.com/objective-c/control_structures/if?rev=1708041977&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:06:17+02:00</dc:date>
        <title>if</title>
        <link>https://code-reference.com/objective-c/control_structures/if?rev=1708041977&amp;do=diff</link>
        <description>if ( condition == true ){
    command;    
    }


if example 1 objective c


    NSString *string = @&quot;i wouldn't want to go anywhere without my wonderful towel&quot;;
    
    if ([string isEqualToString:@&quot;i wouldn't want to go anywhere without my wonderful towel&quot;]) {
        NSInteger a=42;
        NSLog(@&quot;correct %i&quot;, a);
    }
    
    else if ([string isEqualToString:@&quot;42&quot;]) {
        NSLog(@&quot;Sorry but the answer is not correct&quot;);
    }</description>
    </item>
</rdf:RDF>
