<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>CodeProject Latest postings for Objective-C and Swift</title>
    <link>https://www.codeproject.com</link>
    <description>Latest postings for Objective-C and Swift from CodeProject</description>
    <language>en-us</language>
    <image>
      <title>CodeProject Latest postings for Objective-C and Swift</title>
      <url>https://www.codeproject.com/App_Themes/Std/Img/logo100x30.gif</url>
      <link>https://www.codeproject.com</link>
      <width>100</width>
      <height>30</height>
      <description>CodeProject</description>
    </image>
    <copyright>Copyright  CodeProject, 1999-2024</copyright>
    <webMaster>Webmaster@codeproject.com (Webmaster)</webMaster>
    <lastBuildDate>Thu, 04 Jan 2024 22:51:00 GMT</lastBuildDate>
    <ttl>20</ttl>
    <generator>C# Hand-coded goodness</generator>
    <item>
      <title>Looking for suggestions, and clarify a few things for a beginning Apple programmer</title>
      <description>I recently bought a Mac Mini, loaded up XCode and created my first app, the demo iPhone app and ran it on my Virtual iPhone on the Mac, so that part works now. &lt;br /&gt;
&lt;br /&gt;
I have a couple of questions about Xcode and this project I created, that wasn't too clear to me on some YouTube videos. I sort of get what Objective C is, but not to clear on it. And I sort of get what Swift is, but not clear on it. &lt;br /&gt;
&lt;br /&gt;
Is Objective C the base language? I was looking at the sample code generated and it looks like some sort of controller view system, sort of like Microsoft MVC. Or are libraries already created in Objective C and I use Swift to write simple code to execute logic and generate it to the a assigned view or screen, where the underlying Objective C code executes it.&lt;br /&gt;
&lt;br /&gt;
I was just book shopping on Amazon and the web, and so many books are published on the subject, some promoting Objective C and others promoting Swift, so I'm not sure what book to buy. &lt;br /&gt;
&lt;br /&gt;
My goal is to write a robust iPhone app that collects data and stores it in the cloud or on the device like where, when and notes, and then a larger app like on a iPad or Mac can analyze the data and help find fixes for the user. It's a sports app to help players be better.  &lt;br /&gt;
&lt;br /&gt;
I need to move fast on this and would appreciate your experience and thoughts. Or any books that I can read to catch up on this technology. I was going to React Native, but was told to just build the app with native tools by Apple.&lt;br /&gt;

&lt;div class="signature"&gt;If it ain't broke don't fix it&lt;br /&gt;
Discover my world at &lt;a href="https://jkirkerx.com" target="_blank"&gt;jkirkerx.com&lt;/a&gt;&lt;/div&gt;</description>
      <author>jkirkerx</author>
      <link>https://www.codeproject.com/Messages/5980894/Looking-for-suggestions-and-clarify-a-few-things-f</link>
      <pubDate>Thu, 04 Jan 2024 22:51:00 GMT</pubDate>
      <guid>3_5980894</guid>
      <subject>Objective-C and Swift</subject>
    </item>
    <item>
      <title>How can I decipher, or understand what I reading in an M4A file?</title>
      <description>I have my Swift app that records audio in chunks of multiple files, each M4A file is approx 1 minute long. I would like to go through those files and detect silence, or the lowest level&lt;br /&gt;
.&lt;br /&gt;
While I am able to read the file into a buffer, my problem is deciphering it. Even with Google, all it comes up with is "audio players" instead of sites that describe the header and the data.&lt;br /&gt;
&lt;br /&gt;
Where can I find what to look for? Or even if I should be reading it into a WAV file? But even then I cannot seem to find a tool, or a site, that tells me how to decipher what I am reading.&lt;br /&gt;
&lt;br /&gt;
Obviously it exists, since Siri knows when you've stopped speaking. Just trying to find the key.</description>
      <author>SergioQ</author>
      <link>https://www.codeproject.com/Messages/5856804/How-can-I-decipher-or-understand-what-I-reading-in</link>
      <pubDate>Tue, 25 Jan 2022 02:52:00 GMT</pubDate>
      <guid>3_5856804</guid>
      <subject>Objective-C and Swift</subject>
    </item>
    <item>
      <title>How can I take data from PDF form to Excel on specified cells</title>
      <description>Hi, &lt;br /&gt;
&lt;br /&gt;
Is it possible to create code that works on MAC and Windows too (My concern is about MAC but if both platforms that would be great) to get data from predefined PDF form fields into predefined excel template? &lt;br /&gt;
&lt;br /&gt;
If yes can you please provide simple exams of code to test?</description>
      <author>Member 14643603</author>
      <link>https://www.codeproject.com/Messages/5674330/How-can-I-take-data-from-PDF-form-to-Excel-on-spec</link>
      <pubDate>Mon, 04 Nov 2019 09:18:00 GMT</pubDate>
      <guid>3_5674330</guid>
      <subject>Objective-C and Swift</subject>
    </item>
    <item>
      <title>How to get Idle time of mac?</title>
      <description>I need to code in swift that can calculate the idle time of system.</description>
      <author>UJ7</author>
      <link>https://www.codeproject.com/Messages/5541269/How-to-get-Idle-time-of-mac</link>
      <pubDate>Sat, 28 Jul 2018 09:57:00 GMT</pubDate>
      <guid>3_5541269</guid>
      <subject>Objective-C and Swift</subject>
    </item>
    <item>
      <title>How to design game</title>
      <description>i don't know to create video in Game screen</description>
      <author>HerryF</author>
      <link>https://www.codeproject.com/Messages/5521466/How-to-design-game</link>
      <pubDate>Sat, 19 May 2018 11:22:00 GMT</pubDate>
      <guid>3_5521466</guid>
      <subject>Objective-C and Swift</subject>
    </item>
    <item>
      <title>Recently i decided to learn swift again[Help]</title>
      <description>Frist of all i need more example / case study during learing swift.</description>
      <author>HerryF</author>
      <link>https://www.codeproject.com/Messages/5521464/Recently-i-decided-to-learn-swift-again-Help</link>
      <pubDate>Tue, 09 Oct 2018 06:15:00 GMT</pubDate>
      <guid>3_5521464</guid>
      <subject>Objective-C and Swift</subject>
    </item>
    <item>
      <title>NSPrintOperation graphic context affect my custom print view?</title>
      <description>hi all,&lt;br /&gt;
