1,949 questions
1 vote
3 answers
796 views
MKMapview delegate never called even with set delegate
I have a UIView that integrate a scrollview. Inside the scrollview I have a map where a user need to move a pin. I'm gonna reuse the location of pin later. I'm setting strong reference and ...
0 votes
4 answers
186 views
xcode4.2 - Swift Accessing Viewcontrollers label from external class
Where is the problem accessing a ViewController: UIViewController label (here: outlet called timerLabel)from AnotherClass. I would like to set a text. class AnotherClass{ //[...] func ...
0 votes
1 answer
738 views
Moving UITextField up with keyboard - changes in swift 4.2?
I had this function to move certain textfields upwards, when the keyboards would block their view - I'm sure you all know about this: override func viewDidLoad() { super.viewDidLoad() let ...
0 votes
1 answer
380 views
how to limit the login attempts for users in laravel 4
am trying to work on a project in laravel 4.2 but now, i would like to limit on the number of login attempts for users.most solutions are laravel 5 and am not familiar with 5. so anyone with an idea ...
0 votes
1 answer
88 views
Xcode 4.2 keeps stretching my launch image
Whenever I create a launch image .png file and try to implement it in my application xcode 4.2 distorts the image, skewing it horizontally. I've tried resizing it several times in photoshop, but no ...
1 vote
1 answer
90 views
Problems with SQLite3 Insert statement, xcode 4.2 developing for IOS 5
It's my first time trying to develop an SQLite database for IOS, or any IOS app for that matter. I'm trying to follow a tutorial I found online and adapt it for my own use. The database was created ...
2 votes
2 answers
296 views
How to put a literal array into dynamic memory using memcpy? xcode bug?
I want to put a literal array into a dynamic memory. double *rgb = (double*)malloc(3 * sizeof(double)); memcpy(rgb, (double []){1,2,3}, sizeof(rgb)); but I get the error: Too many arguments provided ...
0 votes
2 answers
2k views
switching views between views in ios using segmented control
friends, I need to switch between four to five views off different headers There are four views Example Settings Connections Open trades close trades These are the headers I want to navigate ...
1 vote
2 answers
1k views
Dropdown list in Table view
i want to add a drop down list For e.g: I need two menus like chats and soups. In chat i have to display some chat items similarly in soup items i need to display some soup items. While selecting ...
0 votes
0 answers
315 views
MailCore2 works fine with yahoo Accounts to fetch Emails but not with Gmail
Hey guyz help me to get rid of the problem through which I got stuck when tried to use MailCore to fetch emails from the gmail Account(My own gmail acc with proper credentials) I got the following ...
1 vote
0 answers
182 views
Apple Mach-O linker exits error code 1 (possibly a failed assert)
Has anyone had any experience with this crash from the XCode 4.2 linker: Command /Developer/usr/bin/llvm-g++-4.2 failed with exit code 1 No other information was generated, even with -v verbose ...
0 votes
0 answers
73 views
It is asking me to insert a semicolon after the prototype, but if I do I get an expected identifier error?
Xcode asks me to insert a semicolon after launchoptions but when I do is says that I need an Expected identifier. - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(...
0 votes
1 answer
335 views
NSTableColumn in NSOutlineView: how to size columns to fit on expand/collapse?
[Using Xcode 4.2 on Snow Leopard. OSX, not iOS] In IB, I created an outline view, and set up a view controller to be it's data source. When I expand/collapse a row, the 1st column resizes for ...
0 votes
3 answers
227 views
iPhone: sqlite db open is not working
I am new to iOS sqlite. I am working on xcode 4.2. Here is my code: .h file #import <UIKit/UIKit.h> #import </usr/include/sqlite3.h> @interface RpTestViewController : UIViewController { ...
1 vote
1 answer
278 views
XCode 4.2 crash on multiple targets setup
I duplicated a target and modified the corresponding property list file. Added a preprocessor macro that helps build the duplicated target from the same source files. But XCode 4.2 keeps crashing ...