Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 02-01-2011, 09:50 AM   #1 (permalink)
Registered Member
 
Join Date: Dec 2010
Posts: 293
samtakoy is on a distinguished road
Default String completion in Xcode?

Hi,

Does Xcode have a non-code-aware string completion feature that simply cycles through the available strings with the same starting letters. Like Meta-/ in Emacs?

Thanks!

Sam
samtakoy is offline   Reply With Quote
Old 02-04-2011, 07:08 PM   #2 (permalink)
Registered Member
 
Join Date: Dec 2010
Posts: 293
samtakoy is on a distinguished road
Default

Hi,

Not available, I gather?

Thanks!

Sam
samtakoy is offline   Reply With Quote
Old 02-05-2011, 12:48 AM   #3 (permalink)
Scan Me !
 
MozyMac's Avatar
 
Join Date: Nov 2009
Posts: 608
MozyMac is on a distinguished road
Send a message via AIM to MozyMac Send a message via MSN to MozyMac Send a message via Yahoo to MozyMac
Default

if you mean like:

I declare a string called xyz, then later at a place where i should put a string and i write x, it will complete to xyz.
MozyMac is offline   Reply With Quote
Old 01-26-2012, 10:28 AM   #4 (permalink)
Registered Member
 
Join Date: Dec 2010
Posts: 293
samtakoy is on a distinguished road
Default

Quote:
Originally Posted by samtakoy View Post
Hi,

Not available, I gather?

Thanks!

Sam
Still not available?
samtakoy is offline   Reply With Quote
Old 01-26-2012, 02:31 PM   #5 (permalink)
Emphasizing Fundamentals
 
BrianSlick's Avatar
 
Join Date: Jul 2009
Location: NoVA / DC Area
Age: 36
Posts: 7,990
BrianSlick has a spectacular aura about
Default

What are you specifically wanting to do, and how would you define what an "available" string is?
__________________
BriTer Ideas LLC - Professional iOS App Development. Available for hire.

SlickShopper 2 | Free NSLog utility | Leave a PayPal donation.

Are you a newbie? Things you should read:
Definitive Guide To Properties | UITableView Series | Guide To Troubleshooting | Model Object Overview

Do you sit at a desk all day? Walk instead! Follow along with my treadmill desk adventures.
BrianSlick is offline   Reply With Quote
Old 01-26-2012, 09:30 PM   #6 (permalink)
Registered Member
 
Join Date: Dec 2010
Posts: 293
samtakoy is on a distinguished road
Default

Quote:
Originally Posted by BrianSlick View Post
What are you specifically wanting to do, and how would you define what an "available" string is?
Any string in the project. This feature is available in Eclipse and is pretty well defined.
samtakoy is offline   Reply With Quote
Old 01-26-2012, 09:32 PM   #7 (permalink)
Emphasizing Fundamentals
 
BrianSlick's Avatar
 
Join Date: Jul 2009
Location: NoVA / DC Area
Age: 36
Posts: 7,990
BrianSlick has a spectacular aura about
Default

I'm not familiar with Eclipse, so humor me and be specific. Are you telling me that while typing in file1.m that you will have handy access to a string defined in unrelated file253.m?

And you answered the second question without answering the first. What is it that you are wanting to do?
__________________
BriTer Ideas LLC - Professional iOS App Development. Available for hire.

SlickShopper 2 | Free NSLog utility | Leave a PayPal donation.

Are you a newbie? Things you should read:
Definitive Guide To Properties | UITableView Series | Guide To Troubleshooting | Model Object Overview

Do you sit at a desk all day? Walk instead! Follow along with my treadmill desk adventures.
BrianSlick is offline   Reply With Quote
Old 01-26-2012, 10:28 PM   #8 (permalink)
Registered Member
 
Join Date: Dec 2010
Posts: 293
samtakoy is on a distinguished road
Default

Quote:
Originally Posted by BrianSlick View Post
I'm not familiar with Eclipse, so humor me and be specific. Are you telling me that while typing in file1.m that you will have handy access to a string defined in unrelated file253.m?

And you answered the second question without answering the first. What is it that you are wanting to do?
The answer to the first question in this post is typically "yes", but some people may prefer greater granularity

What I want is this: If I type "pers" and repeatedly press a special key combo, the IDE cycles through all strings in *.m in the current project that start with "pers". Emacs and Eclipse users usually rely on this feature quite heavily.
samtakoy is offline   Reply With Quote
Old 01-27-2012, 11:31 AM   #9 (permalink)
Emphasizing Fundamentals
 
BrianSlick's Avatar
 
Join Date: Jul 2009
Location: NoVA / DC Area
Age: 36
Posts: 7,990
BrianSlick has a spectacular aura about
Default

Make a Constants.h file. #define some constants there. #import that file everywhere else. Done.
__________________
BriTer Ideas LLC - Professional iOS App Development. Available for hire.

SlickShopper 2 | Free NSLog utility | Leave a PayPal donation.

Are you a newbie? Things you should read:
Definitive Guide To Properties | UITableView Series | Guide To Troubleshooting | Model Object Overview

Do you sit at a desk all day? Walk instead! Follow along with my treadmill desk adventures.
BrianSlick is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 362
15 members and 347 guests
7twenty7, blasterbr, Clouds, dre, EvilElf, iAppDeveloper, jeroenkeij, jimmyon122, Mah6447, Morrisone, n00b, pungs, Sami Gh, stanny, toon4413
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,667
Threads: 94,121
Posts: 402,900
Top Poster: BrianSlick (7,990)
Welcome to our newest member, host number one
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 03:46 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0