&lt;br /&gt;
i m using NSPrintOperation using view.&lt;br /&gt;
&lt;br /&gt;
NSPrintOperation graphic context affect my print view design.&lt;br /&gt;
&lt;br /&gt;
when i print in landscape page my design also rotate.&lt;br /&gt;
&lt;br /&gt;
please help me how can i handle this.&lt;br /&gt;
&lt;br /&gt;
thanks in advance.</description>
      <author>Le@rner</author>
      <link>https://www.codeproject.com/Messages/5484404/NSPrintOperation-graphic-context-affect-my-custom</link>
      <pubDate>Mon, 05 Feb 2018 05:04:00 GMT</pubDate>
      <guid>3_5484404</guid>
      <subject>Objective-C and Swift</subject>
    </item>
    <item>
      <title>NSPrintOperation not print properly Landscape print</title>
      <description>HI all&lt;br /&gt;
&lt;br /&gt;
i am using NSPrintOperation with NSView for printing.&lt;br /&gt;
&lt;br /&gt;
portrait pages are print well,&lt;br /&gt;
&lt;br /&gt;
but Landscape printing not done properly please help me for this.&lt;br /&gt;
&lt;br /&gt;
&lt;div class='pre-lang' id='premain97156'&gt;&lt;div&gt;&lt;/div&gt;&lt;div class='pre-action-link'&gt;&lt;span id='copycode97156' class='copy-code' data-index='97156' style='visibility:hidden'&gt;&lt;svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' viewBox='0 0 460 460' style='width: 16px;height:16px;' xml:space='preserve'&gt;&lt;g&gt;&lt;path d='M425.934,0H171.662c-18.122,0-32.864,14.743-32.864,32.864v77.134h30V32.864c0-1.579,1.285-2.864,2.864-2.864h254.272     c1.579,0,2.864,1.285,2.864,2.864v254.272c0,1.58-1.285,2.865-2.864,2.865h-74.729v30h74.729 c18.121,0,32.864-14.743,32.864-32.865V32.864C458.797,14.743,444.055,0,425.934,0z'&gt;&lt;/path&gt;&lt;path d='M288.339,139.998H34.068c-18.122,0-32.865,14.743-32.865,32.865v254.272C1.204,445.257,15.946,460,34.068,460h254.272 c18.122,0,32.865-14.743,32.865-32.864V172.863C321.206,154.741,306.461,139.998,288.339,139.998z M288.341,430H34.068    c-1.58,0-2.865-1.285-2.865-2.864V172.863c0-1.58,1.285-2.865,2.865-2.865h254.272c1.58,0,2.865,1.285,2.865,2.865v254.273h0.001 C291.206,428.715,289.92,430,288.341,430z'&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;
&lt;pre id='pre97156' style='margin-top:0;' data-allowShrink='True' data-collapse='False'&gt;
NSPrintOperation* printOperation = [NSPrintOperation printOperationWithView:my_print_view printInfo:printInfo];
        
        [[printOperation printInfo] setPaperSize:printInfo.paperSize];
        
        [[printOperation printInfo] setOrientation:NSPaperOrientationLandscape];
        
        
        [printOperation setCanSpawnSeparateThread:YES];
        [printOperation setShowsPrintPanel:NO];
               
        [printOperation runOperationModalForWindow:window &lt;span class="code-keyword"&gt;delegate&lt;/span&gt;:window didRunSelector:nil contextInfo:nil]&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
thanks in advance.</description>
      <author>Le@rner</author>
      <link>https://www.codeproject.com/Messages/5482728/NSPrintOperation-not-print-properly-Landscape-prin</link>
      <pubDate>Wed, 31 Jan 2018 07:13:00 GMT</pubDate>
      <guid>3_5482728</guid>
      <subject>Objective-C and Swift</subject>
    </item>
    <item>
      <title>my application crashed with this message NSInternalInconsistencyException', reason: 'Printing failed because PMSessionEndDocumentNoDialog() returned -30871.'</title>
      <description>hi all&lt;br /&gt;
&lt;br /&gt;
on printing action application get crashed with NSInternalInconsistencyException', reason: 'Printing failed because PMSessionEndDocumentNoDialog() returned -30871.' message.&lt;br /&gt;
&lt;br /&gt;
please help me for this.&lt;br /&gt;
&lt;br /&gt;
crash log is&lt;br /&gt;
&lt;br /&gt;
&lt;div class='pre-lang' id='premain2963'&gt;&lt;div&gt;&lt;/div&gt;&lt;div class='pre-action-link'&gt;&lt;span id='copycode2963' class='copy-code' data-index='2963' style='visibility:hidden'&gt;&lt;svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" viewBox="0 0 460 460" style="width: 16px;height:16px;" xml:space="preserve"&gt;
&lt;g&gt;
&lt;path d="M425.934,0H171.662c-18.122,0-32.864,14.743-32.864,32.864v77.134h30V32.864c0-1.579,1.285-2.864,2.864-2.864h254.272
    c1.579,0,2.864,1.285,2.864,2.864v254.272c0,1.58-1.285,2.865-2.864,2.865h-74.729v30h74.729
    c18.121,0,32.864-14.743,32.864-32.865V32.864C458.797,14.743,444.055,0,425.934,0z"&gt;&lt;/path&gt;
&lt;path d="M288.339,139.998H34.068c-18.122,0-32.865,14.743-32.865,32.865v254.272C1.204,445.257,15.946,460,34.068,460h254.272
    c18.122,0,32.865-14.743,32.865-32.864V172.863C321.206,154.741,306.461,139.998,288.339,139.998z M288.341,430H34.068
    c-1.58,0-2.865-1.285-2.865-2.864V172.863c0-1.58,1.285-2.865,2.865-2.865h254.272c1.58,0,2.865,1.285,2.865,2.865v254.273h0.001
    C291.206,428.715,289.92,430,288.341,430z"&gt;&lt;/path&gt;	
&lt;/g&gt;
&lt;/svg&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;
&lt;pre id='pre2963' style='margin-top:0;' data-allowShrink='True' data-collapse='False'&gt;
Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: &lt;span class="code-digit"&gt;0x0000000000000000&lt;/span&gt;, &lt;span class="code-digit"&gt;0x0000000000000000&lt;/span&gt;
Crashed Thread:  &lt;span class="code-digit"&gt;4&lt;/span&gt;

