iOS Development is easy with XCode, Swift3, UITableView, cocatouch, let's build iPhone, iPad and Macbook Applications.

Push ViewController with transparent background

I want to have a blurred image as a fixed background in my app. My ViewController structure is like this: HostViewController (with background image and VisualEffectView) – NavigationController (modally presented over the HostViewController) –– ViewController (with clear background color) When I want to push to another ViewController (which has also clear background color) from the […]

Can two view controllers be delegates for one another?

I’m learning objective-c and cocoa touch at the same time as building an app so I’ve got a fairly simple question (I think), sorry I don’t have enough brownie points on the site to show a visual diagram of my site. But let me explain, I have the following Main ViewController ViewController A ViewController B […]

How do I add the Boost library to my C++ program in XCode 6.0?

I’m using XCode 6.0 and need the boost library for program. I have downloaded boost_1_57_0.tar.gz from http://sourceforge.net/projects/boost/files/boost/1.57.0/ and have unarchized it. Now I just need to somehow get it into my program so that #include “boost/filesystem.hpp” using boost::filesystem; works. I looked at the instructions http://freddy.cellcore.org/post/79587278354/boost-c-libraries-on-osx-xcode-5, which are for XCode 5, and I can’t seem to […]

Rename xcode project

In all of my stupidity I’ve notice I misspelled my own project. I’m honestly scared to rename it in Mac due to certain filepaths referencing folders that now do not exist. Is there an easy way to rename a project?

Why I need to use in iOs?

I’m newbie in Objective-C, and don’t understand why we need to use [super dealloc], [super viewDidLoad] or [super viewWillAppear:animated]. When I create sample code application I see something like this: – (void)viewWillAppear:(BOOL)animated { [super viewWillAppear:animated]; } – (void)viewDidAppear:(BOOL)animated { [super viewDidAppear:animated]; } – (void)viewWillDisappear:(BOOL)animated { [super viewWillDisappear:animated]; } – (void)viewDidDisappear:(BOOL)animated { [super viewDidDisappear:animated]; } Actually […]

Missing frameworks after upgrading to Xcode 3.2

I upgraded to Xcode 3.2 and now can’t seem to add a number of frameworks, specifically the media player. A number of frameworks do not show up on the “Add Existing Frameworks Sheet”. Per another question I tried setting the “Framework Search Path” to $(SDKROOT)/Library/System/Frameworks but that didn’t seem to make any difference. The UIKit.framework […]

Segmentation Fault 11 When Using File I/O C++

I am having an issue with Code Blocks and Xcode on my Mac. Every time I run the code on Code Blocks I receive Segmentation Fault 11 and when I try on Xcode I receive Thread 1: exc_bad_access (code=1 address=0x0xffffffff0000000a). However, if I run this code on a PC via Code Blocks it runs. Does […]

UIView two animations coexisting

How can I have one animation continue forever after calling a second animation? For example: 1) start an object pulsating 2) Move it while its pulsating 3) it continues pulsating Everything works except the second animation is stopping the first one indefinitely. Below is some sample code: //Pulsate ** [UIView animateWithDuration:0.25 delay:0 options: (UIViewAnimationCurveEaseOut | […]

Init method for core data entity not available

I am on xcode 6.1 and developing for iOS 8.1. I have simple project called CoreDataTest where I play around with core data. Model: import CoreData class Licence: NSManagedObject { @NSManaged var name: String } and Now I want to create a licence object. This is what I need prior to creating the object: let […]

Interface Builder Localization HowTo

I was digging into Apple Developers’ Docs to understand how localization/internationalization of apps should be done and I wanted to understand how Interface Builder helps you managing multiple NIB files for multiple languages… the docs point me to the “localization” section within the Interface Builder user Guide, but I can not find it.. should I […]