Click here to Skip to main content
15,886,701 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 Score

Xcode 

11 Dec 2018 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.)
22 May 2016 by pgmr_64804
Tree View in Swift for iOS that is easy to implement and use
29 Feb 2016 by dknyoli
PC Keyboard Layout on Mac OS X
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
19 Mar 2017 by Will J Miller
Programming tests are frequently used to screen job applicants. This article describes one problem given by a large modern technology company and its solution in swift.
23 Nov 2019 by Zhaohui Xing (Joey)
Swift classes for algorithm, including single linked list class, stack class, queue class
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.
13 Nov 2023 by Zijian
Use PowerShell scripts to generate icons of native mobile apps
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[^]".
12 Apr 2017 by Remya R M
Advanced debugging features to improve developer productivity
8 Apr 2020 by OriginalGriff
The first thing you need is a loop construct: there are three basic ones: for, while, and do In this case, I'd suggest a do - this is a loop that ends with a test: do { ... your code here ... cout
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...
27 Jan 2013 by nakulkundra
Please help , i just wan to run my old code , but its not working .. i have a 4.2 os ipad and the code was working fine before i ugraded my mac book to lion../Volumes/Development/XIAPSUIT 26-aug-2011/build/Debug-iphoneos/XIAP.app: object file format unrecognized, invalid, or unsuitable...
19 Dec 2014 by Shahan Ayyub
Instead of sending it like this, try sending a multipart request.Send request from iOS like this[^]Handle it on server side like this[^] (This is a c# code to give you an example).I have used it and it works perfect for both when we have some arguments along with image data or just...
25 Dec 2014 by Sergey Alexandrovich Kryukov
As you can see from original documentation, Swift arrays are very flexible, so you can add elements to the array using the method append or the operator '+=': https://developer.apple.com/library/ios/documentation/Swift/Conceptual/Swift_Programming_Language/CollectionTypes.html[^].This way,...
27 Mar 2015 by Thomas Daniels
Help on using Xcode can be found here:https://developer.apple.com/library/mac/recipes/xcode_help-general/_index.html[^]
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...
6 Apr 2018 by OriginalGriff
No, unless you sideload or jailbreak: How to Install Unapproved Apps on an iPhone Without Jailbreaking[^] Apple is notoriously picky about what apps it allows...
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.
15 Mar 2019 by Martin Vorbrodt
Interview question - analyze and point out what is wrong
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...
9 Apr 2020 by OriginalGriff
There are two ways, one trivial, one less so. The trivial approach: read all text from the file. Use a string find and replace to change '|' to ','. Save the file. This has a problem. Suppose the original data contained:Mike|Jones|2, Fred...
25 Jan 2021 by OriginalGriff
Quote: it doesnt work for me This is probably the most useless problem report we get - and we get it a lot. It tells us nothing about what is happening, or when it happens. So tell us what it is doing that you didn't expect, or not doing that...
23 Jun 2022 by OriginalGriff
The process you are looking for is called "decompilation" and it's going to produce something that will take an expert quite a lot of time to understand before he could even start to think of modifying it. It's also probably a malicious act given...
11 Feb 2013 by Rahul R Rana
I want to Draw a symbol and add text in UIImageView. when move it should move together. When it would get opened next time, it should be editable. pls needful for me
11 Feb 2013 by Rahul R Rana
How to Draw Line in Image View??Pls needful for me.
12 Feb 2013 by TRK3
A UIImageView is for displaying an existing image.It is a subclass of UIView.The most direct way to draw to a view is via the UIView:UIView has a -layer method that gives you access to the CALayer of the view.CALayer has a method -drawInContext: that takes a CGContext that gets...
12 Feb 2013 by TRK3
You can draw into a UIView by accessing the CALayer (by the -layer method), and using the -DrawInContect: method to specify a CGContext to draw.See the CGContext reference for functions that draw paths and text on CGContext.If you want the symbol and text to move together, independent of...
17 Feb 2013 by Rahul R Rana
I want to Drag a TextView on ImageView. My Requirement is to drag a text on Image. whenever I move Image then Text is Also Move with Image. Text are written in Image Area.Pls. Let me how can Implement it.Pls. needful for me.
4 Apr 2013 by TommyGun7726
Hi, I am a iOS app developer. There is one thing I have been wondering how to do. This is how do I add twitter feed into a xcode project. I have been searching for three weeks and everything I have done has been in iOS 5 or earlier. Does anyone have an idea where I can learn this for xcode 4.6?
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...
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, ...
1 May 2013 by Mehdi Abbaspour
How to call USSD code in iphone ?
1 May 2013 by Richard MacCutchan
See https://www.google.com/search?q=ussd[^].
14 May 2013 by sudheer503
My actual requirement is to get all tables data from xx.database.which is in server.and up date values in table view.please tell me the correct process and can i update data base of remote server from my app?if possible let me know the way please.
27 May 2013 by Member 8808789
i am developing an application for iphone which play an audio by clicking an ui collection view cell. For that i have 2 ways. either i keep only 1 audio file and on clicking play a chunk of that file or i keep multiple audio files and on click required audio file will be played. i dont know...
13 Jun 2013 by Member 8063699
can anybody tell me, how rich text format get as html format file in ios. if i simply say i want to export rich text to html.
17 Jun 2013 by Tum Wittawat
I'm trying to create an iPhone application that after running the application, the video camera will be launched.Any help would be appreciated.Thank you.
17 Jun 2013 by SanjeevJayaram
http://www.appcoda.com/video-r...
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...
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 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 =>...
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...
19 Aug 2013 by SanjeevJayaram
I tried push notification from this link,http://www.raywenderlich.com/32960/apple-push-notification-services-in-ios-6-tutorial-part-1i followed the procedure properly,While running the project i am not able to see the notification alert,and i am getting the error as,Failed to...
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.
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...
20 Sep 2013 by Thomas Barbare
Consider using Xamarinhttp://xamarin.com/[^]
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...
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...
27 Sep 2013 by Richard MacCutchan
I don't know objective-C or iOS, but this is just a matter of drawing lines between two objects that can move randomly and independently of each other. If you want something similar to the animated gif, then you need to calculate a new position for each object, draw the line(s) between them,...
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...
9 Oct 2013 by Member 10326492
I've never written an App before. I want to have a newsfeed app for my school but don't want to fork out a fortune for something that I control all the content. I'm wondering how easy it is to write an app that simply pulls notices from either a twitter account or facebook account automatically...
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];}
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?
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'....
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...
30 Oct 2013 by Timir Patel
I want to redirect from viewcontroler to Splitviewcontroler on button click.. How we will do this??
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...
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
6 Nov 2013 by Timir Patel
I have one View Controller , in that there is one navigation-controller and one Table-view. And in that table-view I have implemented Search. But there is one problem for showing search-result. While searching it is hiding a Navigation-bar and it cover whole view as table view. I don't want to...
17 Nov 2013 by Member 10408404
Hi there!I am making a space invaders game for iphone with xcode. You can move the ship to the right or to the left when pressing the right or the left part of the window. The "enemies" appear randomly at the top of the window, but the problem is that when a new enemy appears, the ship...
19 Nov 2013 by Timir Patel
Which is the alternative way of Treeview
19 Nov 2013 by Abhinav S
Try this video - http://www.youtube.com/watch?v=zS3gQ4pnmBs[^].Here is another link[^].
20 Nov 2013 by Timir Patel
How to add uiTabbar in subview of uiviewcontroller
21 Nov 2013 by Timir Patel
How to create multi level uitableview with checkbox?
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...
22 Dec 2013 by siddheshwar kohale
Hello friends,I have Created Contact us form in ios app that are render dynamically based on JSOn File.I want to submit filled contact us details to sharepoint 2013 Conatct us list.I have been using xcode ide and objective - c .Please, provide some work around or solutions.Thanks...
28 Dec 2013 by Member 10491759
How to display the whole content when the text is too long in dropdown list in ios.
6 Jan 2014 by Member 10506134
I am making an talking pet app for iOS. I wanna make warped image with xcode5.0, but I could not successfully. I have used such as following codes, but I am not sure it is right way for managing of image for animations.UIImage * temp = [img...
20 Jan 2014 by Member 10538020
As a new in this platform i need some help.I want to access bucket list, create bucket list, uploading file and downloading file from amazon s3.I want sample code which is use for MAC OS x - Objective-c , cocoa application.
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[^]
7 Feb 2014 by Timir Patel
I wan to hide application data from third party tool like iExplorer. So how can I protect my app's local storage data
13 Feb 2014 by Member 10596001
I had implemented file watcher part using SCEvents : It is notifying all changes. But I want only file created, deleted, renamed, modified events notification and also folder created,deleted,renamed notification? How to get exact these notification? And How to used it? I don't need all...
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...
18 Feb 2014 by Timir Patel
variables value not retain though it is initialized in viewdidload in objective c
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
28 Mar 2014 by Priyanka Nambiar
I need to know how can i download a file from a list of files,without giving the specific file name in the code. NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);NSString *documentsDirectory = [paths objectAtIndex: 0]; // Get documents...
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...
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) { ...
12 May 2014 by NeerajRathi
Hi, I have created simple video from images in iOS.I want to create animation video from images. It should simply be an animation of the front picture turning around, not he y axis, to reveal the second/back/grayscale image on the back, which should be...
13 May 2014 by KarstenK
use the animation classes of the frameworkhttps://developer.apple.com/librarY/mac/documentation/Cocoa/Conceptual/AnimationGuide/Articles/ViewAnimations.html
28 May 2014 by shankha2010
Hi I have an android app developed using phonegap [cordova] in Win7 PC.Now I want to utilize the flavor of cordova cross platform compatibility.I want to port the full app in iphone.But I don't have mac machine.I have few pluginsdeveloped by myself in android native lavel which I need to...
28 May 2014 by Nirav Prabtani
try this framework.. :)Develop mobile apps the way you want to[^]Requirements[^]
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...
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.
11 Jun 2014 by Md Sadham
After 1 week, i found solution myself. Please check the efficient of the code and comment it.My solution handles multiple number of lines of text you given for your control title of text.Taste this type of truncation!!!Solution:-(NSString *)methodForDisplayTextWithTruncate:(UILabel...
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.
3 Jul 2014 by Russ Perlow
I am going to be setting up IAP for extra lives in my game, but before I do that I wanted to test to see if it would transfer from my purchasing View Controller to my game View Controller and it's not. In my purchasing VC I have-(void)StartView{//Life = [[NSUserDefaults...
6 Jul 2014 by Peter Leow
Well, go ahead and implement your idea. If you encounter coding issues, then come back to this forum to seek help. Good luck.
10 Jul 2014 by Russ Perlow
I have watched a few tutorials on tweeting from an iOS app but they only show tweeting images or urls. So far all I have is -(IBAction)ShareTW { if([SLComposeViewController isAvailableForServiceType:SLServiceTypeTwitter]){ slComposeViewController = [SLComposeViewController...