Application Specific Information:
abort() called
*** Terminating app due to uncaught exception &lt;span class="code-string"&gt;&amp;#39;&lt;/span&gt;&lt;span class="code-string"&gt;NSInternalInconsistencyException&amp;#39;&lt;/span&gt;, reason: &lt;span class="code-string"&gt;&amp;#39;&lt;/span&gt;&lt;span class="code-string"&gt;Printing failed because PMSessionEndDocumentNoDialog() returned -30871.&amp;#39;&lt;/span&gt;
*** Call stack at first &lt;span class="code-keyword"&gt;throw&lt;/span&gt;:
(
	&lt;span class="code-digit"&gt;0&lt;/span&gt;   CoreFoundation                      &lt;span class="code-digit"&gt;0x00007fff83ab3784&lt;/span&gt; __exceptionPreprocess + &lt;span class="code-digit"&gt;180&lt;/span&gt;
	&lt;span class="code-digit"&gt;1&lt;/span&gt;   libobjc.A.dylib                     &lt;span class="code-digit"&gt;0x00007fff89814f03&lt;/span&gt; objc_exception_throw + &lt;span class="code-digit"&gt;45&lt;/span&gt;
	&lt;span class="code-digit"&gt;2&lt;/span&gt;   CoreFoundation                      &lt;span class="code-digit"&gt;0x00007fff83ab35a7&lt;/span&gt; +[NSException raise:format:arguments:] + &lt;span class="code-digit"&gt;103&lt;/span&gt;
	&lt;span class="code-digit"&gt;3&lt;/span&gt;   CoreFoundation                      &lt;span class="code-digit"&gt;0x00007fff83ab3534&lt;/span&gt; +[NSException raise:format:] + &lt;span class="code-digit"&gt;148&lt;/span&gt;
	&lt;span class="code-digit"&gt;4&lt;/span&gt;   AppKit                              &lt;span class="code-digit"&gt;0x00007fff879c386e&lt;/span&gt; -[NSPrintSpoolingGraphicsContext dealloc] + &lt;span class="code-digit"&gt;37&lt;/span&gt;
	&lt;span class="code-digit"&gt;5&lt;/span&gt;   CoreFoundation                      &lt;span class="code-digit"&gt;0x00007fff83a2ff93&lt;/span&gt; __CFArrayReleaseValues + &lt;span class="code-digit"&gt;435&lt;/span&gt;
	&lt;span class="code-digit"&gt;6&lt;/span&gt;   CoreFoundation                      &lt;span class="code-digit"&gt;0x00007fff83a0da73&lt;/span&gt; _CFRelease + &lt;span class="code-digit"&gt;179&lt;/span&gt;
	&lt;span class="code-digit"&gt;7&lt;/span&gt;   AppKit                              &lt;span class="code-digit"&gt;0x00007fff8746e53d&lt;/span&gt; __NSAppKitFinalizeThreadData + &lt;span class="code-digit"&gt;260&lt;/span&gt;
	&lt;span class="code-digit"&gt;8&lt;/span&gt;   libSystem.B.dylib                   &lt;span class="code-digit"&gt;0x00007fff8098f751&lt;/span&gt; _pthread_tsd_cleanup + &lt;span class="code-digit"&gt;187&lt;/span&gt;
	&lt;span class="code-digit"&gt;9&lt;/span&gt;   libSystem.B.dylib                   &lt;span class="code-digit"&gt;0x00007fff8098f39c&lt;/span&gt; _pthread_exit + &lt;span class="code-digit"&gt;147&lt;/span&gt;
	&lt;span class="code-digit"&gt;10&lt;/span&gt;  Foundation                          &lt;span class="code-digit"&gt;0x00007fff84f9718f&lt;/span&gt; __NSFinalizeThreadData + &lt;span class="code-digit"&gt;0&lt;/span&gt;
	&lt;span class="code-digit"&gt;11&lt;/span&gt;  Foundation                          &lt;span class="code-digit"&gt;0x00007fff84f97127&lt;/span&gt; __NSThread__main__ + &lt;span class="code-digit"&gt;1448&lt;/span&gt;
	&lt;span class="code-digit"&gt;12&lt;/span&gt;  libSystem.B.dylib                   &lt;span class="code-digit"&gt;0x00007fff8098efd6&lt;/span&gt; _pthread_start + &lt;span class="code-digit"&gt;331&lt;/span&gt;
	&lt;span class="code-digit"&gt;13&lt;/span&gt;  libSystem.B.dylib                   &lt;span class="code-digit"&gt;0x00007fff8098ee89&lt;/span&gt; thread_start + &lt;span class="code-digit"&gt;13&lt;/span&gt;
)

