<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Cons Bulaquena on Medium]]></title>
        <description><![CDATA[Stories by Cons Bulaquena on Medium]]></description>
        <link>https://medium.com/@consbulaquena?source=rss-7ea46047efcb------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*stu0cI025_2IZPr1666DuA.png</url>
            <title>Stories by Cons Bulaquena on Medium</title>
            <link>https://medium.com/@consbulaquena?source=rss-7ea46047efcb------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 13 Jul 2026 09:36:46 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@consbulaquena/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com" rel="hub"/>
        <item>
            <title><![CDATA[Swift Navigation Bar Image Title]]></title>
            <link>https://medium.com/@consbulaquena/swift-navigation-bar-image-title-53e1c7e6e9c3?source=rss-7ea46047efcb------2</link>
            <guid isPermaLink="false">https://medium.com/p/53e1c7e6e9c3</guid>
            <category><![CDATA[swift]]></category>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[uiimage]]></category>
            <dc:creator><![CDATA[Cons Bulaquena]]></dc:creator>
            <pubDate>Thu, 02 Aug 2018 17:29:28 GMT</pubDate>
            <atom:updated>2018-08-02T17:30:50.368Z</atom:updated>
            <content:encoded><![CDATA[<p>iOS Tutorial in Using a Logo Image as Navigation Bar Title instead of a Plaintext.</p><p><strong>Swift 4, Xcode 9.2</strong></p><p>1.Assign value to navigation controller, UIImage. Adjust size by dividing frame and Image size.</p><pre>func addNavBarImage() {</pre><pre>        let navController = navigationController!</pre><pre>        let image = UIImage(named: &quot;logo-signIn6.png&quot;) //Your logo url here<br>        let imageView = UIImageView(image: image)</pre><pre>        let bannerWidth = navController.navigationBar.frame.size.width<br>        let bannerHeight = navController.navigationBar.frame.size.height</pre><pre>        let bannerX = bannerWidth / 2 - (image?.size.width)! / 2<br>        let bannerY = bannerHeight / 2 - (image?.size.height)! / 2</pre><pre>        imageView.frame = CGRect(x: bannerX, y: bannerY, width: bannerWidth, height: bannerHeight)<br>        imageView.contentMode = .scaleAspectFit</pre><pre>        navigationItem.titleView = imageView<br>    }</pre><ol><li>Add the function addNavBarImage()right under viewDidLoad()</li></ol><p>Note on the image asset. Before uploading, I adjusted the logo with extra margins rather than cropped at the edges.</p><p>Final result:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/0*tyeiUKdklo-J5NUL.png" /></figure><p>I’ve published this answer in <a href="https://stackoverflow.com/a/49698586/5554886">Stackoverflow</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=53e1c7e6e9c3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mastering Git]]></title>
            <link>https://medium.com/@consbulaquena/mastering-git-33f52bea7e8f?source=rss-7ea46047efcb------2</link>
            <guid isPermaLink="false">https://medium.com/p/33f52bea7e8f</guid>
            <category><![CDATA[git]]></category>
            <category><![CDATA[version-control]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Cons Bulaquena]]></dc:creator>
            <pubDate>Mon, 23 Apr 2018 01:24:42 GMT</pubDate>
            <atom:updated>2018-04-23T01:30:15.614Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/701/0*aM74K1s9QnV33FAS.png" /></figure><p>Useful reminders in Git I found <a href="https://hackernoon.com/how-to-master-the-art-of-git-68e1050f3147">here</a>.</p><h4>TLDR;</h4><p>When in the process of learning Git, make a habit of following these steps:</p><ol><li>git status all the time!</li><li>Try only to change files you really want to change.</li><li>git add -A is your friend.</li><li>Feel free to git commit -m &quot;meaningful messages&quot; .</li><li>Always git pull <strong>before</strong> doing any pushing, <br>but <strong>after</strong> you have committed any changes.</li><li>Finally, git push the committed changes.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=33f52bea7e8f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Fixing Swift Sdtlib tool error: Task failed with exit code 1]]></title>
            <link>https://medium.com/@consbulaquena/fixing-swift-sdtlib-tool-error-task-failed-with-exit-code-1-46d9a461ccd7?source=rss-7ea46047efcb------2</link>
            <guid isPermaLink="false">https://medium.com/p/46d9a461ccd7</guid>
            <category><![CDATA[swift]]></category>
            <category><![CDATA[error]]></category>
            <category><![CDATA[ios-development]]></category>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[xcode]]></category>
            <dc:creator><![CDATA[Cons Bulaquena]]></dc:creator>
            <pubDate>Sat, 21 Apr 2018 00:47:34 GMT</pubDate>
            <atom:updated>2018-04-21T00:47:34.205Z</atom:updated>
            <content:encoded><![CDATA[<p>Did your Xcode just stopped letting you test app on your iPhone?</p><p>Your receiving the following Xcode error:</p><pre>Swift Sdtlib tool error: Task failed with exit code 1</pre><p>I use macOS High Sierra, Xcode 9.2: This worked for me.</p><ol><li>Go to /Users/JohnAppleseed/Library/Developer/Xcode/DerivedData/</li><li>Moved all the files to Trash, empty the trash</li><li>Opened Xcode, Clean and Build.</li></ol><p>Restarting xcode or macbook, dragging and dropping certificate in the keychain did not work for me.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=46d9a461ccd7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Fixing “Thread 1: signal SIGABRT” error in iOS]]></title>
            <link>https://medium.com/@consbulaquena/fixing-thread-1-signal-sigabrt-error-in-ios-9a50a94368da?source=rss-7ea46047efcb------2</link>
            <guid isPermaLink="false">https://medium.com/p/9a50a94368da</guid>
            <category><![CDATA[ios-development]]></category>
            <category><![CDATA[xcode]]></category>
            <category><![CDATA[swift-4]]></category>
            <category><![CDATA[swift-programming]]></category>
            <category><![CDATA[ios]]></category>
            <dc:creator><![CDATA[Cons Bulaquena]]></dc:creator>
            <pubDate>Fri, 13 Apr 2018 22:03:31 GMT</pubDate>
            <atom:updated>2018-04-13T22:03:31.260Z</atom:updated>
            <content:encoded><![CDATA[<p>SIGABRT (Signal abort) indicates that the app crash due to failure to access something which is nil or doesn’t exist, usually in my experience it’s Outlets.</p><ol><li>In the storyboard, check all your Outlets in each view controller.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*xZOTbZMJc1dw2lbt.jpg" /></figure><p>2. Make sure you remove the connections with yellow warnings. These are invalid outlets.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/0*GEn5DTLyliCCyakS.jpg" /></figure><p>3. Check your storyboard ID in the Identity Inspector if the names are correct.</p><p>4. Check for any breakpoint in the left side of the code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/523/0*ZYyk6Dc7HRKfnMJt.png" /></figure><p>Hope this helps someone!</p><p>See my <a href="https://stackoverflow.com/a/49825598/5554886">answer in Stackoverflow</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9a50a94368da" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[iOS Failed to instantiate the default view controller]]></title>
            <link>https://medium.com/@consbulaquena/ios-failed-to-instantiate-the-default-view-controller-e4ad0a4d3af6?source=rss-7ea46047efcb------2</link>
            <guid isPermaLink="false">https://medium.com/p/e4ad0a4d3af6</guid>
            <category><![CDATA[swift-programming]]></category>
            <category><![CDATA[swift-4]]></category>
            <category><![CDATA[ios-development]]></category>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[xcode]]></category>
            <dc:creator><![CDATA[Cons Bulaquena]]></dc:creator>
            <pubDate>Sun, 08 Apr 2018 18:09:36 GMT</pubDate>
            <atom:updated>2018-04-08T18:09:36.387Z</atom:updated>
            <content:encoded><![CDATA[<p>Debug error</p><pre>Failed to instantiate the default view controller for UIMainStoryboardFile &#39;Main&#39; - <br> perhaps the designated entry point is not set?</pre><p>Not appearing in the Simulator along with a <strong>black screen</strong>. I did the following in order for my app to appear in the Simulator.</p><ol><li>Go to Main.storyboard.</li><li>Check the Is Initial View Controller under the Attributes inspector tab.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*JYzTtmUSoY7JVqWn.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e4ad0a4d3af6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Couldn’t generate Swift representation Error from source kit Could not load module: GoogleSignin]]></title>
            <link>https://medium.com/@consbulaquena/couldnt-generate-swift-representation-error-from-source-kit-could-not-load-module-googlesignin-1fc7b8f5788d?source=rss-7ea46047efcb------2</link>
            <guid isPermaLink="false">https://medium.com/p/1fc7b8f5788d</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[ios-development]]></category>
            <category><![CDATA[sign-in]]></category>
            <category><![CDATA[swift-4]]></category>
            <dc:creator><![CDATA[Cons Bulaquena]]></dc:creator>
            <pubDate>Sun, 08 Apr 2018 18:02:57 GMT</pubDate>
            <atom:updated>2018-04-08T18:02:57.041Z</atom:updated>
            <content:encoded><![CDATA[<p>I have experienced this with my Tab Bar Controller not appearing in the Simulator along with a black screen. I did the following in order for my app to appear in the Simulator.</p><ol><li>Go to Main.storyboard.</li><li>Check the Is Initial View Controller under the Attributes inspector tab.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*b31hiO4ynbDLRrXWEFF4aQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1fc7b8f5788d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[GitHub commits aren’t recorded in the ‘Your Contributions` calendar]]></title>
            <link>https://medium.com/@consbulaquena/github-commits-arent-recorded-in-the-your-contributions-calendar-6959a402b03d?source=rss-7ea46047efcb------2</link>
            <guid isPermaLink="false">https://medium.com/p/6959a402b03d</guid>
            <category><![CDATA[git]]></category>
            <dc:creator><![CDATA[Cons Bulaquena]]></dc:creator>
            <pubDate>Sun, 08 Apr 2018 17:51:30 GMT</pubDate>
            <atom:updated>2018-04-08T17:51:30.247Z</atom:updated>
            <content:encoded><![CDATA[<p>GitHub problem: “Your Contributions” section doesn’t show any recent activity.</p><p>In Github, I noticed a non-committer author.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/905/0*4YXUA5NlmDFuGgRS.png" /></figure><p>Even though I made commits in Xcode. There was no contributions in the ‘Your Contributions` Calendar.</p><p>Solution:</p><p><strong>Change Committer Name and Email Globally</strong><br><strong>The email address used for the commits must be associated with your GitHub account.</strong></p><p>In the Terminal:</p><pre>$ git config --global user.name &quot;Full Name&quot;<br>$ git config --global user.email &quot;fullname@gmail.com&quot;</pre><p>See also GitHub Help: <a href="https://help.github.com/articles/setting-your-commit-email-address-in-git/">Setting your commit email address in Git</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6959a402b03d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Swift: How to place image in a circle]]></title>
            <link>https://medium.com/@consbulaquena/swift-image-in-a-circle-5eb439fb430?source=rss-7ea46047efcb------2</link>
            <guid isPermaLink="false">https://medium.com/p/5eb439fb430</guid>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[ios-development]]></category>
            <category><![CDATA[ios-developer]]></category>
            <category><![CDATA[swift-programming]]></category>
            <dc:creator><![CDATA[Cons Bulaquena]]></dc:creator>
            <pubDate>Sun, 08 Apr 2018 17:47:13 GMT</pubDate>
            <atom:updated>2018-04-23T01:32:32.206Z</atom:updated>
            <content:encoded><![CDATA[<p>Displaying a picture in a circle.</p><p><strong>Swift 4:</strong> This should display an image in a circle for iOS.</p><ol><li>Drag (ctrl + click) an IBOutlet of an image toward your code.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*FDhxO_sZgL9RZJU3.png" /></figure><p><strong>cornerRadius</strong> The radius to use when drawing rounded corners for the layer’s background. Animatable. <a href="https://developer.apple.com/documentation/quartzcore/calayer/1410818-cornerradius">https://developer.apple.com/documentation/quartzcore/calayer/1410818-cornerradius</a></p><p><strong>clipsToBounds property</strong> A Boolean value that determines whether subviews are confined to the bounds of the view. <a href="https://developer.apple.com/documentation/uikit/uiview/1622415-clipstobounds">https://developer.apple.com/documentation/uikit/uiview/1622415-clipstobounds</a></p><p>2.Inside viewDidLoad(), <strong>Use the instance property </strong><strong>layer.cornerRadius and </strong><strong>clipsToBounds.</strong></p><pre>profileImage.layer.cornerRadius = 50<br>profileImage.clipsToBounds = true</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5eb439fb430" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hello, Objective-C.]]></title>
            <link>https://medium.com/@consbulaquena/hello-objective-c-f39d2c8477c0?source=rss-7ea46047efcb------2</link>
            <guid isPermaLink="false">https://medium.com/p/f39d2c8477c0</guid>
            <dc:creator><![CDATA[Cons Bulaquena]]></dc:creator>
            <pubDate>Sat, 24 Jan 2015 13:09:43 GMT</pubDate>
            <atom:updated>2015-01-29T15:01:55.734Z</atom:updated>
            <content:encoded><![CDATA[<h2>Hello, Objective-C</h2><h4>Lets start creating</h4><p>January marks the beginning of “the iOS developer’s path”- my long-term path to programming mastery. It might take thousands of hours of practice, but I am enjoying it to the bitter end. I’m not normally one who discuss or share “news” designed to create outrage or sarcasm, especially not on my blog, so be rest assured there won’t be any rant post.</p><p>Most of my postings are to match Apple’s documentation and community-accepted best practices. Some are derived from books, courses and networks. This blog is mainly targeted toward iOS development, but definitely applies to Mac as well.</p><p>Here’s a ton left to do:</p><ul><li>Ship at least 5 iOS apps of medium size or above.</li><li>Work and on at least 2 <a href="https://www.apple.com/ios/whats-new/health/">Health app</a> using Objective-C, Cocoa. Show how I used these technology to solve problems in healthcare.</li><li>Write at least 3 software design documents for non-trivial applications.</li><li>Show how my code meets the quality objectives, as measured by code reviews, static analysis tools and/or QA reports.</li><li>Achieve a score of at least 4 out of 5 on customer satisfaction, as measured by at least 10 replies to 360 feedback requests.</li><li>Contribute noteworthy contributions in <a href="https://github.com/objectivecons">Github</a> and <a href="http://stackoverflow.com/users/4455834">Stackoverflow</a>.</li><li>Attend more conferences and boot camps this year.</li><li>Get myself a 15&quot; MacBook Pro with Retina display.</li><li>Install Linux as a second OS.</li><li>Keep on making <a href="http://himecons.blogspot.com/">good design</a> (even if it’s not so good at first)</li><li>Finish reading the pile of books on my shelf about OOP languages and Graham’s <em>The Intellegient Investor</em>.</li><li>FOCUS</li></ul><p>Ideally, my strategy of using self-liberation (will power), innate curiosity and reinforcement management (rewards or incentives) would meet with success toward the year’s end.</p><blockquote>“To me, ideas are worth nothing unless executed. They are just a multiplier. Execution is worth millions<em>.</em>” — Derek Sivers</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f39d2c8477c0" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>