Questions tagged [appcode]

AppCode is a smart IDE for iOS/macOS development by JetBrains

Some facts about JetBrains AppCode:

  1. An Objective-C/C/C++/Swift IDE with a really smart code editor
  2. Runs on macOS only
  3. Can open and create Xcode projects
  4. Can run your app on iOS device or in simulator
  5. Has a debugger with evaluate expression
  6. Can refactor Swift, Objective-C and C/C++ code
  7. Analyses code on the fly and offers quick-fix suggestions
  8. Supports Subversion, Git, Perforce and CVS version control systems
  9. Oh, and a fast & intelligent code completion, of course!
229 questions
0
votes
1 answer

What causes "Method 'foo' is defined in class 'Bar' and is not visible" in AppCode

Given the following method: - (void)sendEvent:(UIEvent *)event { NSSet *allTouches = [event allTouches]; if ([allTouches count] > 0) { _lastUserTouchTime = [[NSDate date] timeIntervalSince1970]; } [super…
David Nedrow
  • 1,098
  • 1
  • 9
  • 26
0
votes
1 answer

How can I custom getter templates in AppCode

AppCode can generate getter code like this: - (UIView *)leftAnchorView { return _leftAnchorView; } In the Preferences -> Editor -> File and Code Templates -> Code Tab, I found the getter templates is #if ($IVAR_IS_AVAILABLE ==…
S.Captain
  • 167
  • 1
  • 9
0
votes
0 answers

AppCode Extract Function Issues

I'm a student and have obtained a year free subscription to AppCode (via their student policies). I downloaded it to use it in conjunction with Xcode, to refactor C++ code. I'm noticing issues with the extract function feature. I've tried it a…
JosephTLyons
  • 2,075
  • 16
  • 39
0
votes
1 answer

autocomplete gets in the way on method signature

errr ... dumb question but i could not find the appropriate settings for this. When editing code, trying to add a new method in class , as shown below : Line 355 shows my intended input. When typing it (as shown on line 360), Appcode suggests a…
YvesLeBorg
  • 9,070
  • 8
  • 35
  • 48
0
votes
1 answer

How do I clear mismatched parameters: nullable and FooType are not compatible warnings in AppCode

This may be an AppCode question, since Xcode doesn't mark this particular scenario. I see this error in various places in AppCode: Parameter type mismatch: Types 'nullable' and 'FooType' are not compatible where FooType can be any type. Here's a…
David Nedrow
  • 1,098
  • 1
  • 9
  • 26
0
votes
1 answer

AppCode chained call indents?

Is there any way to get AppCode to indent chained calls? For example it currently formats this; Test.writeString("test", value: "Test") .then { print("1") } .always { print("1") } I'd like it to format to; Test.writeString("test", value:…
XeroxDucati
  • 5,130
  • 2
  • 37
  • 66
0
votes
1 answer

AppCode won't highlight errors

I'm trying out AppCode for a simple Swift iOS application, and the first thing I noticed is it won't highlight any error whatsoever. The build fails with simple errors like use of unresolved identifier 'param', but it won't highlight to let me know…
Christopher Francisco
  • 15,672
  • 28
  • 94
  • 206
0
votes
2 answers

Include a #pragma diagnostic ignored to a #define

I want to make a small define for my project. That define should just execute a code if its above an ios version. It looks like this #define IF_OS_8_OR_LATER(CODE) \ if([[[UIDevice currentDevice] systemVersion] floatValue] >= 8.0) \ { \ …
Martin Mlostek
  • 2,755
  • 1
  • 28
  • 57
0
votes
1 answer

Enabling whole module optimization in AppCode?

How can I enable whole module optimization in AppCode? In XCode 7, whole module optimization can be enabled in the build settings. I'm looking for the equivalent settings menu in AppCode.
rmtheis
  • 5,992
  • 12
  • 61
  • 78
0
votes
1 answer

iOS Simulator fails every time after building and starting app second time. How to fix?

I've started to learn iOS development. And I use AppCode and Swift. After starting AppCode first time everything is OK. But when I try to build and start project again this window appears: And then project is successfully built and this message…
Semyon Tikhonenko
  • 3,872
  • 6
  • 36
  • 61
0
votes
1 answer

Debugging a curses.h application? (AppCode)

I've been using the JetBrains IDE AppCode for a few years now, but I've never had the need to pass command line arguments to the debugger before. As you probably know, in order to link the compiler with the necessary curses files, you have to…
anthony
  • 23
  • 5
0
votes
1 answer

Appcode building iOS universal framework

I decided to use the Appcode for 30days. (trial) I might buy this product because of powerful features. However, I have a question about building universal framework. Precisely, the Run script for the build phases. In Xcode, I could add the Run…
0
votes
1 answer

Why different outputs come in AppCode from Terminal when using fork()?

When I try to run an example code about fork() I get different output in AppCode than in terminal. This is one of the functions I tried to use /* * fork3 - Three consective forks * Parent and child can continue forking */ void fork3() { …
Haythm
  • 1
  • 1
0
votes
1 answer

Is there a way to hide warnings within cocoapods in AppCode?

Is there a way to hide warnings within cocoapods in the AppCode build log? I like seeing warnings in my code but the massive number of warnings that result from building my included cocoapods make it hard to see my warnings. It would be nice if I…
PICyourBrain
  • 9,976
  • 26
  • 91
  • 136
0
votes
1 answer

Unknown pod name

In AppCode, via CocoaPods, I am trying to install the pod QuickDialog In the Podfile, I have: pod "QuickDialog" When I go to install, I get an error saying Unknown pod name The Message window shows: /usr/bin/ruby…
Al Lelopath
  • 6,448
  • 13
  • 82
  • 139