Thread &lt;span class="code-digit"&gt;4&lt;/span&gt; Crashed:
&lt;span class="code-digit"&gt;0&lt;/span&gt;   libSystem.B.dylib             	&lt;span class="code-digit"&gt;0x00007fff809c89ce&lt;/span&gt; __semwait_signal_nocancel + &lt;span class="code-digit"&gt;10&lt;/span&gt;
&lt;span class="code-digit"&gt;1&lt;/span&gt;   libSystem.B.dylib             	&lt;span class="code-digit"&gt;0x00007fff809c88d0&lt;/span&gt; nanosleep$NOCANCEL + &lt;span class="code-digit"&gt;129&lt;/span&gt;
&lt;span class="code-digit"&gt;2&lt;/span&gt;   libSystem.B.dylib             	&lt;span class="code-digit"&gt;0x00007fff80a253ce&lt;/span&gt; usleep$NOCANCEL + &lt;span class="code-digit"&gt;57&lt;/span&gt;
&lt;span class="code-digit"&gt;3&lt;/span&gt;   libSystem.B.dylib             	&lt;span class="code-digit"&gt;0x00007fff80a44a00&lt;/span&gt; abort + &lt;span class="code-digit"&gt;93&lt;/span&gt;
&lt;span class="code-digit"&gt;4&lt;/span&gt;   libstdc++.&lt;span class="code-digit"&gt;6&lt;/span&gt;.dylib             	&lt;span class="code-digit"&gt;0x00007fff8a10e5d2&lt;/span&gt; __tcf_0 + &lt;span class="code-digit"&gt;0&lt;/span&gt;
&lt;span class="code-digit"&gt;5&lt;/span&gt;   libobjc.A.dylib               	&lt;span class="code-digit"&gt;0x00007fff89818b39&lt;/span&gt; _objc_terminate + &lt;span class="code-digit"&gt;100&lt;/span&gt;
&lt;span class="code-digit"&gt;6&lt;/span&gt;   libstdc++.&lt;span class="code-digit"&gt;6&lt;/span&gt;.dylib             	&lt;span class="code-digit"&gt;0x00007fff8a10cae1&lt;/span&gt; __cxxabiv1::__terminate(&lt;span class="code-keyword"&gt;void&lt;/span&gt; (*)()) + &lt;span class="code-digit"&gt;11&lt;/span&gt;
&lt;span class="code-digit"&gt;7&lt;/span&gt;   libstdc++.&lt;span class="code-digit"&gt;6&lt;/span&gt;.dylib             	&lt;span class="code-digit"&gt;0x00007fff8a10cb16&lt;/span&gt; __cxxabiv1::__unexpected(&lt;span class="code-keyword"&gt;void&lt;/span&gt; (*)()) + &lt;span class="code-digit"&gt;0&lt;/span&gt;
&lt;span class="code-digit"&gt;8&lt;/span&gt;   libstdc++.&lt;span class="code-digit"&gt;6&lt;/span&gt;.dylib             	&lt;span class="code-digit"&gt;0x00007fff8a10cbfc&lt;/span&gt; __gxx_exception_cleanup(_Unwind_Reason_Code, _Unwind_Exception*) + &lt;span class="code-digit"&gt;0&lt;/span&gt;
&lt;span class="code-digit"&gt;9&lt;/span&gt;   libobjc.A.dylib               	&lt;span class="code-digit"&gt;0x00007fff89814fa2&lt;/span&gt; object_getIvar + &lt;span class="code-digit"&gt;0&lt;/span&gt;
&lt;span class="code-digit"&gt;10&lt;/span&gt;  com.apple.CoreFoundation      	&lt;span class="code-digit"&gt;0x00007fff83ab35a7&lt;/span&gt; +[NSException raise:format:arguments:] + &lt;span class="code-digit"&gt;103&lt;/span&gt;
&lt;span class="code-digit"&gt;11&lt;/span&gt;  com.apple.CoreFoundation      	&lt;span class="code-digit"&gt;0x00007fff83ab3534&lt;/span&gt; +[NSException raise:format:] + &lt;span class="code-digit"&gt;148&lt;/span&gt;
&lt;span class="code-digit"&gt;12&lt;/span&gt;  com.apple.AppKit              	&lt;span class="code-digit"&gt;0x00007fff879c386e&lt;/span&gt; -[NSPrintSpoolingGraphicsContext dealloc] + &lt;span class="code-digit"&gt;37&lt;/span&gt;
&lt;span class="code-digit"&gt;13&lt;/span&gt;  com.apple.CoreFoundation      	&lt;span class="code-digit"&gt;0x00007fff83a2ff93&lt;/span&gt; __CFArrayReleaseValues + &lt;span class="code-digit"&gt;435&lt;/span&gt;
&lt;span class="code-digit"&gt;14&lt;/span&gt;  com.apple.CoreFoundation      	&lt;span class="code-digit"&gt;0x00007fff83a0da73&lt;/span&gt; _CFRelease + &lt;span class="code-digit"&gt;179&lt;/span&gt;
&lt;span class="code-digit"&gt;15&lt;/span&gt;  com.apple.AppKit              	&lt;span class="code-digit"&gt;0x00007fff8746e53d&lt;/span&gt; __NSAppKitFinalizeThreadData + &lt;span class="code-digit"&gt;260&lt;/span&gt;
&lt;span class="code-digit"&gt;16&lt;/span&gt;  libSystem.B.dylib             	&lt;span class="code-digit"&gt;0x00007fff8098f751&lt;/span&gt; _pthread_tsd_cleanup + &lt;span class="code-digit"&gt;187&lt;/span&gt;
&lt;span class="code-digit"&gt;17&lt;/span&gt;  libSystem.B.dylib             	&lt;span class="code-digit"&gt;0x00007fff8098f39c&lt;/span&gt; _pthread_exit + &lt;span class="code-digit"&gt;147&lt;/span&gt;
&lt;span class="code-digit"&gt;18&lt;/span&gt;  com.apple.Foundation          	&lt;span class="code-digit"&gt;0x00007fff84f9718f&lt;/span&gt; __NSFinalizeThreadData + &lt;span class="code-digit"&gt;0&lt;/span&gt;
&lt;span class="code-digit"&gt;19&lt;/span&gt;  com.apple.Foundation          	&lt;span class="code-digit"&gt;0x00007fff84f97127&lt;/span&gt; __NSThread__main__ + &lt;span class="code-digit"&gt;1448&lt;/span&gt;
&lt;span class="code-digit"&gt;20&lt;/span&gt;  libSystem.B.dylib             	&lt;span class="code-digit"&gt;0x00007fff8098efd6&lt;/span&gt; _pthread_start + &lt;span class="code-digit"&gt;331&lt;/span&gt;
&lt;span class="code-digit"&gt;21&lt;/span&gt;  libSystem.B.dylib             	&lt;span class="code-digit"&gt;0x00007fff8098ee89&lt;/span&gt; thread_start + &lt;span class="code-digit"&gt;13&lt;/span&gt;&lt;/pre&gt;</description>
      <author>Le@rner</author>
      <link>https://www.codeproject.com/Messages/5477046/my-application-crashed-with-this-message-NSInterna</link>
      <pubDate>Wed, 17 Jan 2018 11:50:00 GMT</pubDate>
      <guid>3_5477046</guid>
      <subject>Objective-C and Swift</subject>
    </item>
    <item>
      <title>NSImage become blurry after transfromation</title>
      <description>i rotate an image using this&lt;br /&gt;
&lt;br /&gt;
&lt;div class='pre-lang' id='premain839341'&gt;&lt;div&gt;&lt;/div&gt;&lt;div class='pre-action-link'&gt;&lt;span id='copycode839341' class='copy-code' data-index='839341' style='visibility:hidden'&gt;&lt;svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" viewBox="0 0 460 460" style="width: 16px;height:16px;" xml:space="preserve"&gt;
&lt;g&gt;
&lt;path d="M425.934,0H171.662c-18.122,0-32.864,14.743-32.864,32.864v77.134h30V32.864c0-1.579,1.285-2.864,2.864-2.864h254.272
    c1.579,0,2.864,1.285,2.864,2.864v254.272c0,1.58-1.285,2.865-2.864,2.865h-74.729v30h74.729
    c18.121,0,32.864-14.743,32.864-32.865V32.864C458.797,14.743,444.055,0,425.934,0z"&gt;&lt;/path&gt;
&lt;path d="M288.339,139.998H34.068c-18.122,0-32.865,14.743-32.865,32.865v254.272C1.204,445.257,15.946,460,34.068,460h254.272
    c18.122,0,32.865-14.743,32.865-32.864V172.863C321.206,154.741,306.461,139.998,288.339,139.998z M288.341,430H34.068
    c-1.58,0-2.865-1.285-2.865-2.864V172.863c0-1.58,1.285-2.865,2.865-2.865h254.272c1.58,0,2.865,1.285,2.865,2.865v254.273h0.001
    C291.206,428.715,289.92,430,288.341,430z"&gt;&lt;/path&gt;	
