Click here to Skip to main content
15,893,161 members
Everything / Xcode

Xcode

Xcode

Great Reads

by raddevus
Learn to create iOS apps using Xcode while you learn Swift. (If you've ever wanted to see iOS app dev in action, take a look at the screenshots.)
by pgmr_64804
Tree View in Swift for iOS that is easy to implement and use
by dknyoli
PC Keyboard Layout on Mac OS X
by Dener Araújo, André Marcos (Advisor)
A Mobile Application Development for a Private Network Connection on iOS Platform Using Prococol OpenVPN

Latest Articles

by Zijian
Use PowerShell scripts to generate icons of native mobile apps
by Dener Araújo, André Marcos (Advisor)
A Mobile Application Development for a Private Network Connection on iOS Platform Using Prococol OpenVPN
by Daniel Petrovic
In this tip, I want to represent a quick lightweight possibility (one of many) for parsing command line arguments on the fly using C++17.
by Zhaohui Xing (Joey)
Swift classes for algorithm, including single linked list class, stack class, queue class

All Articles

Sort by Updated

Xcode 

20 Oct 2013 by _Maxxx_
contentArray=[NSArray arrayWithObjects:@"a",@"b",@"c",Nill];//error ARC forbids explicit message i.e. the message tells you ARV forbids retain, so don't specify retain?
14 Jun 2021 by Abbas Gujjar
Suppose we navigate to child view and when the Parent View updates then automatically back navigation performs up to Parent View. Can we disable this Behaviour? What I have tried: I have a list of card views and when I click on one of them...
19 Nov 2013 by Abhinav S
Try this video - http://www.youtube.com/watch?v=zS3gQ4pnmBs[^].Here is another link[^].
23 Feb 2015 by abhyudayreddy1534
The ios build is working fine while debugging and the build is not working when generating an .ipa or downloading build from TestFlight (Appstore > Prerelease)I have rechecked the build provisioning profiles, They are perfectly fine.I am able to download the app from testflight too, but...
27 Mar 2015 by Afzaal Ahmad Zeeshan
You can start from learning About XCode[^] and the coming documents would guide you for a further more details topic about XCode. By the way, this link was the first result from Google search, "xcode overview[^]".
9 Apr 2020 by Afzaal Ahmad Zeeshan
Quote: reruns itself when 'y' is entered and when 'n' is entered, Sure, for this you make it run again, and again, and again, until the condition (inputing 'n') is met. How do we make a program a group of statements again and again? Use the...
28 Jan 2014 by AkshatJais
My question is long and I tried to paste it here but its not getting done. Here is the link to my question. Please help.App behaving differently over Mobile Data and Wifihttp://stackoverflow.com/questions/21427101/app-behaving-differently-over-mobile-data-and-wifi[^]
21 Aug 2013 by alfwolf_ss
I already used setContentScaleFactor and all fields are OK in zoom in mode, except put focus in a text field.Like this:http://i39.tinypic.com/vzd0m1.pngCan anyone give me a help?THANK YOU SOOOOOOOOO MUCH.
15 Apr 2018 by Ali Asadi
my model class is a little complicated so swift 3 can't set the data to my model what can I do about it? if you need I my codes just ask me What I have tried: let google=GOogle(Json:myjson) class Google{ var results = [Results]() }
25 Feb 2015 by ali majed
I'm beginner in IOS programming, I want implement gallery with small and big size of pictures,small and big pics are same name . I want put them in folders like this:small\pic.pngbig\pic.pngand locate pic from root like this:\small\pic.pngis it possible how can I do...
25 Feb 2014 by Ali Raza
I want to display another view when user press a button in the main nib file. can i have the code please
18 Mar 2014 by Ali Raza
i am facing some problems with connecting xcode client with c sharp server. i am running mac in a virtual machine and getting this output014-03-19 10:30:12.468 FYPSeconf[761:c07] Tcp Client Initialise2014-03-19 10:30:12.487 FYPSeconf[761:c07] TCP Client - Can't connect to the...
21 Apr 2014 by Ali Raza
#import "TCP.h"@interface TCP ()@end@implementation TCP//- (void)viewWillAppear:(BOOL)animated//{// [super viewWillAppear:animated];//// [self TcpClientInitialise];//}static NSString * C_name;+(NSString *)getName{ if(!C_name) { ...
19 Apr 2013 by Amna Al Shehhi
hiI'm junior on iPad App development, i've start working with ArcGIS for iOS. When I try to run the sample project which is included in the Esri training i've the following error "ArcGIS.h" file not foundI've try to add the library with this path, ...
27 Nov 2012 by Amory Wong
A GLKView class that can be dropped into your project.
22 Nov 2013 by Amr M. K.
Hello guys, Hope it correct place to answer question,it mix between .Net and xCode programming.I have issue of upload image throw web service using iphone.I have done it with pure calling from asp.net to WCF.I need to done it from iPhone to wcfmy sample of...
1 Oct 2015 by Android on Intel
This article will provide you details on how to port an existing android apps to iOS using the Multi-OS Engine.
1 Jan 2021 by Andy Allinger
Could this be done by sonar? The user puts the phone on his head, then the phone sends out a chirp, the sound wave bounces off the ground and the microphone hears it.
30 Oct 2013 by anexamin
I am trying to build my first adobe air extension on iOS. I have read many tutorials on adobe and everything seems fine, but when I run my project on a device, iPhone5 iOS7 it throws the following error in the organizer windowOct 27 00:57:27 Default ReportCrash[100] : ReportCrash acting...
3 Jun 2019 by Ash_savvy
is there any pod for giving shadow effects to buttons and other control in swift 4.2? Please help me with that! It's been only two weeks I started swift, and two weeks I spent for this!! Someone please help me!!. What I have tried: I have tried Material design MDKit! but doesn't worked in...
9 Dec 2012 by Avinash6474
Hi All,I have an android application which I designed using a phone gap. I have html pages with graphics , images and many functinality.I want to design a HTML pages in such a way that it will fit the designs in Android phones, Andoid TAb, iPhone , IPAD etc.In application I have...
5 Jan 2013 by Avinash6474
In HTML page I am using jquery library to read the height and width of display area.$window.width();$window.height();Then assign the height and width for the parent div tag on page. and take the child div's and assign only one parameter i.e. height or width in "num %" . It will...
10 Apr 2013 by Avinash6474
Hi All,I have an iPhone application , which is working fine on iPhone device.recently i got an iPad , but I am not able to execute application on iPAD!!! --> I have registered the device to apple development center --> I am not able to add the provisioning certificate for the iPad...
20 Dec 2020 by Batuhan Baran
I'm creating more than one textfield according to user's input. When user enters 3 then I will create 3 textfields using foreach loop but I don't know how I can handle inputs that will come from these textFields? also I want to save these inputs...
17 Feb 2014 by benhadi
Hi everyone,I'm new in ios development, so please have you any tutorial on how to consume a web service in xcode 5 and ios 7 to write data from iPhone to sql server via the web serviceso please can you help me on that
17 Feb 2014 by benhadi
Hi,I have created a wcf service to insert data in my sql server DB.here is the URL used :41.142.251.142/JsonWcfService/GetEmployees.svc/json/InsertEmployee/val1/val2/val3.so when I want to consume this web service inside my xcode 5, I used the following:I created a form with...
12 Mar 2014 by benhadi
Hi All,I want to send an image from iOS to wcf service to save it in my Sql server DB.so I did the following, but I cannot save the Data in the DB.-(IBAction)AddMeal:(id)sender{ UIImage *myImage = imageView.image; NSString *imgBase = [self...
6 Apr 2014 by Brainy Girl
Hi,I'm new with objective c and xcode.I want to add more sections to the tableView when the user clicks on a button and add rows to that sections when the user clicks on another button.and when the user taps on any cell a new view should be presented that will contain label and a...
12 Jul 2013 by Brian Bennett
I'm making a game for iPhone and my game object is in C++ and I save and load user data from that class. I am using a text file and std::ifstream and std::ofstream for reading and writing. During development I've just been dragging the text file from my Supporting Files folder to between the...
14 Mar 2017 by Code Different
I am a Swift and Xcode beginner, and I have read Apple's "The Swift Programming Language" and understand the fundamentals of Swift quite well. But when I try to refer to the documentation to know what functions to call, etc to do something not often done (such as using Replay Kit) I run into...
19 Apr 2020 by Cody O'Meara
I am making an app that has many tabs that will go to different links on my website depending on the tab Item. I looked up how to get a website on using the webView. I added the webview and made a small area to show for showing that it is not...
19 Mar 2015 by CPallini
int a = *one;is the same asint a = one[0];hence the zero result.
19 Sep 2020 by Daniel Petrovic
In this tip, I want to represent a quick lightweight possibility (one of many) for parsing command line arguments on the fly using C++17.
29 Jun 2021 by Dener Araújo, André Marcos (Advisor)
A Mobile Application Development for a Private Network Connection on iOS Platform Using Prococol OpenVPN
29 Feb 2016 by dknyoli
PC Keyboard Layout on Mac OS X
25 Jan 2021 by dontknowwhatimdoing
Im making a simple question with answer type app, and i want there to be a reset button that brings me back to the first question each times its pressed. import UIKit struct Question { var imageName: String let...
14 Mar 2021 by dontknowwhatimdoing
I'm trying to make a tableView of cards in a deck that have two scopes Questions and Rating. this is my code: import UIKit class DeckTableViewController: UITableViewController, UISearchBarDelegate { static let...
7 Jul 2016 by Dynamsoft
Save time and money. Expedite development of iOS barcode apps using Dynamsoft Barcode Reader SDK.
3 May 2021 by Enrico Sigurta
Hi, we are creating a small app. When we try, form XCode, to run it, build it or archive it, the system creates this error: *error:...
6 Sep 2015 by fadi77_net
Dear allI am seeking a full source code for shopping cart project in Objectev-C, if someone created it before, he can contact with me. Our company want to buy this project.Can you help me please?
12 Jun 2014 by future2015
1>Is there a way of developing ios app without having mac PC?Yes, you can use VMware workstation. Install Mac OS X on vmware and then install Xcode.2>Is there any substitute emulator available in windows PC?Xcode is IDE with iPhone emulator.
28 Jun 2017 by getche_c
I created the single view application using storyboard. I have viewcontoller.h file #import @interface ViewController : UIViewController @end I have viewcontoller.m file #import "ViewController.h" ...
30 Sep 2015 by Gratia Firminae
if it's about auto layout problem, try using Masonry library framework.. you can add the third party library using a podfile.. that third party is really helpful for fixing any constraints problem.
20 Oct 2013 by Halilee
Hi I impored ARC but I got same error, I am using xcode 4.6 .Thanks for your help@implementation any-(void)viewDidLoad{contentArray=[[NSArray arrayWithObjects:@"a",@"b",@"c",Nill]retain];//error ARC forbids explicit message send of''retain'[super viewDidLoad];}
1 Jan 2016 by Hiren Viradiya
I Want To Open Apple's Inbuilt Contact Book On Button Click. I Have Tried Some Other Codes, But It Didn't Works I Have Added 4 Libraries In My ProjectPlease Help Me Out Thanx in Advance
4 Jan 2016 by Hiren Viradiya
It's Sorry To Say But I Got Solution and It's Here.Please try this code to open default contact list and manage this list by its delegate methods:ABPeoplePickerNavigationController *picker = [[ABPeoplePickerNavigationController alloc] init]; picker.peoplePickerDelegate =...
10 Jan 2016 by Hiren Viradiya
I Got Array Like Following@"6 objects" [0]=(_NSDictionary*) 4 key/Value pairs [0]=@"Home":@"(555)564-8583" [1]=@"Mobile":@"(415)555-3695" [2]=@"First Name":@"Kate" [3]=@"Last Name":@"Bell" [1]=(_NSDictionary*) 5 key/Value pairs [2]=(_NSDictionary*) 5 key/Value...
19 Sep 2015 by HRamesh
make fallowing changes :1. var nItem: ItemList = frc.objectAtIndexPath(indexPath!) as! ItemList &2. In viewController.swift file var nItem : ItemList = nilThat will fix
5 Nov 2013 by Ibrahim Oweidat
visual studio contains dll for powerpoint "Microsoft.Office.Interop.PowerPoint" i wanna use it in xcode c++ coding. does the dll work fine ? and is there any better way to use powerpoint in xcode?thx
27 Sep 2013 by intelgrey
I want to make an object that will move in a elastic way when I pan it around. The best example I could find was this GIF I made from the game PapiRubber:http://imgflip.com/i/3vsmg (Please excuse the quality)If you note the rubber band looking rectangle stretching about, that is what I...
30 Sep 2013 by Iron-Eagle
Hello All!I am now in the process of converting our projects from Xcode 3.2 to Xcode 4.6.I succeeded in compiling the projects, but now I have the following problem:Function ::CFBundleLoadExecutable returns me FALSE after trying to loading compiled bundle. When I tried to use function...
4 Nov 2013 by Iron-Eagle
Found a problem eventually. There was a dependency in the bundle's DLL on one of the libraries, which name was changed during the Post-Build stage by install_name_tool. install_name_tool location was changed in Xcode 4.6, so this step was missing, therefore bundle's dll looked for the wrong...
20 Nov 2018 by iTexico
In this article, we build a gallery of images using react-native, we define some stacks, we use the flickr API and we run the app in our emulator.
23 Jul 2015 by Jeyavijay Nedumaran
Any one help me to find a solution for displaying mapview and nearby hotels r places in ios using xcode?????
23 Aug 2015 by Jeyavijay Nedumaran
Will anyone help me to do dropdown menu using Button without using pickerview.. In google i didn't get the perfect solution.. plss help
26 Aug 2015 by Jeyavijay Nedumaran
How to make a alignment from center to left using drop down meu in Xcode? will anyone explain this concept with a picture and by using constriaints i can't make it plss help and suggest me the solution
13 Jan 2016 by Jitendra_Jain04
The Objective of this article is to provide hybrid mobile application development approach for mobile platforms using one of the most powerful open source framework : Apache Cordova.
19 Mar 2015 by Jochen Arndt
You must create the 32-bit value by adding the byte elements shifted to the correct position:uint32_t a = (one[3]
14 Jul 2013 by KarstenK
you should be a good citizen and use the apple way for files on the device. That will also help to make backups or move in the iCloud.NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);some fine material =>...
13 May 2014 by KarstenK
use the animation classes of the frameworkhttps://developer.apple.com/librarY/mac/documentation/Cocoa/Conceptual/AnimationGuide/Articles/ViewAnimations.html
4 Jun 2014 by KarstenK
The UILabel has a property lineBreakMode that is the way to go.tip: the Apple documentation is very good, so read it carefully to understand all features.
6 Jan 2015 by KarstenK
You shouldnt do that. The dimension is a design component in the Apple eco-system.Consider learning at first iOS from the scratch. An outstanding tutorial for SplitViews is from the great Ray Wenderlich.
7 Jan 2015 by KarstenK
The navigation bar is a UI element. You must drag one into the controller in the interface builder and than fill it out.
10 Apr 2015 by KarstenK
It looks like it is a default value bei Apple if using an empty string. (It is something else than nil)MFMsgPicker.recipients = nil;worked fine. As always: if you dont need it - dont do it. But why arent you giving some useful value to it?
20 May 2015 by KarstenK
Looks like invalid data gets thrown out. So you should verify your input. (it is always good style to do it).This creation of a dataset looks very static. You better read in the documentation and some sample code to get it running smoothly.
29 May 2015 by KarstenK
I can only guess: the error has to do with your button. A button has to be "connected" with an action handler function. And that "could" be missing or changed. You see it in the interface builder.I really recommend your the tutorial website of Ray Wenderlich. Think about the video plan,...
25 Aug 2015 by KarstenK
On ios it is better to use the common controls. In this problem the UIAlertView or ActionSheet is the right solution for ios 7. But for ios 8 and later use the UIAlertViewController. So you need to implement both, if you cant avoid the old ios 7. It is common technique to implement both ways and...
26 Aug 2015 by KarstenK
Your question isnt so clear, so normally you can adjust properties of text and controls in the interface builder. It is the same with constraints.If you want to build apps for the Apple world ou must understand interface builder. Try it by watch some videos on youtube.
12 Aug 2016 by KarstenK
You should read the documentation for gettext. Use msggrep for fetching a directory.
14 Oct 2015 by KE JJ
Hi allI'm developing a iOS app using Xcode7the app can work on iOS 9 on the iPhonebut, when I install it to iPhone on iOS 8the icon shows gray color and says "installing", and than do not thingI guess it's because the iOS 8 is not available on Xcode7 Is any way I can...
19 Jul 2013 by khorshid1974
Dear Friends,I want to start an Iphone app for E-learning recommendation system which do the fowling:1- let the user register or log in the app.2- after logging in the app ask the user questions.my question: What is the best way to manage users to be able to log/register and...
2 Feb 2017 by kiranyasala
I) Before merging, we take the videos URLs(static videos or camera captured videos) from array, and store them into assets.II) In the processing of storing the URLs into assets,1) First, we take the first URL into 'firstVideoAsset', after that we take second URL into 'secondVideoAsset'....
20 Sep 2013 by Kolibre
Hi all, I am interested in iphone app. I want to develop an app can be sold in app store. Is it possible to make this program on Windows with VMware? Currently, I just have an iphone but there is no Mac. Can you tell me any details about how can I make an iphone app on Windows? Thanks in...
25 Feb 2014 by Kornfeld Eliyahu Peter
How Do I Switch Views In A Touch Up Inside Event Of A Uibutton?[^]
28 Feb 2013 by larssy1
Hi everyone,You might think, not again such a question where are already thousands of topics about..However, I've not been capable of finding the answer i needed to fix this problem.None of these topics go as deep as the Keychain.When i'm trying to deploy my app to an iPhone, i'm...
18 Jul 2013 by Lord Deondrae
I am planning to have different adbanners on all my viewcontrollers/screens and I was wondering whether creating a subclass for each viewcontroller is the **best** possible way of doing that ? I have looked everywhere for an answer for this but can seem to find one...The reason I am asking...
15 Apr 2015 by Maciej Los
Please, read these:Localizing Your App[^]Let's localize your iPhone app![^]
9 Apr 2020 by Maciej Los
Do not repost! Here you've got accepted answer: How do read a text file into array of strings and convert from pipe delimited text file to comma delimited csv file?[^]
10 Apr 2017 by Majid99
The code work good when I was using Xcode 7.3 with iOS 9 but when I migrated to Xcode 8 using swift 3 ,the code below show me that runtime error.still finding a solution for itclass TableViewController: UITableViewController,NSFetchedResultsControllerDelegate,UISearchResultsUpdating...
15 Mar 2019 by Martin Vorbrodt
Interview question - analyze and point out what is wrong
15 Mar 2019 by Martin Vorbrodt
How to refactor std::auto_ptr
25 Jul 2014 by Mat Hopwood
Fragmentation is bad for business and mobile game development is a very fragmented business that is ripe with pitfalls and difficulties. This article outlines these factors and explains how developers are able to overcome them, cutting costs and without the need for compromise.
8 Feb 2017 by Matthew Guest
I have a speed label that displays the speed of the user in the default mph. I have a slide up settings menu with two buttons on it "kilometers" & "milesPerHour" and am trying to toggle between kmh and mph. The code looks correct as I'm checking if the buttons have been selected which should...
15 Sep 2014 by MatthysDT
The issue with "loadRequest" on the UIWebView that snuck in with iOS 8 beta 5 has all but crippled our app. I have a new version with a work-around almost ready to deploy but it's about 1 week from being complete.This morning I logged on to iOS Developer portal to see if there is perhaps a...
6 Jul 2013 by Maxx57
I have searched many places for something remotely similar and found nothing. I'm upgrading cocos2d in my iphone xcode 6.1 project. I am upgrading to cocos2d 2.0 since I am using CocosBuilder 2.x. But after resolving many errors, I'm not understanding this particular one. I've listed the...
25 Sep 2013 by mcirak
i use slide menu in my project and i want change status bar color dynamicly.when pressed slide menu open then status bar is must be black ,menu is closed status bar my color.is this possible?For example in this link for...
4 Jun 2014 by Md Sadham
I want to show my long text in a UILabel. But, My design having small size of frame for that UILabel. So, i want to truncate my long text like this[see below]:Ex:Given Text: "I want to show my long text in a UILabel"Recent Result: [Using lineBreakMode:]1. I want to s........a...