&lt;/g&gt;
&lt;/svg&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;
&lt;pre id='pre839341' style='margin-top:0;' data-allowShrink='True' data-collapse='False'&gt;
- (NSImage*)imageRotatedByDegrees_Angle:(CGFloat)degrees
{
    [[NSGraphicsContext
      currentContext] setImageInterpolation: NSImageInterpolationNone];
    
    &lt;span class="code-comment"&gt;//&lt;/span&gt;&lt;span class="code-comment"&gt; Calculate the bounds for the rotated image&lt;/span&gt;
    &lt;span class="code-comment"&gt;//&lt;/span&gt;&lt;span class="code-comment"&gt; We do this by affine-transforming the bounds rectangle&lt;/span&gt;
    NSRect imageBounds = {NSZeroPoint, [self size]};
    NSBezierPath* boundsPath = [NSBezierPath bezierPathWithRect:imageBounds];
    NSAffineTransform* transform = [NSAffineTransform transform];
    [transform rotateByDegrees:-1.&lt;span class="code-digit"&gt;0&lt;/span&gt; * degrees];&lt;span class="code-comment"&gt;//&lt;/span&gt;&lt;span class="code-comment"&gt; we want clockwise angles&lt;/span&gt;
    [boundsPath transformUsingAffineTransform:transform];
    NSRect rotatedBounds = {NSZeroPoint, [boundsPath bounds].size};
    
    &lt;span class="code-comment"&gt;//&lt;/span&gt;&lt;span class="code-comment"&gt; Center the image within the rotated bounds&lt;/span&gt;
    imageBounds.origin.x = NSMidX(rotatedBounds) - (NSWidth(imageBounds) / &lt;span class="code-digit"&gt;2&lt;/span&gt;);
    imageBounds.origin.y = NSMidY(rotatedBounds) - (NSHeight(imageBounds) / &lt;span class="code-digit"&gt;2&lt;/span&gt;);
    
    NSImage* rotatedImage = [[NSImage alloc] initWithSize:rotatedBounds.size];
    &lt;span class="code-comment"&gt;//&lt;/span&gt;&lt;span class="code-comment"&gt;NSSize new_size=[self size];&lt;/span&gt;
    

            NSAffineTransform* transform1 = [NSAffineTransform transform];
       
            [transform1 translateXBy:+(NSWidth(rotatedBounds) / &lt;span class="code-digit"&gt;2&lt;/span&gt;)
                                yBy:+(NSHeight(rotatedBounds) / &lt;span class="code-digit"&gt;2&lt;/span&gt;)];
            &lt;span class="code-comment"&gt;//&lt;/span&gt;&lt;span class="code-comment"&gt; Do the rotation&lt;/span&gt;
            [transform1 rotateByDegrees:-1.&lt;span class="code-digit"&gt;0&lt;/span&gt; * degrees];
            

            [transform1 translateXBy:-(NSWidth(rotatedBounds) / &lt;span class="code-digit"&gt;2&lt;/span&gt;)
                                yBy:-(NSHeight(rotatedBounds) / &lt;span class="code-digit"&gt;2&lt;/span&gt;)];
        
        

         [NSGraphicsContext saveGraphicsState];
     
        
        [[NSGraphicsContext currentContext]
         setImageInterpolation:NSImageInterpolationHigh];
        
        
        [rotatedImage lockFocus];
        
        
            [transform1 concat];
        
            [self drawInRect: imageBounds fromRect:NSZeroRect operation:NSCompositeCopy fraction:&lt;span class="code-digit"&gt;1&lt;/span&gt;.0];
        
        
         [rotatedImage unlockFocus];
        
        [NSGraphicsContext restoreGraphicsState];
        
            
    &lt;span class="code-keyword"&gt;return&lt;/span&gt; rotatedImage;
    
}&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
image is rotated but the rotated image is so blurry.&lt;br /&gt;
&lt;br /&gt;
Does anyone know how to solve it?&lt;br /&gt;
&lt;br /&gt;
please help me for this.</description>
      <author>Le@rner</author>
      <link>https://www.codeproject.com/Messages/5413672/NSImage-become-blurry-after-transfromation</link>
      <pubDate>Sat, 08 Jul 2017 06:27:00 GMT</pubDate>
      <guid>3_5413672</guid>
      <subject>Objective-C and Swift</subject>
    </item>
    <item>
      <title>NSMutableArray copy problem</title>
      <description>Hi all,&lt;br /&gt;
&lt;br /&gt;
i have two different NSMutableArray one is source array and other is backup array,&lt;br /&gt;
&lt;br /&gt;
on some action copy the source array value to backup array.&lt;br /&gt;
&lt;br /&gt;
than continue the changes in source array objects.&lt;br /&gt;
&lt;br /&gt;
but here the backup array objects value automatically changed as i changed in source array.&lt;br /&gt;
&lt;br /&gt;
please help me i don't want to change backup array object even i change in source array object.&lt;br /&gt;
&lt;br /&gt;
thanks in advance.</description>
      <author>Le@rner</author>
      <link>https://www.codeproject.com/Messages/5410222/NSMutableArray-copy-problem</link>
      <pubDate>Tue, 27 Jun 2017 07:19:00 GMT</pubDate>
      <guid>3_5410222</guid>
      <subject>Objective-C and Swift</subject>
    </item>
    <item>
      <title>How to access webcam and capture image?</title>
      <description>hi all,&lt;br /&gt;
&lt;br /&gt;
please guide me to how to access connected webcam in my machine and capture the image from camera.&lt;br /&gt;
&lt;br /&gt;
thanks in advance.</description>
      <author>Le@rner</author>
      <link>https://www.codeproject.com/Messages/5403965/How-to-access-webcam-and-capture-image</link>
      <pubDate>Wed, 07 Jun 2017 09:36:00 GMT</pubDate>
      <guid>3_5403965</guid>
      <subject>Objective-C and Swift</subject>
    </item>
    <item>
      <title>how add control manually in NSBox?</title>
      <description>Hi all,&lt;br /&gt;
&lt;br /&gt;
i want to add textfield and checkbox in a box.&lt;br /&gt;
&lt;br /&gt;
i use size to fit option for fox after adding control, its resize the box but change the location of box upward .&lt;br /&gt;
&lt;br /&gt;
i don't want to change the location of box,&lt;br /&gt;
&lt;br /&gt;
i want when i add control box increase height at downward.&lt;br /&gt;
&lt;br /&gt;
please help me for this.</description>
      <author>Le@rner</author>
      <link>https://www.codeproject.com/Messages/5396244/how-add-control-manually-in-NSBox</link>
      <pubDate>Tue, 16 May 2017 06:36:00 GMT</pubDate>
      <guid>3_5396244</guid>
      <subject>Objective-C and Swift</subject>
    </item>
    <item>
      <title>Can i use scanline Flood Fill algorithm to apply gradient in UIImage?How to use?</title>
      <description>Need help</description>
      <author>Member 13195612</author>
      <link>https://www.codeproject.com/Messages/5395312/Can-i-use-scanline-Flood-Fill-algorithm-to-apply-g</link>
      <pubDate>Fri, 12 May 2017 07:09:00 GMT</pubDate>
      <guid>3_5395312</guid>
      <subject>Objective-C and Swift</subject>
    </item>
    <item>
      <title>Crashing in printing</title>
      <description>hi all,&lt;br /&gt;
&lt;br /&gt;
when i trying to print or preview multiple pages from my application&lt;br /&gt;
&lt;br /&gt;
i got this&lt;br /&gt;
&lt;br /&gt;
 exception&lt;br /&gt;
&lt;br /&gt;
Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Printing failed because PMSessionEndDocumentNoDialog() returned -30871.'&lt;br /&gt;
&lt;br /&gt;
i really don't understand&lt;br /&gt;
&lt;br /&gt;
what can i do here.&lt;br /&gt;
&lt;br /&gt;
in printing i pass an image creating from rendering of my customise view.&lt;br /&gt;
&lt;br /&gt;
please help me for this.&lt;br /&gt;
&lt;br /&gt;
if there is a one page its working fine&lt;br /&gt;
&lt;br /&gt;
but when i create different image at time of printing its crash&lt;br /&gt;
&lt;br /&gt;
&lt;div class='pre-lang' id='premain92876'&gt;&lt;div&gt; &lt;/div&gt;&lt;div class='pre-action-link'&gt;&lt;span id='copycode92876' class='copy-code' data-index='92876' style='visibility:hidden'&gt;&lt;svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" viewBox="0 0 460 460" style="width: 16px;height:16px;" xml:space="preserve"&gt;
&lt;g&gt;
&lt;path d="M425.934,0H171.662c-18.122,0-32.864,14.743-32.864,32.864v77.134h30V32.864c0-1.579,1.285-2.864,2.864-2.864h254.272
    c1.579,0,2.864,1.285,2.864,2.864v254.272c0,1.58-1.285,2.865-2.864,2.865h-74.729v30h74.729
    c18.121,0,32.864-14.743,32.864-32.865V32.864C458.797,14.743,444.055,0,425.934,0z"&gt;&lt;/path&gt;
&lt;path d="M288.339,139.998H34.068c-18.122,0-32.865,14.743-32.865,32.865v254.272C1.204,445.257,15.946,460,34.068,460h254.272
    c18.122,0,32.865-14.743,32.865-32.864V172.863C321.206,154.741,306.461,139.998,288.339,139.998z M288.341,430H34.068
    c-1.58,0-2.865-1.285-2.865-2.864V172.863c0-1.58,1.285-2.865,2.865-2.865h254.272c1.58,0,2.865,1.285,2.865,2.865v254.273h0.001
    C291.206,428.715,289.92,430,288.341,430z"&gt;&lt;/path&gt;	
&lt;/g&gt;
&lt;/svg&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;
&lt;pre id='pre92876' style='margin-top:0;' data-language='text' data-allowShrink='True' data-collapse='False'&gt;
crash log:

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Crashed Thread:  7

Application Specific Information:
abort() called
*** Terminating app due to uncaught exception &amp;#39;NSInternalInconsistencyException&amp;#39;, reason: &amp;#39;Printing failed because PMSessionEndDocumentNoDialog() returned -30871.&amp;#39;

Thread 7 Crashed:
0   libSystem.B.dylib             	0x00007fff837d59ce __semwait_signal_nocancel + 10
1   libSystem.B.dylib             	0x00007fff837d58d0 nanosleep$NOCANCEL + 129
2   libSystem.B.dylib             	0x00007fff838323ce usleep$NOCANCEL + 57
3   libSystem.B.dylib             	0x00007fff83851a00 abort + 93
4   libstdc++.6.dylib             	0x00007fff8791f5d2 __tcf_0 + 0
5   libobjc.A.dylib               	0x00007fff8116cb39 _objc_terminate + 100
6   libstdc++.6.dylib             	0x00007fff8791dae1 __cxxabiv1::__terminate(void (*)()) + 11
7   libstdc++.6.dylib             	0x00007fff8791db16 __cxxabiv1::__unexpected(void (*)()) + 0
8   libstdc++.6.dylib             	0x00007fff8791dbfc __gxx_exception_cleanup(_Unwind_Reason_Code, _Unwind_Exception*) + 0
9   libobjc.A.dylib               	0x00007fff81168fa2 object_getIvar + 0
10  com.apple.CoreFoundation      	0x00007fff800b45d7 +[NSException raise:format:arguments:] + 103
11  com.apple.CoreFoundation      	0x00007fff800b4564 +[NSException raise:format:] + 148
12  com.apple.AppKit              	0x00007fff8556086e -[NSPrintSpoolingGraphicsContext dealloc] + 37
13  com.apple.CoreFoundation      	0x00007fff80030fc3 __CFArrayReleaseValues + 435
14  com.apple.CoreFoundation      	0x00007fff8000eaa3 _CFRelease + 179
15  com.apple.AppKit              	0x00007fff8500b53d __NSAppKitFinalizeThreadData + 260
16  libSystem.B.dylib             	0x00007fff8379c751 _pthread_tsd_cleanup + 187
17  libSystem.B.dylib             	0x00007fff8379c39c _pthread_exit + 147
18  com.apple.Foundation          	0x00007fff83bd227f __NSFinalizeThreadData + 0
19  com.apple.Foundation          	0x00007fff83bd2217 __NSThread__main__ + 1448
20  libSystem.B.dylib             	0x00007fff8379bfd6 _pthread_start + 331
21  libSystem.B.dylib             	0x00007fff8379be89 thread_start + 13&lt;/pre&gt;&lt;br /&gt;
..&lt;br /&gt;
&lt;br /&gt;
please help</description>
      <author>Le@rner</author>
      <link>https://www.codeproject.com/Messages/5381476/Crashing-in-printing</link>
      <pubDate>Wed, 05 Apr 2017 11:22:00 GMT</pubDate>
      <guid>3_5381476</guid>
      <subject>Objective-C and Swift</subject>
    </item>
    <item>
      <title>How to get the sensor data</title>
      <description>I want to get the magnetic induction intensity, light intensity, the object distance phone</description>
      <author>Member 13027430</author>
      <link>https://www.codeproject.com/Messages/5366862/How-to-get-the-sensor-data</link>
      <pubDate>Tue, 28 Feb 2017 01:56:00 GMT</pubDate>
      <guid>3_5366862</guid>
      <subject>Objective-C and Swift</subject>
    </item>
    <item>
      <title>image from custom NSView , image quality is very bad.</title>
      <description>hi all,&lt;br /&gt;
&lt;br /&gt;
i have an image with god quality even when i view it in preview and zoom its gud and not pixelate.&lt;br /&gt;
&lt;br /&gt;
i have create an custom view class derived from NSView, to draw text above and below the image. and resize the image&lt;br /&gt;
&lt;br /&gt;
inside the custom view class in -drawRect method, i draw the text and image.&lt;br /&gt;
&lt;br /&gt;
with help of NSMutableAttributedString drawinRect and NSImage drawInRect methods.&lt;br /&gt;
&lt;br /&gt;
than get final image like this.&lt;br /&gt;
&lt;br /&gt;
&lt;div class='pre-lang' id='premain118903'&gt;&lt;div&gt;&lt;/div&gt;&lt;div class='pre-action-link'&gt;&lt;span id='copycode118903' class='copy-code' data-index='118903' style='visibility:hidden'&gt;&lt;svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" viewBox="0 0 460 460" style="width: 16px;height:16px;" xml:space="preserve"&gt;
&lt;g&gt;
&lt;path d="M425.934,0H171.662c-18.122,0-32.864,14.743-32.864,32.864v77.134h30V32.864c0-1.579,1.285-2.864,2.864-2.864h254.272
    c1.579,0,2.864,1.285,2.864,2.864v254.272c0,1.58-1.285,2.865-2.864,2.865h-74.729v30h74.729
    c18.121,0,32.864-14.743,32.864-32.865V32.864C458.797,14.743,444.055,0,425.934,0z"&gt;&lt;/path&gt;
&lt;path d="M288.339,139.998H34.068c-18.122,0-32.865,14.743-32.865,32.865v254.272C1.204,445.257,15.946,460,34.068,460h254.272
    c18.122,0,32.865-14.743,32.865-32.864V172.863C321.206,154.741,306.461,139.998,288.339,139.998z M288.341,430H34.068
    c-1.58,0-2.865-1.285-2.865-2.864V172.863c0-1.58,1.285-2.865,2.865-2.865h254.272c1.58,0,2.865,1.285,2.865,2.865v254.273h0.001
    C291.206,428.715,289.92,430,288.341,430z"&gt;&lt;/path&gt;	
&lt;/g&gt;
&lt;/svg&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;
&lt;pre id='pre118903' style='margin-top:0;' data-allowShrink='True' data-collapse='False'&gt;
&amp;lt;pre lang=&lt;span class="code-string"&gt;"&lt;/span&gt;&lt;span class="code-string"&gt;objc"&lt;/span&gt;&amp;gt;
OffscreenView 	*view = [[OffscreenView alloc] initWithImage:myimage];
    
    
    NSRect			rect = [view bounds];
    NSData 			*data = [view dataWithPDFInsideRect:rect];
NSImage			*image_bar = [[NSImage alloc] initWithData:data];&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
buts this image quality is very badges compare to original image i pass to view.&lt;br /&gt;
&lt;br /&gt;
please help me to get god quality image here.</description>
      <author>Le@rner</author>
      <link>https://www.codeproject.com/Messages/5349690/image-from-custom-NSView-image-quality-is-very-bad</link>
      <pubDate>Tue, 17 Jan 2017 05:50:00 GMT</pubDate>
      <guid>3_5349690</guid>
      <subject>Objective-C and Swift</subject>
    </item>
    <item>
      <title>Simultaneous Microphone Access on iPhone</title>
      <description>Dear Members,&lt;br /&gt;
&lt;br /&gt;
Is it possible for two apps to simultaneously access microphone under iPhone. We want to develop a Skype recorder for iPhone but need to determine the possibility.&lt;br /&gt;
&lt;br /&gt;
In Android we were getting problem in shared access of microphone but on Windows 7 desktop shared mode for microphone worked.&lt;br /&gt;
&lt;br /&gt;
Thanks,</description>
      <author>Member 12377338</author>
      <link>https://www.codeproject.com/Messages/5212051/Simultaneous-Microphone-Access-on-iPhone</link>
      <pubDate>Tue, 08 Mar 2016 11:35:00 GMT</pubDate>
      <guid>3_5212051</guid>
      <subject>Objective-C and Swift</subject>
    </item>
    <item>
      <title>Objective C first program from the book, warning messages</title>
      <description>Hello!&lt;br /&gt;
&lt;br /&gt;
I am new to this forum, and new to programming, although I have already reached chapter 18&lt;br /&gt;
of Programming in C textbook. &lt;br /&gt;
&lt;br /&gt;
Please, take a look at the program I typed in from the book, and warning messages I receive.&lt;br /&gt;
I would be grateful for explanation on what I am doing wrong. I work on Mac OS 10.7.5, Xcode 4.6.3,&lt;br /&gt;
Terminal 2.2.3.&lt;br /&gt;
1) I created a file with the command:&lt;br /&gt;
touch prog18-2.m// Program ot work with fractions - Objective-C version&lt;br /&gt;
&lt;br /&gt;
2) Program&lt;br /&gt;
#import &amp;lt;stdio.h&amp;gt;&lt;br /&gt;
#import &amp;lt;objc object.h=""&amp;gt;&lt;br /&gt;
&lt;br /&gt;
//------ &lt;a href="http://www.codeproject.com/Members/InterFACE"&gt;@interface&lt;/a&gt; section ---------&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.codeproject.com/Members/InterFACE"&gt;@interface&lt;/a&gt; Fraction: Object&lt;br /&gt;
{&lt;br /&gt;
    int numerator;&lt;br /&gt;
    int denominator;&lt;br /&gt;
}&lt;br /&gt;
-(void) set_numerator: (int) n;&lt;br /&gt;
-(void) set_denominator: (int) d;&lt;br /&gt;
-(void) print;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.codeproject.com/Members/End"&gt;@end&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
// ----- @implementation section -------&lt;br /&gt;
&lt;br /&gt;
@implementation Fraction;&lt;br /&gt;
&lt;br /&gt;
// getters&lt;br /&gt;
-(int) numerator&lt;br /&gt;
{&lt;br /&gt;
    return numerator;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
-(int) denominator&lt;br /&gt;
{&lt;br /&gt;
    return denominator;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
//setters&lt;br /&gt;
-(void) set_numerator: (int) num&lt;br /&gt;
{&lt;br /&gt;
    numerator = num;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
-(void) set_denominator: (int) denom&lt;br /&gt;
{&lt;br /&gt;
    denominator = denom;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
//other&lt;br /&gt;
-(void) print&lt;br /&gt;
{&lt;br /&gt;
    printf("The value of the fraction is %i/%i\n", numerator, denominator);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.codeproject.com/Members/End"&gt;@end&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
//-------- program section -----------&lt;br /&gt;
&lt;br /&gt;
int main(void)&lt;br /&gt;
{&lt;br /&gt;
    Fraction* my_fract;&lt;br /&gt;
    my_fract = [Fraction new];&lt;br /&gt;
   &lt;br /&gt;
    [my_fract set_numerator: 1];&lt;br /&gt;
    [my_fract set_denominator: 3];&lt;br /&gt;
   &lt;br /&gt;
    printf("The numerator is %i, and teh denominator is %i\n", [my_fract numerator], [my_fract denominator]);&lt;br /&gt;
    [my_fract print];&lt;br /&gt;
   &lt;br /&gt;
    [my_fract free]; //frees the memory that was used by Fraction object&lt;br /&gt;
   &lt;br /&gt;
    return 0;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
3) I compiled it with:&lt;br /&gt;
gcc -framework Foundation prog18-2.m -o prog18-2&lt;br /&gt;
&lt;br /&gt;
4) Terminal generated the following:&lt;br /&gt;
prog18-2.m: In function ‘main’:&lt;br /&gt;
prog18-2.m:58: warning: ‘Fraction’ may not respond to ‘+new’&lt;br /&gt;
prog18-2.m:58: warning: (Messages without a matching method signature&lt;br /&gt;
prog18-2.m:58: warning: will be assumed to return ‘id’ and accept&lt;br /&gt;
prog18-2.m:58: warning: ‘...’ as arguments.)&lt;br /&gt;
prog18-2.m:71: warning: ‘Fraction’ may not respond to ‘-free’&lt;br /&gt;
&lt;br /&gt;
Thank you!</description>
      <author>Alla__</author>
      <link>https://www.codeproject.com/Messages/5158034/Objective-C-first-program-from-the-book-warning-me</link>
      <pubDate>Tue, 10 Nov 2015 12:44:00 GMT</pubDate>
      <guid>3_5158034</guid>
      <subject>Objective-C and Swift</subject>
    </item>
    <item>
      <title>Linker command failed with exit code 1 (use -v to see invocation) in xcode 5.1.1</title>
      <description>Hi &lt;br /&gt;
&lt;br /&gt;
I am getting the below error, when i try to compile xcode project.&lt;br /&gt;
&lt;br /&gt;
duplicate symbol _squareOfDistanceBetweenPoints in:&lt;br /&gt;
&lt;br /&gt;
    /Users/Library/SDKs/ArcGIS/iOS/ArcGIS.framework/ArcGIS(AGSCPTUtilities.o)&lt;br /&gt;
&lt;br /&gt;
    /Users/project/map/libCorePlot-CocoaTouch.a(CPTUtilities.o)&lt;br /&gt;
&lt;br /&gt;
duplicate symbol _niceNum in:&lt;br /&gt;
&lt;br /&gt;
    /Users/Library/SDKs/ArcGIS/iOS/ArcGIS.framework/ArcGIS(AGSCPTAxis.o)&lt;br /&gt;
&lt;br /&gt;
    /Users/project/map/libCorePlot-CocoaTouch.a(CPTAxis.o)&lt;br /&gt;
&lt;br /&gt;
duplicate symbol _AddRoundedRectPath in:&lt;br /&gt;
&lt;br /&gt;
    /Users/Library/SDKs/ArcGIS/iOS/ArcGIS.framework/ArcGIS(AGSCPTPathExtensions.o)&lt;br /&gt;
&lt;br /&gt;
    /Users/project/map/libCorePlot-CocoaTouch.a(CPTPathExtensions.o)&lt;br /&gt;
&lt;br /&gt;
duplicate symbol _CreateRoundedRectPath in:&lt;br /&gt;
&lt;br /&gt;
    /Users/Library/SDKs/ArcGIS/iOS/ArcGIS.framework/ArcGIS(AGSCPTPathExtensions.o)&lt;br /&gt;
&lt;br /&gt;
    /Users/project/map/libCorePlot-CocoaTouch.a(CPTPathExtensions.o)&lt;br /&gt;
&lt;br /&gt;
duplicate symbol _dependentCoord in:&lt;br /&gt;
&lt;br /&gt;
    /Users/Library/SDKs/ArcGIS/iOS/ArcGIS.framework/ArcGIS(AGSCPTTradingRangePlot.o)&lt;br /&gt;
&lt;br /&gt;
    /Users/project/map/libCorePlot-CocoaTouch.a(CPTTradingRangePlot.o)&lt;br /&gt;
&lt;br /&gt;
duplicate symbol _independentCoord in:&lt;br /&gt;
&lt;br /&gt;
    /Users/Library/SDKs/ArcGIS/iOS/ArcGIS.framework/ArcGIS(AGSCPTTradingRangePlot.o)&lt;br /&gt;
&lt;br /&gt;
    /Users/project/map/libCorePlot-CocoaTouch.a(CPTTradingRangePlot.o)&lt;br /&gt;
&lt;br /&gt;
duplicate symbol _MyCGPathApplierFunc in:&lt;br /&gt;
&lt;br /&gt;
    /Users/Library/SDKs/ArcGIS/iOS/ArcGIS.framework/ArcGIS(NSCoderExtensions.o)&lt;br /&gt;
&lt;br /&gt;
    /Users/project/map/libCorePlot-CocoaTouch.a(NSCoderExtensions.o)&lt;br /&gt;
&lt;br /&gt;
ld: 7 duplicate symbols for architecture i386&lt;br /&gt;
&lt;br /&gt;
clang: error: linker command failed with exit code 1 (use -v to see invocation)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
thanks in advance</description>
      <author>Member 11983763</author>
      <link>https://www.codeproject.com/Messages/5127252/Linker-command-failed-with-exit-code-1-use-v-to-se</link>
      <pubDate>Mon, 14 Sep 2015 20:17:00 GMT</pubDate>
      <guid>3_5127252</guid>
      <subject>Objective-C and Swift</subject>
    </item>
  </channel>
</rss>